Proszę,
W alert EA, kiedy piszę:
if (GetIndior (handle1,0,0) gt; GetIndior (handle2,0,0)), otrzymuję Alerty i
if ((GetIndior (handle1,0,0) gt; GetIndior (handle2,0,0)) (GetIndior (handle1,0,1) lt; GetIndior (handle2,0,1))), a nie żaden alert.
Oczywiście, że mam :
handle1 = iMA (NULL, NULL, 10,0, MODE_SMA, PRICE_CLOSE);
handle2 = iMA (NULL, NULL, 20,0, MODE_SMA, PRICE_CLOSE);
Jaki jest powód ?
Z góry dziękuję.
Jo