OPEN-SOURCE SCRIPT

Trending/Ranging

By JonathanMcFall
This script is a useful tool to use to identify the current market. It includes three other indicators:
1. ATR (combined with a SMA of the ATR)
2. ADX
3. RSI
It allows you to filter for when the market is trending vs. when the market is ranging by using any of the three indicators. You can also combine them to find extremely good trends to trade, or if you're a channel trader, identify when you wouldn't want to trade. This indicator also includes a time frame setting to allow you to ZOOM OUT and explore the long term trend of the security you are trading. I highly recommend using this indicator as a filter for when you enter a trade or not depending on the system you like to trade.
ADXATRmarketanalysisrangingTrend Analysistrending

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?

Disclaimer