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:
4486
Rating:
(22)
Published:
2013.02.18 13:28
Updated:
2023.03.29 13:42
\MQL5\Include\ \MQL5\Indicators\
jmaslope.mq5 (7.43 KB) view
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.

Fig. 1. The instances of history of deals in the chart.

Testing results for 2011 at XAUUSD H4:

Fig. 2. Chart of testing results

Fig. 2. Chart of testing results

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

Support-Resistance Indicator Support-Resistance Indicator

The channel is drawn using Gauss Transform

MPC - Measure Popular Candles MPC - Measure Popular Candles

MPC is a script which measures (searches) the most frequently occurring candlesticks

The asymmetry indicator The asymmetry indicator

The indicator which defines the moments when the market becomes asymmetric and there are strong trend changes

OneSideGaussianMA OneSideGaussianMA

The Moving Average drawn on the basis of Gauss algorithm