Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

Momo_trades - MetaTrader 5 Expert | Forex Indicators Download - MT4/MT5 Resources

author EAcpu | 3 reads | 0 comments |

Momo_trades - expert for MetaTrader 5

The author of the idea : Rustamzhan Salizhanov , the author of the mq5 code : Balabashkakon .

Trading ideas: iMACD (Moving Average Convergence/Divergence, MACD) oscillator and trend indicator iMA (Moving Average, MA). The initial signal to open a buy position is the combination of MACD and MA:

Momo_trades - expert for MetaTrader 5

"MACD: the bar from which we take the value" = 2, "Moving Average: the bar from which we take the value" = 6.

The 11 MACD values ​​are copied into an array, starting from the index "MACD: Bar from which the values ​​were obtained". A search is then performed in the populated array to find the time when the MACD value first changes from negative to positive (index #6 is negative and index #5 is positive in the image above).

Also check the value of the MA indicator: the closing price of the bar "Moving Average: the bar from which we get the value" must be greater than the MA value on the same bar by the value of "Price offset between closing price and moving average".

Default settings are for EURJPY, H1.


Attachment download

📎 momo_trades.mq5 (50.84 KB)

Source: MQL5 #19573

Verification code Refresh