작업 종료됨
![](https://c.mql5.com/i/avatar/avatar_na2.png)
명시
I need a script or EA to:
* runs at a particular time: say hour (23) and Minute (57)
*Sleeps until activation time above.
Variables:
Start hour
Start minute
Finish Hour
Finish Minute
SL distance change
Remove SL: true/false
Notifications: true/false (sends notifications to MQID device to inform that the SLs have been removed, and then again for when the SLs have been replaced.)
and anything else you can think of?
************************
I have realised that you don't need to REMOVE the SL, you can make it very big instead. i.e. It might be easier, to:
if order = sell then, read current SL, add 200 pips to CURRENT SL to obtain the new SL... at finish time, remove 200pips from the new SL to get back to the original distance.
If order = buy then, read current SL, remove 200pips to current SL to obtain the new SL... at finish time, add back on the 200pips from the new SL to get back to the original distance.
************************
The EA/script MUST NOT interfere with the magic numbers associated with the orders that are being modified.
Thanks