Day start top and bottom

This code is modified to draw the first 15 minutes(variable in setting by default 15m is set) of the high and lows through out the day.
It will work on time frames less than than or equal to 1st input. Hope this code helps you all.

1.Res = input(title="Starting X minutes lines to be Displayed",defval="15", type=input.resolution)
2.Day_start_15m=input("0915-0930",title="your country's Trading session time (starting X minutes)")
make sure to enter the starting 15 min of your country trading time in the input in 2nd input
both the above input 1 and 2 must be equal in time i.e "0915-0930"=15min and first one is also 15m

you need to make sure that the input settings are correct. It is By default set For INDIAs trading start time, you have to set start time according to your country.
Note di rilascio: Added Yesterdays HIGH and LOW line.
Note di rilascio: Added label of price for all lines.
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.

Vuoi usare questo script sui tuoi grafici?
An enthusiast trader. I code my strategies in pine script.DM me or Mail Me for any Info at
BTC : 1PZdTyH2faJn6XTyFK8C8uvS8zba2gCRmw
ETH : 0x0dF010AE708E424FD227f07538DeB24faa8B60e6


+2 Rispondi
badshah_e_alam DAVEEEEEEE
@DAVEEEEEEE, My pleasure. I am happy it is of your some use.
+1 Rispondi
DAVEEEEEEE badshah_e_alam
@badshah_e_alam, It sure is! I use this to take a long or short position. It's not perfect, nothing is in the market, use it with common sense and this strategy will pay off. I also like how you made it that the time is adjustable. Goodjob!
+2 Rispondi
badshah_e_alam DAVEEEEEEE
Hello Dear, can you help to use this script with the chart timezone so I can use it with UTC timezone?
also the 15m high low being displayed on every realtime bar, is it possible to fix the today's high low only from first bar? so it does not repaints after first bar closed?

Thanks in advance. really helpful script
tvcross tvcross
@tvcross, I want to use it with 24 hours, I want to use with exchanges that does not closes and does not have any weekends @badshah_e_alam
@tvcross, can you share screenshot of the problem you are facing.
tvcross badshah_e_alam
@badshah_e_alam, Hello, I send you screenshot, did you get it?
@tvcross, yes got it, please check your inbox
+3 Rispondi