Guarda come scaricare robot di trading gratuitamente
Ci trovi su Facebook!
Unisciti alla nostra fan page
Script interessante?
Pubblica il link!
lasciare che altri lo valutino
Ti è piaciuto lo script? Provalo nel Terminale MetaTrader 5
Visualizzazioni:
5920
Valutazioni:
(32)
Pubblicato:
2012.09.21 09:19
Aggiornato:
2016.11.22 07:32
Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance

The script is developed for reversing open positions with fixed Stop Loss and Take Profit values in points from the current price and the volume depending on the reversed position. The size of a reversed position is limited by the half of the maximum allowable deal volume for the currency pair.

Input parameters:

//+----------------------------------------------+
//| INPUT PARAMETERS OF THE SCRIPT               |
//+----------------------------------------------+
input double VOLUME=1.0;    // The volume of the final position in relation to the initial
input int  DEVIATION=10;    // Price deviation
input int  STOPLOSS=300;    // Stop loss in points from the current price
input int  TAKEPROFIT=800;  // Take profit in points from the current price
input uint RTOTAL=4;        // The number of repeats on unsuccessful transactions
input uint SLEEPTIME=1;     // Pause time in seconds between repeats

Tradotto dal russo da MetaQuotes Ltd.
Codice originale https://www.mql5.com/ru/code/997

AverageSizeBar AverageSizeBar

The average candle size for a certain period.

BrakeMA BrakeMA

Simple trend indicator displayed in the form of NRTR.

ClosePosition ClosePosition

The script is designed for closing open positions.

Moving Average: 3-Pole Butterworth Filter Moving Average: 3-Pole Butterworth Filter

Moving Average: 3-Pole Butterworth Filter. The indicator is based on the code of Witold Wozniak.