OPEN-SOURCE SCRIPT

NSDT Trend Candles

Updated
This script changes the color of the candles based on uptrend (green), downtrend (red), neutral/chop (yellow). It uses an ATR and Pivots to determine the direction, or lack of. Since all markets move differently and market volatility changes, you will need to adjust the settings to find a potential match for the day. It's pretty simple to use. Just enter in the direction of the trend and exit (or reverse) when the candle color changes.
Release Notes
Script was having an issue working on some crypto assets as mentioned by some users. The Pinecoders group found that I had reversed ATR Length and ATR Range references. The issue has been resolved.
Release Notes
Updated code to Pinescript V5.
ATRAverage True Range (ATR)Candlestick AnalysisCandlestick analysisPivot Pointsrangetrend

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?


ALL indicators, strategies and bots are included with Discord access.
NorthStarDayTrading.com/discord
youtube.com/shorts/fWFQE7uEHvU
Also on:

Disclaimer