Guarda come scaricare robot di trading gratuitamente
Ci trovi su Telegram!
Unisciti alla nostra fan page
Unisciti alla nostra fan page
Ti è piaciuto lo script? Provalo nel Terminale MetaTrader 5
- Visualizzazioni:
- 5497
- Valutazioni:
- Pubblicato:
- 2017.05.29 13:57
-
Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance
A script for placing two Buy and Sell Limit orders at an equal distance.
Script input parameters:
//+----------------------------------------------+ //| SCRIPT INPUT PARAMETERS | //+----------------------------------------------+ input double MM=0.1; // Money Management input int DEVIATION=10; // Price deviation input uint LEVEL=100; // Distance to place the order in points input uint STOPLOSS=300; // Stop Loss in points from the current price input uint TAKEPROFIT=800; // Take Profit in points from the current price input uint RTOTAL=4; // Number of attempts in case of unsuccessful trades input uint SLEEPTIME=1; // A pause between the attempts in seconds
Tradotto dal russo da MetaQuotes Ltd.
Codice originale https://www.mql5.com/ru/code/17980

A script for placing a SellStop order

A script for placing a BuyStop order

A script for placing two Buy and Sell Stop orders at an equal distance.

Original mathematical functions taken from different places, which either do not have analogues or perform much faster than alternative implementations