PROTECTED SOURCE SCRIPT
Aggiornato

(JS) Trend Background

4 448
This is something I have been using on my personal charts for a while. Trend is based on two EMAs - when the fast EMA is higher the BG is green, when the slow EMA is higher the BG is red. If you're green and momentum shifts towards red, the green darkens - and same in reverse with the red. I trade momentum so I don't like to trade against the trend, this BG is a nice and subtle way to keep you aware the of trend while also not clustering the chart and letting you see the candles and price action clearly. I have made the BG transparency, as well as the 2 EMA periods adjustable - hope you find it as nice as I have, enjoy!
Note di rilascio
added ability to use SMA along with EMA
Note di rilascio
Added a highlight based on TTM Squeeze
Note di rilascio
small formula change
Note di rilascio
Added a second color scheme, and also added ability to choose the squeeze setting to highlight

Declinazione di responsabilità

Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.