16255
by dmnik
Hello! Convert the script to the MT4 indicator pliz and you need the on/off button Thank you!
The script places pending orders when the price reaches the specified level.
Example:
You want to set a SellStop at 1.2000 but only when the price hits 1.2500. At the same time, the current price is below 1.2000. At the moment, this cannot be done in the MT4 terminal by standard means. You throw the script at the price of 1.2500 (approximately, because after that you can shift the line and thus set the moment for opening orders). The script will set the line with the inscription Bid=1.2500 SellStop 1.2000 at the price where you threw it. This means that when the price reaches the level of 1.2500, the script will automatically set SellStop to 1.2000, with the stop loss and take profit specified in the parameters. In addition to a stop order, the script can set a limit order in the same way. After the script is set, all lines can be moved with the mouse and the unnecessary ones can be deleted in order to set it to the desired prices.
If you drop the script above the price, it will place SellStop and BuyLimit orders. If it is lower than the current price, then the script will place BuyStop and SellLimit.
Who knows others is wise
Who knows himself is enlightened