Hello,
How could I test that there is enough historical data available to compute these 2 lines for example ?
MyMAFast = Average[40](close)
MyMASlow = Average[200](close)
Thank you
Only post in the language of the forumthat you are posting in. For example English only in the English speaking forums and French only in the French speaking forums.
Thank you 🙂
I moved it from the French forum.
Check BarIndex:
If Barindex >= 200 Then
MyMAFast = Average[40](close)
MyMASlow = Average[200](close)
Endif
Oups, sorry for the language…
Thank you for the tips about barindex robertogozzi
Topic solved.