Also really interested in the ALERT or Scan. @tommylala I've be seeing great correlation on up trends after it hits HTarget2 on my reach of past stocks.
Yes, my only dilemma is that it is hard to watch all tickers so a watchlist or scan that will alert when the ticker hits HTarget2. I have a feeling it does not exist only if a programmer is up for a challenge.Also really interested in the ALERT or Scan. @tommylala I've be seeing great correlation on up trends after it hits HTarget2 on my reach of past stocks.
# ORB for TOS Mobile App
# Mobius
# V01.08.2018
def o = open;
def h = high;
def l = low;
def c = close;
def OpeningBell = getTime()[1] < RegularTradingStart(getYYYYMMDD()) and
getTime() > RegularTradingStart(getYYYYMMDD());
def RTH = getTime() >= RegularTradingStart(getYYYYMMDD()) and
getTime() <= RegularTradingEnd(getYYYYMMDD());
def ORActive = getTime() >= OpeningBell and
getTime() <= RegularTradingStart(getYYYYMMDD()) + 1800000;
def ORH = if OpeningBell
then h
else if ORActive and
h > ORH[1]
then h
else ORH[1];
def ORL = if OpeningBell
then l
else if ORActive and
l < ORL[1]
then l
else ORL[1];
plot ORhigh = if !ORActive and RTH
then ORH
else Double.NaN;
ORhigh.SetStyle(Curve.LONG_DASH);
ORhigh.SetLineWeight(3);
ORhigh.SetDefaultColor(Color.GREEN);
plot ORlow = if !ORActive and RTH
then ORL
else Double.NaN;
ORlow.SetStyle(Curve.LONG_DASH);
ORlow.SetLineWeight(3);
ORlow.SetDefaultColor(Color.RED);
def ORmeanActive = getTime() >= OpeningBell and
getTime() <= RegularTradingStart(getYYYYMMDD()) + 300000;
def ORmeanH = if OpeningBell
then h
else if ORmeanActive and h > ORmeanH[1]
then h
else ORmeanH[1];
def ORmeanL = if OpeningBell
then l
else if ORmeanActive and l < ORmeanL[1]
then l
else ORmeanL[1];
plot ORmean = if !ORmeanActive and RTH
then Round(((ORmeanH + ORmeanL) / 2) / TickSize(), 0) * TickSize()
else Double.NaN;
ORmean.SetStyle(Curve.LONG_DASH);
ORmean.SetLineWeight(3);
ORmean.SetDefaultColor(Color.YELLOW);
# End Code ORB for Mobile App
input aP = AggregationPeriod.FIFTEEN_MIN;
def o = open(period = aP);
def h = high(period = aP);
def l = low(period = aP);
def c = close(period = aP);
I like that idea too. I have been doing opening bell trades without success as it's a rollercoaster. After months of unsuccessful trades, I have decided not to trade for the first 30 minutes.Good morning,
I would like to change the start on the ORBI from 9:30 to opening bell. Is that possible? If so can someone please guide me on how to change it.
Please and thank you
It is but ORB won't show till after 30 minutes.@Six6God isn't 9:30 working for open bell for you folks?
Join useThinkScript to post your question to a community of 21,000+ developers and traders.
Start a new thread and receive assistance from our community.
useThinkScript is the #1 community of stock market investors using indicators and other tools to power their trading strategies. Traders of all skill levels use our forums to learn about scripting and indicators, help each other, and discover new ways to gain an edge in the markets.
We get it. Our forum can be intimidating, if not overwhelming. With thousands of topics, tens of thousands of posts, our community has created an incredibly deep knowledge base for stock traders. No one can ever exhaust every resource provided on our site.
If you are new, or just looking for guidance, here are some helpful links to get you started.