Blast Off Indicator for ThinkorSwim

Two questions, any way to use this Blast off normal and fancy version indicator on a white background?
Second, do you have a watchlist script for volume that would highlight with green or red color
 
@Leo1015 Take a look at the following snippet in the code:

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

Change "MAGENTA" to whatever color you prefer. You can find a list of standard thinkscript colors here.
 
When I do the blastoff scan, I get all the charts with the blastoff indicator in the past days but not the last day. It is only useful if it shows only at the last day so you can anticipate movement the next day. How do I make the scan to show stocks when they have the blastoff indicator showing at the current or the last day? Thanks
 
Hi all. I'm new in here but I've got a few years trading on my back.

This indicator has been quite useful over the last 2 months so I'm happy I came across it. I'd like to know if in the "fancy version" I'm able to get rid of the white colour on the candles? I'd like to get the standard one.

Thank you
 
@danpadcas The purpose of the "fancy version" is to plot the lines. If you don't want that, then just use the standard code. Or am I missing something here?
 
@danpadcas The purpose of the "fancy version" is to plot the lines. If you don't want that, then just use the standard code. Or am I missing something here?
The lines are awesome, they are not the problem. So I'd like to keep the lines as well as the purple candles but "turn off" the white candles and keep using the standard ones.
 
@danpadcas Ahh, I see.

In that case, locate the following in your script:

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

Change "WHITE" to "CURRENT".
 
Awesome. Thank you so much

This is how it looks like...

AUlyNBL.png


Does anyone use this indicator on a regular basis?
 
Hey good people...

When I first saw this indicator, it reminded me a bit of a inside bar strategy outlined in one of Kathy Lien's books.

The rules are like this:
Long
  1. Identify a currency pair where the daily range has been contained within the prior day’s range for at least two days (we are looking for multiple inside days).
  2. Buy 10 pips above the high of the previous inside day.
  3. Place a stop and reverse order for two lots at least 10 pips below the
    low of the nearest inside day.
  4. Take profit when prices reach double the amount risked or begin to trail the stop at that level.
Protect against false breakouts: If the stop and reverse order is triggered, place a stop at least 10 pips above the high of the nearest inside day and protect any profits larger than what you risked with a trailing stop.

Short
  1. Identify a currency pair where the daily range has been contained within the prior day’s range for at least two days (we are looking for multiple inside days).
  2. Sell 10 pips below the low of the previous inside day.
  3. Place a stop and reverse order for two lots at least 10 pips above the
    high of the nearest inside day.
I'm thinking very similar strategy rules could be used for the Blast Off indicator by simply replacing the two inside bars with the Blast Off bar from the indicator. The strategy from Kathy Lien is focused on fx, but I think it could be used in other markets. I haven't done any backtesting and currently don't have the time. It would be super cool if someone could code this up for MT5...

The nice feature of the above strategy is the stop and reverse order. Looking quickly over some charts with the Blast Off indicator, it looks like it has potential to be a profitable strategy.
 
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);

 
Hi, the chart for blastoff works but not the scanner. When I enter blastoff, no drop down for arrow, true, one bar, but the ok button is muted, not allowing me to hit ok. What am I doing wrong?
 

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
446 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