Can anyone speculate on this issue?
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
The Below Indicator has a bug I've been working on for a few days. When you attach it to a chart, Buf_1[] is not drawn (on any bars below bar 0), but it starts drawing from candle 0 once you attach it to a chart. Interestingly enough, if you attach it to a chart and then compile it the Buf_1 values appear, but not on the initial attachment to the chart (which makes me think its something in init).
You will see below I use the iMAOnArray function and when I try to use a different methodology for calculating Buf_1[] it works fine. Anyway I'm led to believe that it is some combination of init and iMAOnArray and am seeking some help.
I've included comments on where I believe problems may be (I've already tried ArraySetAsSeries with no luck)
Thanks!