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

TrendManager - MetaTrader 5 Script - MQL5 #21768 - MT4/MT5 Resources

author EAcpu | 2 reads | 0 comments |

TrendManager - indicator for MetaTrader 5

Trend indicator based on the difference between two moving averages. If the difference between the MAs is greater than the trigger threshold, the market is considered to be in trend:

 Input unit DV limit = 70 ; // Trigger threshold for price chart points

The indicator uses SmoothAlgorithms.mqh library class (copy it to \MQL5\Include). A detailed description of the class can be found in the article Average price series for intermediate calculations without using additional buffers .

TrendManager - indicator for MetaTrader 5

Figure 1. TrendManager indicator


Attachment download

📎 SmoothAlgorithms.mqh (130.2 KB)

📎 TrendManager.mq5 (16.18 KB)

Source: MQL5 #21768

Verification code Refresh