Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal


OpenSellStopLimitOrder - script for MetaTrader 5

| English Русский 中文 Español Deutsch 日本語 Português

votes: 15
2017.05.29 14:11

A script for placing a SellStop Limit order.

Script input parameters:

//| SCRIPT INPUT PARAMETERS                      |
input double  MM=0.1;       // Money Management
input int  DEVIATION=10;    // Price deviation
input uint  LEVEL=300;      // Distance to place the order in points
input uint  STOPLEVEL=150;  // Distance for Stop Limit in points
input uint  STOPLOSS=100;   // 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 Software Corp.
Original code:

OpenBuyStopLimitOrder OpenBuyStopLimitOrder

A script for placing a BuyStop Limit order.

Exp_Stochastic_Chaikins_Volatility Exp_Stochastic_Chaikins_Volatility

The Exp_Stochastic_Chaikins_Volatility Expert Advisor based on the Stochastic_Chaikins_Volatility indicator color change.

OpenBuySellStopLimitOrders OpenBuySellStopLimitOrders

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


The Expert Advisor calculates the maximum lot size that can be used to open a position using the entire free margin available on the deposit.