OPEN-SOURCE SCRIPT

CANDLE LEVELS [PRO]

Обновлено
This indicator provides you with 55 levels! with labels to help you identify quickly where current price is in relation to the OPEN, CLOSE, HIGH OF DAY and LOW OF DAY to a respective level. Choose from levels as low as the 5 minute time frame all the way up to 200 days. All of the levels except the day's OPEN, HIGH OF DAY AND LOW OF DAY use the PREVIOUS time frame's level. In other words, when you're looking at the "1 DAY HIGH", that's actually the previous day's HIGH OF DAY. Whether you're a scalper on the lower time frames or a swing trader that mainly uses the 1 hour and above, these candle levels can be an invaluable source of support and resistance; in other words you'll often see price bounce off of a level (whether price is increasing or decreasing) once or multiple times and that could be an indication of a price's direction. Another way that you could utilize this indicator is to use it in confluence with other popular signals, such as an EMA crossover. For instance, you could watch as price rises above the 21 EMA all the while price is also crossing up and over the previous day's HIGH OF DAY with a relative volume that's double that of the previous week's average. These are just a few of some potential bullish signals that you could look for to go long on a trade using the candle levels provided.

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
Информация о релизе
-added the parameter calc_bars_count to the indicator function

"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 a highlight state for the previous day's high (whether price is above or below the level)
-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 fixed the alerts (sorry about that)
-i had to comment out the 5 and 10m levels to accommodate them
candlecolorhighofdaylevelsandzoneslowofdayPivot points and levelspreviousdayhighlowpreviousdaylevelsscalpersupportSupport and Resistance

Скрипт с открытым кодом

В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения. Вы можете добавить этот скрипт в избранное и использовать его на графике.

Хотите использовать этот скрипт на графике?


🆓 Free scripts:
⚡ Pro scripts: tradingview.com/script/hESCvPuH-Predictive-Volume-MTF-Pro/
🙋‍♂️ Get help with Pinescript: simplecrypto.life/get-help-with-pinescript
Мои профили:

Отказ от ответственности