Blast Off Indicator for ThinkorSwim

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

When is the best time to run this: After mkt closes or at premkt?
Screenshot (276).png
 
I thought there were arrows. But ok so the code will show move over the percent that’s in the code but it will not show which way correct. I’m just trying to see how I can use this effectively
Hi: My Blast off shared script does not have any options that work for the Scanner.
How about you?
 
Hi: My Blast off shared script does not have any options that work for the Scanner.
How about you?
The Blast Off study is found here:
https://usethinkscript.com/threads/blast-off-indicator-for-thinkorswim.621/#post-4652

To use in the Scan Hacker, you reference the above study and
use the following filter. For more info on how to use the scan hacker: https://usethinkscript.com/threads/how-to-use-thinkorswim-stock-hacker-scans.284/
Arrow is true
The daily results for the scan are found here:
https://usethinkscript.com/threads/...-trade-weekly-options.1023/page-30#post-82478
 
Last edited:
@pdincer The purpose of this indicator is to help you build a watchlist of potential movers for the next day. Run the scanner at the end of day and set it to the Daily chart.
Can this be used right before market close to determine a swing trade into the next day?
 
You should use this indicator on the daily chart. A pink candle represent a "blast off" candle. Expect a big move the next day. For day traders, you can also use this on the lower timeframes to look for indecision candles.

vg6xDDS.png


thinkScript Code

Code:
# Blast Off Indicator
# Should use on the Daily chart
# Assembled by BenTen at useThinkScript.com
# Converted from https://www.tradingview.com/script/V9Mi6eOO-CM-Blast-Off-V1-Alerts-Ready/

input trig = 20;
input paintbar = yes;

def val = absValue(close - open);
def range = high - low;
def blastOffVal = (val / range) * 100;
def trigger = trig;
def alert1 = blastOffVal < trig;
def col = blastOffVal < trig;

assignPriceColor(if paintbar and blastOffVal<trig then Color.MAGENTA else Color.Current);

# Plot Arrow
plot arrow = col;
arrow.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_UP);
arrow.SetDefaultColor(Color.CYAN);
arrow.SetLineWeight(1);

Shareable Link: https://tos.mx/3DOXHdO

Fancy Version

As suggested by @john3

Code:
# Blast Off Indicator
# Should use on the Daily chart
# Assembled by BenTen at useThinkScript.com
# Converted from https://www.tradingview.com/script/V9Mi6eOO-CM-Blast-Off-V1-Alerts-Ready/

# Modified version: added line to high and low of blast off candle.

input trig = 20;

def val = absValue(close - open);
def range = high - low;
def blastOffVal = (val / range) * 100;
def trigger = trig;
def alert1 = blastOffVal < trig;
def col = blastOffVal < trig;

def blast_candle = blastOffVal < trig;

def b_high = if blast_candle then high else b_high[1];
def b_low = if blast_candle then low  else b_low[1];

plot hh = b_high;
plot ll = b_low;

hh.SetPaintingStrategy(PaintingStrategy.HORIZONTAL);
ll.SetPaintingStrategy(PaintingStrategy.HORIZONTAL);
hh.SetDefaultColor(Color.YELLOW);
ll.SetDefaultColor(Color.YELLOW);

assignPriceColor(if blastOffVal<trig then Color.MAGENTA else Color.WHITE);

How is this study working for people ? I am confused because nearly every SP500 stock I'm looking at on the study watchlist shows a pink candle so how is this identifying anything
 
How is this study working for people ? I am confused because nearly every SP500 stock I'm looking at on the study watchlist shows a pink candle so how is this identifying anything
The market indices have hit the lowest lows since 2020. Pretty sure it will indicate on everything right now.
No indicator can be used in isolation so as to avoid false signals.

Here are some indicators that work well with the Blast Off:
https://usethinkscript.com/threads/daily-watchlist-of-stocks-questions.7585/#post-81013
 
How is this study working for people ? I am confused because nearly every SP500 stock I'm looking at on the study watchlist shows a pink candle so how is this identifying anything
I like this as a scan, was wondering what would be changed in order to scan for two days of tight action, is it not possible to scan that way?
Thank you in advance for any help
 
Is there anyway to scan for a Pink candle at the end of the day ?

Im guessing There is a purchase price for the Pink Candle scan ?

In the drop down menu in the plot I only have hh and ll which one do i choose for the pink candle ? Thanks
 
Last edited by a moderator:
Is there anyway to scan for a Pink candle at the end of the day ?

Im guessing There is a purchase price for the Pink Candle scan ?

In the drop down menu in the plot I only have hh and ll which one do i choose for the pink candle ? Thanks
Here is the Scan Script:

