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

Moving Slope Rate of Change - MetaTrader 5 Script | Trading Script Download - MT4/MT5 Resources

author EAcpu | 2 reads | 0 comments |

Moving slope rate of change - indicator for MetaTrader 5

William Rafter describes the moving slope rate in his article "Finding the Superior Signal—A Hybrid of Two Moving Functions" (September 2005). This is the MSROC as originally described.

Rather than just using price changes to calculate a slope (like a rate of change, or "ROC"), the slope of a least squares line is used to calculate MSROC. This produces smoother results than a regular ROC, and the number of false signals is significantly reduced compared to the ROC itself. In addition to just showing the slope, in this version there is a colored area that helps identify the moment when the zero level is crossed so that it can be used to determine the long-term trend direction.

Initially only closing prices are used (the same is true in ROC), but for the sake of experimentation (since we also have the opportunity to use longer periods), in our version we can use all common prices to be able to check which price performs best in certain markets and calculate the period length.

Moving slope rate of change - indicator for MetaTrader 5


Attachment download

📎 moving_slope_rate_of_change.mq5 (8.31 KB)

Source: MQL5 #19840

Verification code Refresh