工作已完成
指定
At a specific server time (O), the EA memorizes the price of the pair in that moment.
A. When the price moves 5 pips UP. we call this point HIGH. And it is stored in a memory H.
If the price moves higher the NEW HIGHS should be stored in the same memory H replacing the before value.
B. The same in the other direction. When the price moves 5 pips DOWN. we call this point LOW. And it is stored in a memory L.
If the price moves lower the NEW LOWS should be stored in the same memory L replacing the before value.
Two orders should be setted up with the initial 5 pip movement:
1. BUY LIMIT with the following price: NEW HIGH minus the RETRACEMENT (memory H - retracement R)
2. SELL LIMIT with the following price: NEW LOW plus the RETRACEMENT (Memory L + retracement R)
Both orders with TP and SL.
The EA continues buying and selling the whole day until the specific close time (C) is reached. In that moment closes all the open positions and all the pending orders will be deleted.
It needs to have also the possibility to trade continue the 24 hours non stop except Sundays.
On Sundays it will NOT trade. Only from Monday to Friday.
The positions will close ONLY by TP and SL or when close time is reached.
Can be that we have ONE BUY and ONE SELL at the same time. Let them run until TP or SL is reached.
Never have TWO BUYS or TWO SELLS at the same time.