Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
I am getting the same error even though I have the days loaded set higher than avg calculation, still doesn't work. Tried 1min and 5min chart and different symbols, chart wont load any data at all. Totally blank????? Any help appreciated..
olobay
Montreal
Experience: Intermediate
Platform: MultiCharts
Broker: DeepDiscountTrading.com
Trading: CL
Posts: 364 since Jul 2011
It works for me in Multicharts with the above code.
ABCTG
Posts: 2,431 since Apr 2013
Thanks Given: 481
Thanks Received: 1,623
planetmoto,
from glancing at the code there are probably two common reason why the indicator might not display a result or raise an error message.
"Not displaying results" could be caused by too little data present on the chart and you should be able to overcome this by making sure that you have a few more days present on the chart than what you specified with the DaysToAvg input. The indicator will not display results on the initial DaysToAvg number of calculation days. A quick test if this is the problem could fpr example be to load 40 days back (this should rule out the possibility that the actual number of days on the chart is too low due to weekends/holidays) and use a DaysToAvg input of 20.
If the indicator raises an error message along the lines of "array bounds" (the actual error message will depend between TS and MC) this could be caused by the code trying to store values out of the bounds of the array.
The code "Arrays: VolArray[22,466] (0); // Note max bars of 405 ( 1 minute 9:30 - 16:15 ) " set's the array to a specific size. Applying the indicator to a 1 minute chart of the full session might cause the error simply because the array is too small to handle the amount of data. The same error message could be caused by using a DaysToAvg input above 22. The code appears to be designed to be used with the DaysToAvg not higher than 20 while being applied to the intraday floor session.
What symbol and chart settings did you apply the code to exactly and what inputs did you use?
Regards,
ABCTG
planetmoto
I am getting the same error even though I have the days loaded set higher than avg calculation, still doesn't work. Tried 1min and 5min chart and different symbols, chart wont load any data at all. Totally blank????? Any help appreciated..