PROTECTED SOURCE SCRIPT
已更新

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

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。