Join our fan page
- Views:
- 5600
- Rating:
- Published:
- 2011.08.03 16:29
- Updated:
- 2016.11.22 07:32
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
A Lime candle of BrainTrend2 indicator is a signal to open a long position, a Magenta candle is a signal to open a short position. The signals are formed on the completed bars (candles).
The following input parameters were used when testing:
- ATR period: 7;
- Timeframe: H4;
- Symbol: AUDUSD;
- Lot: 0.1;
- Stop Loss, Take Profit, Trailing: not used.
To use this module of trade signals in MQL5 Wizard, the braintrend2signal.mqh must be placed to terminal_data_folder\MQL5\Include\Expert\Signal\MySignals.
The module uses the BrainTrend2 indicator, the BrainTrend2.mq5 must be placed to terminal_data_folder\MQL5\Indicators.
Example of trades on the chart
History backtesting results starting from 2011:
History backtesting results
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/415

A blue candle of BrainTrend1 indicator is a signal to open a long position, a red candle is a signal to open a short position.

Aroon Oscillator predicts price changes from trend to flat market conditions.

The "Support and Resistance" indicator shows the support and resistance levels using the Fractals indicator by Bill Williams.

The indicator that demonstrates the power of price changes entropy.