Go ahead and cut & paste this script into your study tab:
reference this one in the Scan Hacker
Code:
# Blast Off Indicator
# Should use on the Daily chart
# Assembled by BenTen at useThinkScript.com
# Converted from https://www.tradingview.com/script/V9Mi6eOO-CM-Blast-Off-V1-Alerts-Ready/

input trig = 20;
input paintbar = yes;

def val = absValue(close - open);
def range = high - low;
def blastOffVal = (val / range) * 100;
def trigger = trig;
def alert1 = blastOffVal < trig;
def col = blastOffVal < trig;

assignPriceColor(if paintbar and blastOffVal<trig then Color.MAGENTA else Color.Current);

# Plot Arrow
plot arrow = col;
arrow.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_UP);
arrow.SetDefaultColor(Color.CYAN);
arrow.SetLineWeight(1);

Shareable Link: https://tos.mx/3DOXHdO Click here for --> Easiest way to load shared links

Then open up your Scan Hacker
Set your filter to: Arrow is true.

If you're still having trouble, have you checked out the Scan Hacker Tutorial we have available? It might offer some helpful tips and solutions: https://usethinkscript.com/threads/how-to-use-thinkorswim-stock-hacker-scans.284/
 
Last edited:
In the standard blast off indicator, It seems the arrow simply indicates where the pink bar is. Is there a way to show the up arrow when it is expected to go up the next day and down arrow when it is expected to do the next day? I mean, is there a way to identify whether the break is to the upside or downside?
 
In the standard blast off indicator, It seems the arrow simply indicates where the pink bar is. Is there a way to show the up arrow when it is expected to go up the next day and down arrow when it is expected to do the next day? I mean, is there a way to identify whether the break is to the upside or downside?
No, direction is not found within this script.
You need to add your favorite trend/momentum studies to your chart setup to assist in your determination of direction.
Here are a few to get you started:
https://usethinkscript.com/threads/a-serving-of-trend-and-momentum-indicators-for-thinkorswim.4880/
 
You should use this indicator on the daily chart. A pink candle represent a "blast off" candle. Expect a big move the next day. For day traders, you can also use this on the lower timeframes to look for indecision candles.

View attachment 5385

thinkScript Code

reference this one in the Scan Hacker
Code:
# Blast Off Indicator
# Should use on the Daily chart
# Assembled by BenTen at useThinkScript.com
# Converted from https://www.tradingview.com/script/V9Mi6eOO-CM-Blast-Off-V1-Alerts-Ready/

input trig = 20;
input paintbar = yes;

def val = absValue(close - open);
def range = high - low;
def blastOffVal = (val / range) * 100;
def trigger = trig;
def alert1 = blastOffVal < trig;
def col = blastOffVal < trig;

assignPriceColor(if paintbar and blastOffVal<trig then Color.MAGENTA else Color.Current);

# Plot Arrow
plot arrow = col;
arrow.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_UP);
arrow.SetDefaultColor(Color.CYAN);
arrow.SetLineWeight(1);

Shareable Link: https://tos.mx/3DOXHdO

Fancy Version

As suggested by @john3

Code:
# Blast Off Indicator
# Should use on the Daily chart
# Assembled by BenTen at useThinkScript.com
# Converted from https://www.tradingview.com/script/V9Mi6eOO-CM-Blast-Off-V1-Alerts-Ready/

# Modified version: added line to high and low of blast off candle.

input trig = 20;

def val = absValue(close - open);
def range = high - low;
def blastOffVal = (val / range) * 100;
def trigger = trig;
def alert1 = blastOffVal < trig;
def col = blastOffVal < trig;

def blast_candle = blastOffVal < trig;

def b_high = if blast_candle then high else b_high[1];
def b_low = if blast_candle then low  else b_low[1];

plot hh = b_high;
plot ll = b_low;

hh.SetPaintingStrategy(PaintingStrategy.HORIZONTAL);
ll.SetPaintingStrategy(PaintingStrategy.HORIZONTAL);
hh.SetDefaultColor(Color.YELLOW);
ll.SetDefaultColor(Color.YELLOW);

assignPriceColor(if blastOffVal<trig then Color.MAGENTA else Color.WHITE);

Dear Ben.
I found this indicator worked wonder, especially with higher high and lower low in fancy version.
Can you help me with the regular green and red color instead of just white? Keep the trigger magenta.
Very appreciated always Ben.
 
Last edited by a moderator:
Dear Ben.
I found this indicator worked wonder, especially with higher high and lower low in fancy version.
Can you help me with the regular green and red color instead of just white? Keep the trigger magenta.
Very appreciated always Ben.

Glad to hear. Sure..

Replace the last line with the following:

Code:
assignPriceColor(if blastOffVal<trig then Color.MAGENTA else Color.Current);
 

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

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