Beep Boop Indicator for ThinkorSwim

@andre.muhammad I'm glad this indicator is helpful to you.

In order to scan for changes, you can create a custom filter and look for value changes for hist plot. Since the values are 0.1 and 0.09, you can look for value crossing below and above the valid values. I can also add value change indicators to make it a pretty much yes/no scan.

But, for now, you can do the following for bullish:
EqSqKj6.png


and for bearish:
zgpuL1v.png


Results for bullish on daily:

kxOT4Wj.png
Hi @barbaros I set up the scan for Beep Boop up and also down but I noticed that sometimes it gives mixed siganls? Is there a way to refine the scan somehow? Thx in advance.

Beep Boop UP which correlates with scan:

Beep Boop UP which doesn't.
 

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

Hi @barbaros I set up the scan for Beep Boop up and also down but I noticed that sometimes it gives mixed siganls? Is there a way to refine the scan somehow? Thx in advance.

Beep Boop UP which correlates with scan:

Beep Boop UP which doesn't.
Can you share how you set up the scan? so I can replicate to debug?

If you look at the candle colors, the previous candle was a lighter color. ToS has a delay to refresh the scan lists. I am wondering if this could be the issue.
 
That looks correct to me. You may try "greater than" to see if it improves. However, I think you are running into ToS watchlist refresh time. I think it refreshes every 5 minutes-ish. So, it may contain entries that were qualified before but changed direction before the watchlist is refreshed.
Ok thanks I appreciate your help. Thanks for taking the time to help me.
 
Looking for a watchlist for this. Can anyone help or link to tutorial on how to create
 
Last edited by a moderator:
Looking for a watchlist for this. Can anyone help or link to tutorial on how to create
Beep Boop Indicator Watchlist
shared watchlist column link: http://tos.mx/Een50Wx Click here for --> Easiest way to load shared links
rreHHPS.png

Ruby:
# Beep Boop
# Converted from TradingView
# v1 - 20210115 barbaros
# v2 - 20210117 barbaros - Added filter to show only in long term direction

declare lower;
declare zerobase;

input FastLength = 12;       # Fast Length
input SlowLength = 26;       # Slow Length
input EMATrend = 50;         # EMA Trend
input EMAFilter = no;        # Only show in the direction of the trend
input EMAFilterPeriod = 200; # EMA Filter Trend Period
input Source = close;        # Source
input SignalLength = 9;      # Signal Smoothing, minval = 1, maxval = 50
input SMASource = no;        # Simple MA(Oscillator)
input SMASignal = no;        # Simple MA(Signal Line)
input ShowLabel = yes;       # Show indicator label

def fast_ma = if SMASource then SimpleMovingAvg(Source, FastLength) else MovAvgExponential(Source, FastLength);
def slow_ma = if SMASource then SimpleMovingAvg(Source, SlowLength) else MovAvgExponential(Source, SlowLength);
def macd = fast_ma - slow_ma;
def signal = if SMASignal then SimpleMovingAvg(macd, SignalLength) else MovAvgExponential(macd, SignalLength);
def histVal = macd - signal;
def fastMA = MovAvgExponential(Source, EMATrend);
def longtermMA = MovAvgExponential(Source, EMAFilterPeriod);

def hist = if histVal > 0 and (!EMAFilter or low > longtermMA) then 0.1
            else if histVal < 0  and (!EMAFilter or high < longtermMA) then 0.09
            else if EMAFilter then Double.NaN else histVal;


AddLabel(ShowLabel,
        if hist == 0.1 then
            if (hist == 0.1) and (close > fastMA) and (open > fastMA) and (low > fastMA) then
                "Grow Above"
            else
                "Fall Above"
        else
            if (hist == 0.09) and (close < fastMA) and (open < fastMA) and (high < fastMA) then
                "Grow Below"
            else
                "FallBelow"
);

assignBackgroundColor(if hist == 0.1 then
                        if (hist == 0.1) and (close > fastMA) and (open > fastMA) and (low > fastMA) then
                            CreateColor(38, 166, 154)
                        else
                            color.lime
                      else
                        if (hist == 0.09) and (close < fastMA) and (open < fastMA) and (high < fastMA) then
                            CreateColor(255, 0, 0)
                        else
                            color.pink);
 
Beep Boop Indicator Watchlist
shared watchlist column link: http://tos.mx/Een50Wx Click here for --> Easiest way to load shared links
rreHHPS.png

Ruby:
# Beep Boop
# Converted from TradingView
# v1 - 20210115 barbaros
# v2 - 20210117 barbaros - Added filter to show only in long term direction

declare lower;
declare zerobase;

input FastLength = 12;       # Fast Length
input SlowLength = 26;       # Slow Length
input EMATrend = 50;         # EMA Trend
input EMAFilter = no;        # Only show in the direction of the trend
input EMAFilterPeriod = 200; # EMA Filter Trend Period
input Source = close;        # Source
input SignalLength = 9;      # Signal Smoothing, minval = 1, maxval = 50
input SMASource = no;        # Simple MA(Oscillator)
input SMASignal = no;        # Simple MA(Signal Line)
input ShowLabel = yes;       # Show indicator label

def fast_ma = if SMASource then SimpleMovingAvg(Source, FastLength) else MovAvgExponential(Source, FastLength);
def slow_ma = if SMASource then SimpleMovingAvg(Source, SlowLength) else MovAvgExponential(Source, SlowLength);
def macd = fast_ma - slow_ma;
def signal = if SMASignal then SimpleMovingAvg(macd, SignalLength) else MovAvgExponential(macd, SignalLength);
def histVal = macd - signal;
def fastMA = MovAvgExponential(Source, EMATrend);
def longtermMA = MovAvgExponential(Source, EMAFilterPeriod);

def hist = if histVal > 0 and (!EMAFilter or low > longtermMA) then 0.1
            else if histVal < 0  and (!EMAFilter or high < longtermMA) then 0.09
            else if EMAFilter then Double.NaN else histVal;


AddLabel(ShowLabel,
        if hist == 0.1 then
            if (hist == 0.1) and (close > fastMA) and (open > fastMA) and (low > fastMA) then
                "Grow Above"
            else
                "Fall Above"
        else
            if (hist == 0.09) and (close < fastMA) and (open < fastMA) and (high < fastMA) then
                "Grow Below"
            else
                "FallBelow"
);

assignBackgroundColor(if hist == 0.1 then
                        if (hist == 0.1) and (close > fastMA) and (open > fastMA) and (low > fastMA) then
                            CreateColor(38, 166, 154)
                        else
                            color.lime
                      else
                        if (hist == 0.09) and (close < fastMA) and (open < fastMA) and (high < fastMA) then
                            CreateColor(255, 0, 0)
                        else
                            color.pink);
omg thank you so much!!!! waited a year for this thank you, thank you
 
Barboras - Do you have a manual to use the Beep Boop indicator? I see Grow above and grow below. Does it mean I buy a call only when it is grow above.
Similarly I see Fall above and fall below. I buy put only when it is fall below for a ticket?

Can someone please clarify.
 

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

87k+ Posts
426 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