zzzcrypto123

ORB - Opening Range Breakout

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.
Note di rilascio: 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.
Note di rilascio: fixed code
Note di rilascio: update
Note di rilascio: .
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?

Commenti

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.
+6 Rispondi
zzzcrypto123 Paruchurusk89
@Paruchurusk89, no idea how to do that sry
+2 Rispondi
is it true u are gei
+3 Rispondi
@Chonky_, no u
+2 Rispondi
Hii, really helpful...thank you for sharing it.
+1 Rispondi
how to add buffer price ?
+1 Rispondi
zzzcrypto123 amanmehra15aug
@amanmehra15aug, hi, what do you mean by buffer price
Rispondi
amanmehra15aug zzzcrypto123
@zzzcrypto123, buffer price means extra price for safe trade ....

EXP: BRACKOUT RANGE HIGH = 2000 AND LOW IS 1980 SO THAT YOUR BUFFER PRICE IS +2 POINT
AND YOUR BUY PRICE IS 2002 AND SELL PRICE IS 1972...
+1 Rispondi
zzzcrypto123 amanmehra15aug
@amanmehra15aug,

a = input(20)
plot(hide ? orb_high+a : na , style=plot.style_line, color=orb_high != orb_high ? na : color.green, title="ORB High", linewidth=2)
plot(hide ? orb_low -a: na , style=plot.style_line, color=orb_low != orb_low ? na : color.red, title="ORB Low", linewidth=2)
Rispondi
amanmehra15aug zzzcrypto123
@zzzcrypto123, thank u so much... :D

(๑′ᴗ‵๑) Lᵒᵛᵉ ᵧₒᵤ Brother ♥
+1 Rispondi