Watch how to download trading robots for free
Find us on Twitter!
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:
4064
Rating:
(27)
Published:
2018.03.01 11:25
Updated:
2018.06.27 12:53
VR---ZVER v.2.mq5 (62.22 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

This code is a further development of the first VR---ZVER version.

The EA uses three iMAs (Moving Average, MA), one iStochastic (Stochastic Oscillator) and one iRSI (RSI, Relative Strength Index). Positions are opened by market, as well as Buy Stop and Sell Stop pending orders are placed.


Input Parameters

  • Main Settings - main trading settings:
    • Lots (if <="0.0" -> use "Risk") - position volume; if the value is less than or equal to zero, lot will be calculated using the "Risk" parameter;
    • Stop Loss (use only > 0)(in pips) - stop loss value;
    • Take Profit (use only > 0) (in pips) - take profit value;
    • Risk in percent for a deal - risk value;
    • Lock - locking a trade;
    • Building of a position - increasing position volume;
    • Lot factor for pending orders - lot multiplier for pending orders;
    • Breakeven (in pips) - breakeven level.
  • MA fast - "fast" Moving Average parameters:
    • Use MA fast;
    • MA fast: averaging period;
    • MA fast: horizontal shift;
    • MA fast: smoothing type;
    • MA fast: type of price.
  • MA slow - "slow" Moving Average parameters:
    • MA slow: averaging period;
    • MA slow: horizontal shift;
    • MA fast: smoothing type;
    • MA fast: type of price.
  • MA very slow - "very slow" Moving Average parameters:
    • MA very slow: averaging period;
    • MA very slow: horizontal shift;
    • MA very slow: smoothing type;
    • MA very slow: type of price.
  • Stochastic Oscillator parameters:
    • Use Stochastic Oscillator;
    • Stochastic: K-period (number of bars for calculations);
    • Stochastic: D-period (period of first smoothing);
    • Stochastic: final smoothing;
    • Stochastic: UP level;
    • Stochastic: DOWN level.
  • Relative Strength Index indicator parameters:
    • Use RSI;
    • RSI: averaging period;
    • RSI: UP level;
    • RSI: DOWN level;
    • magic number.

The following parameters have been added in version 2:

  • Trailing stop
  • A separate flag for allowing/prohibiting BUY positions
  • A separate flag for allowing/prohibiting SELL positions

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

LacusTstopandBE LacusTstopandBE

An assistant EA for manual trading. Sets Stop loss, Take profit, moves positions to breakeven and applies trailing.

SAR index based on MA SAR index based on MA

The SAR indicator calculated based on the iMA (Moving Average, MA) indicator values.

Advanced Fractals Advanced Fractals

Unlike the standard Fractals, this indicator allows searching and displaying on a chart fractals with the user defined dimensions.

Marking of candlesticks larger than the specified size Marking of candlesticks larger than the specified size

The indicator marks on a price chart candlesticks, which are larger than the specified size. If the candlestick size exceeds the value specified in the indicator parameters, the indicator can show an alert message.