int OnInit() { //--- indicator buffers mapping SetIndexBuffer(0,SellGapBuffer,INDICATOR_DATA); ArraySetAsSeries(SellGapBuffer,true);
Thank you Ernst Van Der Merwe Indeed quite a silly mistake. Some times you just need another pair of eyes. Thanks again!
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
Hi All,
I'm experiencing quite strange behavior from the indicator I'm working on. While the calculations and the values in the indicator buffer are correct - the indicator itself plots absolutely fantastic values out of the blue.
The logs are showing that the buffer has values that are correct, however indicator plots them wrongly. The code is below if you'd like to try it out.