Hi guys i have this script , but why with iMAOnArray not create a chart till the end ? thankz
It actually draws but EMA with period 500 returns 0 value since it has no value in the first 500 bars because of its period
but in practice to have the same effect as iMA I have to rewrite the class, I fold better:
I want that when I go back I can still see the graph, for example if I go behind 100 candles, candle 1 will be 100 and 1500 will recalculate it from as iMA does, with iMAonArray it can't be done (because period in my case 1500 is border)so if i use iMA i can't just pass a double number , because Price_close or price_open are enumerator and not mix Price_close-Price_open , right? therefore i must rewrite a class , i understund good ?
thanks

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi guys i have this script , but why with iMAOnArray not create a chart till the end ? thankz