PROTECTED SOURCE SCRIPT
Actualizado

(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!
Notas de prensa
added ability to use SMA along with EMA
Notas de prensa
Added a highlight based on TTM Squeeze
Notas de prensa
small formula change
Notas de prensa
Added a second color scheme, and also added ability to choose the squeeze setting to highlight

Exención de responsabilidad

La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.