Libraries: Module of Trade Signals, based on BrainTrend1 indicator

 

Module of Trade Signals, based on BrainTrend1 indicator:

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 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.

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.

Author: Aleksey

Example of trades on the chart