Join our fan page
Exp_JMASlope - expert for MetaTrader 5
- Views:
- 4486
- Rating:
- Published:
- 2013.02.18 13:28
- Updated:
- 2023.03.29 13:42
- Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
This trading system is drawn on the basis of the JMASlope indicator. A signal to perform a deal is formed at bar closing.
Depending on input parameter value there is a choice of one of two algorithms of trading system:
input AlgMode Mode=breakdown; //an algorithm to enter the market
In the first algorithm the signal to perform a deal is formed if there was a breakthrough of the zero line. In the second algorithm the signal is formed when the oscillator changes its direction.
Place JMASlope.ex5 compiled file to the terminal_data_folder\MQL5\Indicators.
Default Expert Advisor's input parameters have been used during the tests shown below. Stop Loss and Take Profit have not been used during the tests.
Fig. 1. The instances of history of deals in the chart.
Testing results for 2011 at XAUUSD H4:
Fig. 2. Chart of testing results
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/1524
The channel is drawn using Gauss Transform
MPC - Measure Popular CandlesMPC is a script which measures (searches) the most frequently occurring candlesticks
The indicator which defines the moments when the market becomes asymmetric and there are strong trend changes
OneSideGaussianMAThe Moving Average drawn on the basis of Gauss algorithm