TradingView
zzzcrypto123
Sep 6, 2020 1:51 PM

ORB - Opening Range Breakout 

Nifty 50 IndexNSE

Description

This script plots the high/low of any custom session and extends it until the daily close. It does not show on the timeframe higher than the length of custom opening session by default.

The time period of opening range & the max timeframe to display it on can be adjusted from the settings.

So for eg. if want to use 5m ORB to trade, then set "ORB total time" as 5min & "Session Time" as whatever is the opening 5mins time period of ticker that are trading.

Release Notes

This script plots the high/low of any custom session and extends it for a period of 24 hours. It does not show on the timeframe higher than the length of custom opening session by default.

The time period of opening range & the max timeframe to display it on can be adjusted from the settings.

So for eg. if want to use 5m ORB to trade, then set "ORB total time" as 5min & "Session Time" as whatever is the opening 5mins time period of ticker that are trading.

Release Notes

fixed code

Release Notes

update

Release Notes

.
Comments
roosgart
Hi Sir, Great job with your indicator. I tried to add additional ORB lines on the same code but doesn't work. I'm Still learning Pine. Can you please give me a hint on how to add an additional ORB line? Thank You.
Paruchurusk89
Hi.. IB range is useful.. Can you please also add average IB of past 10 days (not past 10 Candles..? I am trying to do that. But I am not a great programer.
zzzcrypto123
@Paruchurusk89, no idea how to do that sry
Futuretrades
how to display only todays orb? not historical
VISHUMAHTO
Hey.
This is one of the great indicator I was looking for with settings as I needed.
There is one more thing that I need in this indicator.
I don’t want the high and low to be extended for entire 24 hours until the next high and low are generated.
Can you add a box in the settings so that I can tell this indicator as to how many hours will the high and low extends up to.

Regards
Chonky_
is it true u are gei
zzzcrypto123
@Chonky_, no u
CA_Dindayal_PAWAR
Hii, really helpful...thank you for sharing it.
Anamikaa
how to add buffer price ?
zzzcrypto123
@amanmehra15aug, hi, what do you mean by buffer price
More