Auftrag beendet
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Spezifikation
H-L Magic
MQL4
Any currency pair
Any time frame
Slippage function
Spread function
Hours of the day for trading selection function
Trailing function
Money management function
Source code required
Variables:
· Lot Size for Buy 1
· Lot Size for Buy 2
· Lot Size for Buy 3
· Lot Size for Sell 1
· Lot Size for Sell 2
· Lot Size for Sell 3
· Take Profit for Buy = Open Price plus % (Variable input) of previous session H-L
· Take Profit for Sell = Open Price less % (Variable input) of previous session H-L
· Stop Loss for Buy = Open Price less % (Variable input) of previous session H-L
· Stop Loss for Sell = Open Price plus % (Variable input) of previous session H-L
LONG:
- three stop orders to open at start of session
- Stop order Buy 1, 2 & 3 = Previous High less %(Variable Input) of Previous H-L (Do not open if level is lower than current price)
- If low of current session goes lower than the low of the previous session, all three Buy stop orders must be adjusted lower with the difference between the previous low and the current low.
- This process must loop whilst the current low continues to move lower and lower
- Close all open and pending deals at the end of the session.
SHORT:
- three stop orders to open at start of session
- Stop order Sell 1, 2 & 3 = Previous Low plus %(Variable Input) of Previous H-L (Do not open if level is higher than current price)
- If high of current session goes higher than the high of the previous session, all three Sell stop orders must be adjusted higher with the difference between the current high and the previous high.
- This process must loop whilst the current high continues to move higher and higher.
- Close all open and pending deals at the end of the session.