Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2011.08.03 16:13
Libraries

Module of Trade Signals, based on BrainTrend1 indicator - library for MetaTrader 5

| English Русский 中文 Español Deutsch 日本語 Português

Views:
1865
Rating:
votes: 17
\MQL5\Indicators\\MQL5\Include\Expert\Signal\MySignals\\MQL5\Experts\

The original version of BrainTrend1 has 4 parameters, but only 2 of them are used in this module of trade signals (ATR period and Stochastic period). For two other input parameters (MA_Method=MODE_SMA, STO_Price=STO_LOWHIGH) the default values are used.

A blue candle is a signal to open a long position, a red 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;
  • Stochastic period: 9;
  • Timeframe: H4;
  • Symbol: GBPUSD;
  • Lot: 0.1;
  • Stop Loss, Take Profit, Trailing: not used.

To use this module of trade signals in MQL5 Wizard, the braintrendsignal.mqh must be placed to terminal_data_folder\MQL5\Include\Expert\Signal\MySignals.

The module uses the BrainTrend indicator, the BrainTrend1.mq5 must be placed to terminal_data_folder\MQL5\Indicators.

Example of trades on the chart

Example of trades on the chart

History backtesting results starting from 2011:

History backtesting results

History backtesting results

Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/413

Aroon Oscillator Aroon Oscillator

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

Aroon Aroon

Aroon indicator created by Tushar Chande indicates if a long-term trend is going to an end or just pausing a little before a new movement.

Module of Trade Signals, based on BrainTrend2 indicator Module of Trade Signals, based on BrainTrend2 indicator

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.

Support and Resistance Support and Resistance

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