CANDLE LEVELS [PRO]

I've made this indicator extremely customizable:
⚡Each level has 2 labels: 1 "at level" and 1 "at right", each label and price can be disabled
⚡Each label has its own input for label padding. The "at right" label padding input allows you to zoom in and out of a chart without the labels moving along their respective axis
⚡Each label's text can be customized via an "input.string" code base
⚡Each level's label can be changed via a plot style setting to determine if the label is centered with it's respective level or rides along the top of it
⚡Significant figures input allows you to round price up or down
⚡A "bias EMA" tool that color codes the candles and price line to show you where price is in relation to the 21 EMA (or another value that you pick). As a result, this can be an effective visual to help reduce cognitive load
⚡A "fill level" where color is determined by price opening above or below the previous day's close
⚡A "use current close" setting that's great to use in pre-market as it shows you where price is in relation to the previous days' close
----------------------------------------------------------------------------------------------------------------------
🙏Thanks to (c)satymahajan for the inspiration behind the ATR "previous close" and "bias candle" code base
🙏Thanks to my mentor (c)SimpleCryptoLife for the libraries and extensive code to help create this indicator
"What it does: calc_bars_count (const int) Limits the initial calculation of a script to the last number of bars specified. When specified, a "Calculated bars" field will be included in the "Calculation" section of the script's "Settings/Inputs" tab. Optional. The default is 0, in which case the script executes on all available bars."
In other words, it should help to improve load time of the indicator. You'll find the input at the bottom of the Inputs tab.
-added alerts for the previous day's high/low
-added alerts for the high/low from 2 days ago
-I had to comment out the "bias candle" section at the bottom of the script due to too many output series 😀 If you like the candle bias then you can uncomment it and comment out the highlight state section in the previous day's high "on chart" block of script (or comment out/delete other parts of script that you know produce an output series)
-i had to comment out the 5 and 10m levels to accommodate them
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.
⚡ Pro scripts: tradingview.com/script/hESCvPuH-Predictive-Volume-MTF-Pro/
🙋♂️ Get help with Pinescript: simplecrypto.life/get-help-with-pinescript
Penafian
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.
⚡ Pro scripts: tradingview.com/script/hESCvPuH-Predictive-Volume-MTF-Pro/
🙋♂️ Get help with Pinescript: simplecrypto.life/get-help-with-pinescript