PROTECTED SOURCE SCRIPT
Telah dikemas kini (JS) Trend Background

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!
Nota Keluaran
added ability to use SMA along with EMANota Keluaran
Added a highlight based on TTM SqueezeNota Keluaran
small formula changeNota Keluaran
Added a second color scheme, and also added ability to choose the squeeze setting to highlightSkrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya secara bebas dan tanpa apa-apa had – ketahui lebih di sini.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya secara bebas dan tanpa apa-apa had – ketahui lebih di sini.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.