Join our fan page
- Views:
- 2796
- Rating:
- Published:
- 2018.06.18 16:14
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
A trading system based on the signals of indicator SilverTrend_CrazyChart. The signal is formed when a bar is closing if the indicator cloud color changes.
For the generated EA to operate correctly, the compiled 0>SilverTrend_CrazyChart.ex5 indicator file must be in the <terminal_data_directory\MQL5\Indicators folder.
Note that library file TradeAlgorithms.mqh is designed for using EAs with the brokers that offer a nonzero spread and a possibility to set Stop Loss and Take Profit simultaneously with opening a position. You can download the other versions of this library at Trade Algorithms.
The EA default input parameters were used in tests below. Stop Loss and Take Profit were not used in testing.
Fig. 1. Example trades on the chart
Test results for GBPJPY H4 over the year 2016:
Fig. 2. Testing results chart
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/20885

Trading based on indicator iStochastic (Stochastic Oscillator, Stochastic). Stop Loss, Take Profit, and Trailing of a position can be enabled/disabled.

The EA closes all positions if the equity reaches a certain ratio as related to the balance.

Two indicators iMA (Moving Average, MA) and one iRSI (Relative Strength Index, RSI). Many settings and optimization of trade signals formula.

Indicator OzFX_D1_IndAES_v1.0 with the timeframe selection option available in the input parameters.