OPEN-SOURCE SCRIPT
Atualizado

BKLevels

1 741
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
Notas de Lançamento
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
Notas de Lançamento
- 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
Notas de Lançamento
Fix timezone issue for futures
Notas de Lançamento
Add translation for NQ

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.