Take the High (buy stop script) or the low (Sell Stop Script) of the previous candle.
Buy Stop script
When the price breaks to the high side 3 pips above the trigger candle's high a stop is placed 5 pips below the low of the same candle. Now this is the previous candle
Sell Stop Script
When the price breaks to the low side 3 pips below the trigger candles low a stop is placed 5 pips above the high of the same candle. now this is the previous candle
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Take the High (buy stop script) or the low (Sell Stop Script) of the previous candle.
Buy Stop script
When the price breaks to the high side 3 pips above the trigger candle's high a stop is placed 5 pips below the low of the same candle. Now this is the previous candle
Sell Stop Script
When the price breaks to the low side 3 pips below the trigger candles low a stop is placed 5 pips above the high of the same candle. now this is the previous candle