|
Shinigami,
Thanks for your work.
What I'm looking is simple EA.
Sell - at 21:00 close at 22:00
Buy - at 22:00 close at 23:00
Sell - at 03:00 close at 04:00
Buy - at 07:00 close at 08:00
Sell - at 08:00 close at 09:00.
Trailing Stop will be OK.
Something like that:
if ((Hour() == StartHour1+GMT.Shift)&& (Minute() <= 10)) {OpenPositionSell();}
if ((Hour() == End_Hour1+GMT.Shift)) {ClosePosition();}
if ((Hour() == StartHour3+GMT.Shift)&& (Minute() <= 10)) {OpenPositionSell();}
if ((Hour() == End_Hour3+GMT.Shift)) {ClosePosition();}
if ((Hour() == StartHour2+GMT.Shift)&& (Minute() <= 10)) {OpenPositionBuy();}
if ((Hour() == End_Hour2+GMT.Shift)) {ClosePosition();}
etc.....
TrailingStop;
B.
|