RSI - OB/OS back into the zone trigger

Hardlock

New member
I use a Trade Setup that I learned from a YouTuber called the "Back Burner" Trade.

It is taking an oversold or overbought RSI condition on an impulsive move. When it come back into the zone out of the Oversold or Overbought typically the 20 and 80 level on the Oscillator that is the trigger signal. I scouted the Forums however didn't see a TOS indicator that does this. I typically use this when looking for a "V" Shape Bounce or Retrace.

Can someone point me to one if this already exists? or help with coding it please?

Here is an illustration of the setup:

GjP1kJO.png
 
Last edited:
I use a Trade Setup that I learned from a YouTuber called the "Back Burner" Trade.

It is taking an oversold or overbought RSI condition on an impulsive move. When it come back into the zone out of the Oversold or Overbought typically the 20 and 80 level on the Oscillator that is the trigger signal. I scouted the Forums however didn't see a TOS indicator that does this. I typically use this when looking for a "V" Shape Bounce or Retrace.

Can someone point me to one if this already exists? or help with coding it please?

Here is an illustration of the setup:

2023-04-03-18-07-31.png
would you mind sharing the chart? thanks
 
So I just drew on the image. All I have is a stock RSI.

I linked to a study above but isn't what I was needing. I just would like it to print and arrow or other signal on the oscillator to show when it comes from OS or OB back into the normal zone. Say the rsi drops to 16 and then when it come above 20 it plots a signal.
 
I found a stock RSI Crossover Indicator from TOS. But would like it to actually plot on the RSI Oscillator so I can add in the Divergence code and would also like it to do a cross above 30 and below 70 or what ever is set by the user. Looks like this is one or the other can be set.


Code:
#
# TD Ameritrade IP Company, Inc. (c) 2009-2023
#

#wizard text: RSI crosses
#wizard input: crossingType
#wizard input: threshold
#wizard text: Inputs: length:
#wizard input: length
#wizard text: average type:
#wizard input: averageType

input length = 14;
input crossingType = {default above, below};
input threshold = 30;
input averageType = AverageType.WILDERS;

plot signal = crosses(RSI(length=length, averageType=averageType).RSI, threshold, crossingType == CrossingType.above);

signal.DefineColor("Above", GetColor(7));
signal.DefineColor("Below", GetColor(8));
signal.AssignValueColor(if crossingType == CrossingType.above then signal.color("Above") else signal.color("Below"));

signal.SetPaintingStrategy(if crossingType == CrossingType.above
    then PaintingStrategy.BOOLEAN_ARROW_UP
    else PaintingStrategy.BOOLEAN_ARROW_DOWN);
 
Here is a good example of the setup. 1) Impulse down, 2) gets Oversold. 3) Comes out of Oversold and plots for a potential reversal.

Also notice the divergence.

sKqWN4n.png
 
I found a stock RSI Crossover Indicator from TOS. But would like it to actually plot on the RSI Oscillator
Code:
#
# TD Ameritrade IP Company, Inc. (c) 2009-2023
#

#wizard text: RSI crosses
#wizard input: crossingType
#wizard input: threshold
#wizard text: Inputs: length:
#wizard input: length
#wizard text: average type:
#wizard input: averageType

input length = 14;
input crossingType = {default above, below};
input threshold = 30;
input averageType = AverageType.WILDERS;

plot signal = crosses(RSI(length=length, averageType=averageType).RSI, threshold, crossingType == CrossingType.above);

signal.DefineColor("Above", GetColor(7));
signal.DefineColor("Below", GetColor(8));
signal.AssignValueColor(if crossingType == CrossingType.above then signal.color("Above") else signal.color("Below"));

signal.SetPaintingStrategy(if crossingType == CrossingType.above
    then PaintingStrategy.BOOLEAN_ARROW_UP
    else PaintingStrategy.BOOLEAN_ARROW_DOWN);
if your question is how to plot the RSI
Add this to the bottom of your script:
plot rsi = rsi();
 

Join useThinkScript to post your question to a community of 21,000+ developers and traders.

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

87k+ Posts
309 Online
Create Post

Similar threads

Similar threads

The Market Trading Game Changer

Join 2,500+ subscribers inside the useThinkScript VIP Membership Club
  • Exclusive indicators
  • Proven strategies & setups
  • Private Discord community
  • ‘Buy The Dip’ signal alerts
  • Exclusive members-only content
  • Add-ons and resources
  • 1 full year of unlimited support

Frequently Asked Questions

What is useThinkScript?

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.

How do I get started?

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.

What are the benefits of VIP Membership?
VIP members get exclusive access to these proven and tested premium indicators: Buy the Dip, Advanced Market Moves 2.0, Take Profit, and Volatility Trading Range. In addition, VIP members get access to over 50 VIP-only custom indicators, add-ons, and strategies, private VIP-only forums, private Discord channel to discuss trades and strategies in real-time, customer support, trade alerts, and much more. Learn all about VIP membership here.
How can I access the premium indicators?
To access the premium indicators, which are plug and play ready, sign up for VIP membership here.
Back
Top