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

LinearRegSlope V2 - MetaTrader 5 Script | Forex Indicator Download - MT4/MT5 Resources

author EAcpu | 2 reads | 0 comments |

LinearRegSlope V2 - indicator for MetaTrader 5

LinearRegSlope V2 - indicator for MetaTrader 5

Moving Averages and Linear Regression Algorithms and Signal Lines. The smoothing type can be chosen from ten possible versions:

It should be noted that the Phase type parameters of different smoothing algorithms have completely different meanings. For JMA, it is an external phase variable that varies from -100 to +100. For T3, it is the smoothed ratio multiplied by 100 for better visualization; for VIDYA, it is the CMO oscillation period; for AMA, it is the slow EMA period. In other algorithms, these parameters do not affect smoothing. For AMA the fast EMA period is a fixed value, equal to 2 by default. For AMA, the ratio of raised powers is also equal to 2.

The indicator uses the SmoothAlgorithms.mqh library class (must be copied to the terminal data folder \MQL5\include). The use of the class "Average price series for intermediate calculations without using additional buffers" is described in detail in the article.

LinearRegSlope V2 - indicator for MetaTrader 5

LinearRegSlope V2 - indicator for MetaTrader 5


Attachment download

📎 colorlinearregslope_v2.mq5 (9.71 KB)

📎 linearregslope_v2.mq5 (10.43 KB)

📎 smoothalgorithms.mqh (133.8 KB)

Source: MQL5 #594

Verification code Refresh