OPEN-SOURCE SCRIPT
Aggiornato

BKLevels

1 388
This displays levels from a text input, levels from certain times on the previous day, and high/low/close from previous day. The levels are drawn for the date in the first line of the text input. Newlines are required between each level

Example text input:

Pine Script®
2024-12-17 SPY,606,5,1,Lower Hvol Range,FIRM SPY,611,1,1,Last 20K CBlock,FIRM SPY,600,2,1,Last 20K PBlock,FIRM SPX,6085,1,1,HvolC,FIRM SPX,6080,2,1,HvolP,FIRM SPX,6095,3,1,Upper PDVR,FIRM SPX,6060,3,1,Lower PDVR,FIRM


For each line, the format is <ticker>,<price>,<color#>,<line pixel width>,<description>,<line style>
For color, there are 9 possible user- configurable colors- so you can input numbers 1 through 9
For line style, the possible inputs are:
"FIRM" -> solid line
"SHORT_DASH" -> dotted line
"MEDIUM_DASH" -> dashed line
"LONG_DASH" -> dashed line
Note di rilascio
This displays levels from a text input, levels from certain times on the previous day, and high/low/close from previous day. The levels are drawn for the date in the first line of the text input. Newlines are required between each level

Example text input:

Pine Script®
2024-12-17 SPY,606,5,1,Lower Hvol Range,FIRM SPY,611,1,1,Last 20K CBlock,FIRM SPY,600,2,1,Last 20K PBlock,FIRM SPX,6085,1,1,HvolC,FIRM SPX,6080,2,1,HvolP,FIRM SPX,6095,3,1,Upper PDVR,FIRM SPX,6060,3,1,Lower PDVR,FIRM


For each line, the format is <ticker>,<price>,<color#>,<line pixel width>,<description>,<line style>
For color, there are 9 possible user- configurable colors- so you can input numbers 1 through 9
For line style, the possible inputs are:
"FIRM" -> solid line
"SHORT_DASH" -> dotted line
"MEDIUM_DASH" -> dashed line
"LONG_DASH" -> dashed line

Updated 17Dec 17:00 PST to fiz empty line causing crash
Note di rilascio
- Fixed bugginess with labels and offsets. Label offsets are now in hours, not bars
- Added midnight level
- 10:30 line was supposed to be vertical, this is changed
Note di rilascio
Fix timezone issue for futures
Note di rilascio
Add translation for NQ

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.