OPEN-SOURCE SCRIPT

RAT Momentum Squeeze BETA

Updated
V1.0

MAs are a great tool to measure the market's momentum. I created this indicator to graphically depict bullish and banishment movements with the moving averages.


Using the 50, 100, & 200 day MA in conjunction with the RSI we are able to find great swing setups. This is used best on the 30min & up to the daily chart.


RAT Moving Average Cross Over BETA example
Release Notes
*Cleaned up code
Release Notes
V1.0 Release Notes

Added 9-day moving average with dynamic color based on 9-day RSI over/oversold levels

Added dynamic color changing to all moving averages based on the directional movement
Release Notes
Added conditional formatting to the colors on the 9-day moving average. The greener the color, the more overbought. The darker the red, the more oversold. I will tweak the colors of the cloud and line itself in a future update.
Release Notes
Exciting new update :)


-Added improved accuracy for the strength in the trend by calculating different RSI lengths
-Added bar overlays to help show the strength of the trend
-Improved colors on the 9 day MA overlay

update to RAT Momentum Squeeze BETA



Release Notes
Switched MAs to EMAs. After doing extensive backtesting I think EMAs are much more accurate for the purpose of this indicator
Release Notes
Changed SMAs to EMAs for improved accuracy
Release Notes
changed RSI sensitivity
movingMoving AveragesWeighted Moving Average (WMA)

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Also on:

Disclaimer