Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Views:
4838
Rating:
(21)
Published:
2017.05.29 13:56
MQL5 Freelance Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

A script for placing a SellLimit order.

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


Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/17977

OpenBuyLimitOrder OpenBuyLimitOrder

A script for placing a BuyLimit order

FILTER_ADX_AM_ch FILTER_ADX_AM_ch

A simple trend indicator based on the smoothed Average Directional Movement Index drawn in the main chart window.

OpenBuyStopOrder OpenBuyStopOrder

A script for placing a BuyStop order

OpenSellStopOrder OpenSellStopOrder

A script for placing a SellStop order