One Fine Day in 2016-2017 TSL – Mobius talks ORB in the ThinkScript Lounge
Mobius' ORB V.3 draws a green and red long-dash lines, but while the red reacts to price, the green seems it
does not - and is always drawn. Is this the expected behavior for the green?
allopt - 11.00 AM
The Red and Green ORB lines should not move after they are initially set (according to the time specified in
the ORB settings).
Alphalnvestor • 11:02 AM
There are two green lines and two red lines. The heavy red and green Ones are the Opening Range high and
low the thin red and green lines are Risk Off markers for an Opening Range Breakout Trade
Mobius - 11:02 AM
What he said (I was talking about the heavy ORB lines)
AlphaInvestor • 11:03 AM
The Risk Off Red line is drawn only when price is below the yellow line (mid?), while the Risk Off Green line
is drawn consistently since the open (although earlier it was below the yellow).
allopt - 11:06 AM
yeah, I had been playing with the two different plots when I posted the code. you can go into the code and
change the red line condition to match the green lines condition and the red will plot the same as the green
Mobius • 11:08 AM
Replace lines 225 - 227 with this
plot ORLriskDN = if bar >= OREndBar and ! ORActive and today then
HighestAll(ORL2ext + InitialRisk) else Double.NaN;
Mobius • 11:10 AM
to confirm, draw both, consistently throughout the session, regardless of price. Correct?
allopt • 11:10 AM
Yes - It's just plotting the RISK line for a Short trade when Price Breaks Below the OR Low
Mobius - 11:11 AM
Mobius, is not defined in version
V03.02.2017. Is there a newer version than the one I have?
allopt • 11:23 AM
Not defined in mine either - I was previously told to put ATR in there
AlphaInvestor • 11:24 AM
allopt -this is the study I have running
https://tos.mx/M6TsmG
Mobius • 11:28 AM
Remember if you find errors or omissions send complaints to the same place you sent payment to for the
study.
Mobius - 11:30 AM
I constantly mess with that study. Always looking for ways to improve it or emulate my trading. So, over a few
years it will change some but never very much
Mobius • 11:44 AM
in the version I just posted I added a few studies I always run with it, just to make it easier for me.
Mobius - 11:47 AM
I also run this study with ORB and will likely
build this into my unified code too.
htto://tos mx/CDZDJ4 Mobius • 11:49 AM