The signals are formed at completed bars. T3 indicator is used as a custom indicator for module of trade signals.
The downward crossover of moving average is a signal to open a long position, the upward crossover of moving average is a signal to open short position.
The following input parameters were used when testing:
To use this module of trade signals in MQL5 Wizard, the basedonindicatorexpertsignal.mqh and t3signal.mqh files must be placed to terminal_data_folder\MQL5\Include\Expert\MySignals. The module uses T3 indicator, the t3.mq5 file must be placed to terminal_data_folder\MQL5\Indicators. The smoothalgorithms.mqh library must be placed to terminal_data_folder\MQL5\Include.
Trade signals, based on T3 indicator
History backtesing results (01.01.2011, GBPUSD M15):
History backtesting of strategy, based on T3 indicator (GBPUSD, M15)
History backtesting of strategy, based on T3 indicator (GBPUSD, H1)
History backtesting of strategy, based on T3 indicator (GBPUSD, Daily)
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/447
T3 Moving Average is based on multiple exponential smoothing of price.MAMA
Mesa Adaptive Moving Average (MAMA) indicator.