RAF (Ready Aim Fire) Indicator for ThinkorSwim

Status
Not open for further replies.

dvorakm

New member
2019 Donor
VIP
Does anyone know how I can edit RAF study to only display Major Buys/Major Sells that are Overbought/Oversold. The way it is written is too messy for me.
 
Hi All, I've been browsing the site for a couple of months now and am attempting to learn options trading. I have been going through indicators as I try and form my trading style. I am very much interested in writing or customizing some indicators to suit me. I was hoping you all could provide me some information on the Ready Aim Fire indicator sold by Simpler Trading. I have read the thread regarding Carter's indicators. I understand there is no one indicator that is full proof but I would like to know what components are used for an indicator like RAF? I would like to build it myself ( I'm assuming it is a compilation of a few indicators) and would be happy to share here if I can complete it. This is my first post and if I have posted anything inappropriate please forgive me. Thank you so much, this is a very amazing community!

Quick update to this. I also saw the thread that indicated the RAF was just a retooled FisherTransform. I've already taken that study and converted it to a histogram plot. I'm also using the onebarback variable in that indicator with the CCI +-/100 for to plot visual alerts. Hopefully I'm on the right track. Appreciate any info you all can share, thanks so much.
 
Hi. I am curious how did you retool the FisherTransform to make it similar to RAF.. Thanks I need some help trying to create a scan using one of John Carter's studies [ready aim fire] but I'd like to scan for 195 minute timeframe, which is not an option on the drop down menu. Is there a way to do that? Thank you!

Code:
# Fisher Transform With First Wave (David Elliot)
# Mobius
# Chat Room Request 10.14.2020
# Scan for FT > FS5x3
 
def h = high;
def l = low;
def c = close;
def CountChg;
def SOAPCount;
def maxHigh = Highest(h, 5);
def minLow = Lowest(l, 5);
def k1v = Max(-100, Min(100, (StochasticFull(KPeriod = 5, slowing_period = 3))) - 50) / 50.01;
def k2v = Max(-100, Min(100, (StochasticFull(KPeriod = 8, slowing_period = 5))) - 50) / 50.01;
def k3v = Max(-100, Min(100, (StochasticFull(KPeriod = 17, slowing_period = 5))) - 50) / 50.01;
def R1v = Max(-100, Min(100, reference RSI(2)) - 50) / 50.01;
if k2v > 0
{
    CountChg = if k1v <= k2v and k1v[1] > k2v[1] and k2v[1] > 0 then -1 else 0;
    SOAPCount = CompoundValue(1,  Min (0, SOAPCount[1]) + CountChg, 0);
}
else
{
    CountChg = if k1v >= k2v and k1v[1] < k2v[1] and k2v[1] <= 0 then 1 else 0;
    SOAPCount = CompoundValue (1,  Max (0, SOAPCount[1]) + CountChg, 0);
}
def fish1 = CompoundValue(1, 0.5 * (Log((1 + k1v) / (1 - k1v)) + fish1[1]), 0);
def FS5x3 = fish1;
def value = if maxHigh - minLow == 0
   then 0
   else 0.66 * ((close - minLow) / (maxHigh - minLow) - 0.5) + 0.67 * value[1];
def truncValue = if value > 0.99
                 then 0.999
                 else if value < -0.99
                 then -0.999
                 else value;
def fish = 0.5 * (Log((1 + truncValue) / (1 - truncValue)) + fish[1]);
def FT = fish;
plot isTrue = FT > FS5x3;
# End Scan Code
 
Hi cherif. I just went into the default code and changed the plot to a histogram.

Code:
FT.SetPaintingStrategy(PaintingStrategy.HISTOGRAM);
I am also plotting the crossing of "fish" and "FTOneBarBack" up and down signals with arrows on a separate upper study above and below candles.
In the image below:
  • Red Down Arrows are are both when "fish" crosses below "FTOneBarBack" and when the same happens within 2 bars and CCI crosses below -100
  • CYAN Up Arrows are when "fish" crosses above "FTOneBarBack"
  • GREEN Up Arrows are when "fish" crosses above "FTOneBarBack" within 2 bars and CCI crosses above +100
This is on the 1 minute chart and therefore is very noisy. Ultimately I would like to clean this up some. I also try and use 5m, 15m charts with the same study's for confirmation as well as the EMA's and VWAP in the image for confirmation before any attempted entry.


iFInzqJ.png
 
Last edited:
Sure thing here you go. Please be advised, this is all test and development combos (scripts).

Daily4Grid: https://tos.mx/tUzajU2

Code:
declare lower;

input price = hl2;
input length = 10;

def maxHigh = Highest(price, length);
def minLow = Lowest(price, length);
def range = maxHigh - minLow;
def value = if IsNaN(price)
    then Double.NaN
    else if IsNaN(range)
        then value[1]
        else if range == 0
            then 0
            else 0.66 * ((price - minLow) / range - 0.5) + 0.67 * value[1];
def truncValue = if value > 0.99 then 0.999 else if value < -0.99 then -0.999 else value;
def fish = 0.5 * (log((1 + truncValue) / (1 - truncValue)) + fish[1]);

#plot FTOneBarBack = fish[1];
plot FT = fish;
plot ZeroLine = 0;

#FTOneBarBack.SetDefaultColor(GetColor(1));
FT.SetPaintingStrategy(PaintingStrategy.HISTOGRAM);
FT.SetDefaultColor(GetColor(8));
FT.DefineColor("Positive and Up", Color.GREEN);
FT.DefineColor("Positive and Down", Color.DARK_GREEN);
FT.DefineColor("Negative and Down", Color.RED);
FT.DefineColor("Negative and Up", Color.DARK_RED);
FT.AssignValueColor(if FT >= 0 then if FT > FT[1] then FT.color("Positive and Up") else FT.color("Positive and Down") else if FT < FT[1] then FT.color("Negative and Down") else FT.color("Negative and Up"));
ZeroLine.SetDefaultColor(GetColor(5));;
 
@cos251 I really like the Ready Aim Fire indicator, now simpler trading come out with the new version of the RAF.. have you see it? can you work on it.
 
@cos251 Have you made any heads or tails on reverse engineering Carter's RAF indicator? Great respect for him as a trader and I love his squeeze strategy, but his indicators are way over priced. Saw a short preview of his RAF and was intrigued. Thanks for any help you can provide!
 
@solaris We do not promote or allow piracy within our community. Please only post the code if you have proper permission from the creator or if the code is already made available publicly by its author.
 
Agreed BenTen. If anyone can tell me what the indicator is using outside of the FisherTransform I'm happy to hack away at it.

I can also add that from the chart I posted above, I'm using the FisherTransform and CCI in combination as an upper study to provide indication of turning points on multiple timeframes. I have found this to be a great indicator but obviously needs a lot of refining.
 
Last edited by a moderator:
More reference material, image below shows 5m, 15m and 30m chart for ZM Today. You can see how higher timeframes filter signals. I'd like to try and incorporate filtering signals from higher timeframes to lower one's. I'm trying to work on this as I have time.

o4PY2xv.png
 
@cos251 John Carter had a short video out last night that showed SPOT in the "fire" mode of the RAF on the daily chart. He likes to use Daily charts for swings. In this case with SPOT he was recommending to start with a put credit spread and then maybe add a long call position in the coming days as the RAF signal is confirmed with price movement. He also likes 30 min charts for intraday positions.
 
Last edited by a moderator:
I would be interested in the power thrust bars. (But I have a feeling it has to do with RSI OB/OS levels.) His code is a modified version of David Elliott's FW_Fisher transform, which uses fisher transformed stochastic. David Starr just changed the stochastics to use exponential moving averages, nothing more. There is a site FW trader where a group of people used to modify and develop david elliot's ideas for free. The site is still available. I will post the code here and website.

I found out David starr used the exponential moving average "the purple line" since you can download the scan code for free. The voodoo lines are nothing more than the fibgrid created by david elliott which is also mentioned on the fwtrader site. I just hate how one line of code changed and Carter charges so much for the indicators that used to be free.

Here is the link for ToS software section.

Here is the code for the Fisher stochastic. I have already changed it to exponential moving average:
 
Last edited by a moderator:
Agreed BenTen. If anyone can tell me what the indicator is using outside of the FisherTransform I'm happy to hack away at it.

I can also add that from the chart I posted above, I'm using the FisherTransform and CCI in combination as an upper study to provide indication of turning points on multiple timeframes. I have found this to be a great indicator but obviously needs a lot of refining.
Hi cos251, I copied over your FisherTransform CCI combo indicator code and really like it. Good work. Please let me know if you have any updates. I do have the RAF Pro version from Carter and so far I am not seeing a lot of good signals on the 2 min charts. Still playing with it.
 
Hi cos251, I copied over your FisherTransform CCI combo indicator code and really like it. Good work. Please let me know if you have any updates. I do have the RAF Pro version from Carter and so far I am not seeing a lot of good signals on the 2 min charts. Still playing with it.

What do you think the power thrust signals are dervived from? RSI OB/OS? I know the purple lines is just same purple line from the original version which is nothing more than the 17 X 5 stochastic which is in the code I posted
 
Status
Not open for further replies.

New Indicator: Buy the Dip

Check out our Buy the Dip indicator and see how it can help you find profitable swing trading ideas. Scanner, watchlist columns, and add-ons are included.

Download the indicator

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

87k+ Posts
394 Online
Create Post

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