andy1991 7 posts msg #158614 - Ignore andy1991 |
2/18/2022 12:36:07 PM
The results in this column don't match the ones on trading view.
My intention is to create a column that gives me the average dollar volume over the past 100 days.
Can anyone spot a mistake?
set{dollarvolume, CMA(Volume,100) * close}
and add column dollarvolume
|
push5280 201 posts msg #158615 - Ignore push5280 |
2/18/2022 12:52:38 PM
If I remember correctly if you don't have a real time data package with Trading View, the prices come from some other exchange rather than NASDAQ or NYSE (CBOE maybe). I remember reading that the price shown may differ from the actual price and I believe it is a 1 second delay. Stockfetcher has about a 15 min delay. Best to compare prices at about 4:30pm and see if they sync. If they don't, check another financial site and see where the discrepancy is.
|
andy1991 7 posts msg #158616 - Ignore andy1991 |
2/18/2022 12:58:25 PM
I have up to date data with trading view.
the numbers are quite a bit different so there's something else up
|
nibor100 1,044 posts msg #158618 - Ignore nibor100 |
2/18/2022 3:52:37 PM
1. An example of the numbers you are seeing for a particular named stock on both sites would be extremely helpful in trying to figure out your issue.
2. Is a custom moving average of Volume for 100 days times today's intraday close a built in feature in TradingView or something you wrote.
3.the filter you wrote in SF seems to take a 100 day moving average of Volume (that includes today's intraday volume at the moment the filter is run) and multiplies it by today's intraday close.
Seems like there are several possibilities for different info....
Thanks,
Ed S.
|