High/Low/Open/Close Daily, Weekly, Monthly Line

goofoffgoose Premium Aggiornato   

I wrote this for the purpose of saving time while marking up charts by automating the process of drawing and labeling lines at areas of interest on larger
timeframes while still having the option to change the style and size of the lines and labels to adjust for any timeframe and avoid a messy chart.
I also used this as an exercise in menu organization giving users every imaginable option and producing clean readable code.

- This indicator draws a line on the Daily, Weekly, and Monthly bar at the High, Low, Open and Close of each bar as price
tends to react when revisiting these areas.
- Each set of bars has an optional identifying label with its own color set that can be shown with or without the lines
price value, and has drop down menus for size and style of each set of labels.
- Each set of lines has inputs for line/text color, line width and style, and can be hidden if the user doesn't have the need for any particular timeframe.
- Lines and Labels with delete when a new line is created.

- I recommend going into Chart Settings/Status Line and turning off indicator arguments OR moving the script to the top
of the indicator list to avoid an obstructed chart view with this indicators arguments. When Pine allows, I will update it to hide them.

Contains some public domain code from T.V. manuals and tutorial for creating drop down input menus for options.

/ ~For My Pal Jittery~
~ Who likes his clean chart and custom colors~
Note di rilascio:
Update : Fixed labels to round values to min.tick
Added input for label position
Note di rilascio:
Updated the error created by the update to TradingView compiler.
Note di rilascio:
Formatted label values...again.
Note di rilascio:
Updated the security call to Real High, Low, Open, Close when chart is not on regular candles. (ex. HA, Range, Renko)
Note di rilascio:
Added options to deselect specific lines (High, Low, Open, Close) and change the color of those lines. When a line is not selected to be plotted, the associated label will also be hidden.
Note di rilascio:
New and Improved menu with vertical and horizontal label offsets and a fancy label addition. New defaults on many things so you may need to resave your default settings. Cheers!
Script open-source

Nello spirito di condivisione promosso da TradingView, l'autore (al quale vanno i nostri ringraziamenti) ha deciso di pubblicare questo script in modalità open-source, così che chiunque possa comprenderlo e testarlo. Puoi utilizzarlo gratuitamente, ma il riutilizzo del codice è subordinato al rispetto del Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

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.

Vuoi usare questo script sui tuoi grafici?