Buy condition =>ORB range 9:20-9:25. On 5 min TF if candle breaks high and next candle break high of that candle. buy signal when third candle breaks high of 2nd candle
Sell condition=>ORB range 9:20-9:25. On 5 min TF if candle breaks low and next candle break low of that candle. sell signal when third candle breaks low of 2nd candle
this indicator is extended version of my previous indicator i got a comment request from @RISHISAKHARE to devlope indicator based on above mention rule ....
Hi Nice one... can we get time alteration ...if we need the range breakout for 9.45AM to 11 AM range need to get a signal
Shauryam_or
⋅
@balajipivots, yes you can change input time to 9:45 to 11 am ...it will work check input settings
SaadiCrypto
⋅
on which pair it works?
prateekm
⋅
Hi, I have a similar code, having some issue possibly pinescript code has been revised to restrict few function calls, do you think you would be able to advise a change here
// Get High & Low getSeries(_e, _timeFrame) => request.security(syminfo.tickerid, _timeFrame, _e, lookahead=barmerge.lookahead_on)
is_newbar(res, sess) => t = time(res, sess) na(t[1]) and not na(t) or t[1] < t
newbar = is_newbar('375', sessSpec)
var float orbH = na var float orbL = na var float orbM = na if newbar orbH := getSeries(high[0], orbTimeFrame) orbL := getSeries(low[0], orbTimeFrame) // orbL
@prateekm, I am getting below error since yesterday "Cannot call `request.*()` functions, or functions containing them, within the scopes of `if`, `switch`, `for`, or `while` structures when their values depend on locally defined variables. Move the function call out of this scope or replace its arguments with global variables or constants."
Shauryam_or
⋅
@prateekm, mate send me correct code using pastebin.com... we cant use security function with if ,switch,for .............. if request.security("not allow")
I like the logic used here. Is there a way to auto select the session based on the instrument? like for instance the indicator is default for nifty/bnf, can it change its session automatically as soon as I go you US100 chart, with logic being the same.
Shauryam_or
⋅
@Saudatrader03, will look this thnx
gscollman6813710
⋅
Hi..what input settings would I use for opening range of 930 to 945