misterx
Nuovo forumer
Bravo robom funziona. Bastava aggiungere > oltre a =
Per chi volesse modificare il listato ho impostato l'uscita alle 17,32 deve sostituire le ultime stringhe con imput 17,10 con queste:
///////////////////////////////////////////////////////////////////////////////////////if (CompareTime(17, 10, 0) > 0) and (CompareTime(17,30, 0) < 0) thenCodice:
if (C > Miacondizione17) and c > stop then
EnterLong(NextBar, AtOpen);
endif; endif;
if T >= 1732 then ExitLong(Bar,AtClose);endif;
if (CompareTime(17, 10, 0) > 0) and (CompareTime(17, 30, 0) < 0) then
if (C < Miacondizione18) and c<stop then
EnterShort(NextBar, AtOpen);
endif;endif;
if T >= 1732 then ExitShort(Bar,AtClose);endif;
Basta aggiungere in fondo al codice:
if t>=1732 then
if positiondir=1 then
exitlong(bar,atclose);
endif;
if positiondir=-1 then
exitshort(bar,atclose);
endif;
endif;
Ciao