Watch how to download trading robots for free
Find us on Telegram!
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
Experts

JS_SISTEM_2 - expert for MetaTrader 5

Published by:
Vladimir Karputov
Views:
3070
Rating:
(17)
Published:
2018.03.01 09:36
JS_SISTEM_2.mq5 (52.82 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

The author of the idea: JS_Sergey, the mq5 code author: barabashkakvn.

The Expert Advisor uses three iMAs (Moving Average, MA), one iOsMA (Moving Average of Oscillator and one iRVI (Relative Vigor Index, RVI). The EA can use either a fixed lot or a lot calculated as a risk percent of free margin. It can apply Trailing Stop based on the High/Low of earlier bars. It only works on a new bar, i.e. at the moment of formation of a new bar.


Input Parameters

  • Trade setting - main trading settings:
    • The minimum balance. If less - then close the expert advisor - minimum allowable balance;
    • Lots (if "Lots" <=0.0 -> then the "Risk" parameter is used) - fixed lot value;
    • Stop Loss (in pips) - Stop Loss value;
    • Take Profit (in pips) - Take Profit value;
    • Risk in percent for a deal from a free margin (if "Lots" <=0.0) - risk per trade as percent of free margin;
    • Volatility (in bars) - the number of bars to search for High and Low;
    • magic number - Expert Advisor identifier.
  • Moving Average settings:
    • Minimum difference between Moving Average indicators - the minimum distance between indicators
    • Moving Average #1: averaging period
    • Moving Average #2: averaging period
    • Moving Average #3: averaging period
  • OsMA settings:
    • OsMA: period for Fast Moving Average
    • OsMA: period for Slow Moving Average
    • OsMA: averaging period for their difference
  • RVI settings:
    • RVI: averaging period
    • RVI max value
    • RVI min value
  • Trailing on shadows of bars - the trailing stop function based on bar shadows:
    • Trailing Shadows - enable/disable trailing based on shadows;
    • Timeframe - the timeframe of bars for the trailing function;
    • Indent from the shadow of the bar on which the stop loss is placed - additional indent.

An example of testing on EURUSD, H1, with the trailing stop based on M5 shadows:

JS_SISTEM_2

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

ColorSRoC ColorSRoC

The smoothed S-RoC indicator of the relative price increment by Fred Shutsman.

Cointegration Cointegration

The indicator calculates and displays a linear relationship between two or more financial symbols.

Martin for small deposits Martin for small deposits

Martingale based Expert Advisor specially designed for small deposits.

XDidi_Index_System_HTF XDidi_Index_System_HTF

Two "Didi Needles" indicators from different timeframes on one chart.