TradingView
NorthStarDayTrading
2 juil. 2021 23:22

NSDT Trend Candles 

Micro E-mini Nasdaq-100 Index Futures (Sep 2021)CME

Description

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.

Notes de version

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.

Notes de version

Updated code to Pinescript V5.
Commentaires
djmad
NorthStarDayTrading
@djmad, Thank you!
xiemingchao123
I like the design of this indicator very much. Your design is great, but I can’t understand the code and don’t know how it is calculated. I am a digital currency trader and I can see k on Ethereum and Bitcoin. The line changes, but only one color is displayed in other varieties no matter how I adjust the indicator. I plan to integrate your strategy into my trading system. Under your influence, I decided to start learning programming. I'm sorry that the content is translated by Google, there will be strange grammar.
Hope to hear from you.
NorthStarDayTrading
@xiemingchao123, This is ETHUSD on a 10 min chart. In your TradingView chart settings, remove the borders of the candles and the colors will show better.
xiemingchao123
xiemingchao123
I don’t know how to post pictures to the comment area, but try to switch to objects other than ETH and BTC, they only show green
NorthStarDayTrading
@xiemingchao123, I've asked PineCoders to take a look because it seems fine to me.
NorthStarDayTrading
Knofly
Amazing indicator! Is It possible to have an alarm for when the indicator change the color? Thanks
djmad
Looking very good, Thanks
no border and white wicks looks epic
Plus