PROTECTED SOURCE SCRIPT
Atualizado

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

Aviso legal

As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.