I hit problem when I implement the long ma like :
DEFPARAM preloadbars = 23000// Cumulating positions deactivated
MA20175 = Average[20175](close).
Back test is just nice. What is the problem ?
Maximum preLoad bars that can be set is 10000
Default is 200
Is there a way to compute MA20175 = Average[20175](close) ?
I’m sure that this long term period of a SMA could be calculated another way by using a superior TIMEFRAME, thus reducing a lot its period of calculation!!
calculated another way by using a superior TIMEFRAME
Yeah, so Nicolas means, for example …
Timeframe(1 hour)
MA20160 = Average[336](close)
Timeframe (1 mn)
If Close crosses over MA20160 Then
.... etc