Looking for Fisher/SOAP Scan - futures io
futures io futures trading



Looking for Fisher/SOAP Scan


Discussion in ThinkOrSwim

Updated by ncdsquare
    1. trending_up 791 views
    2. thumb_up 0 thanks given
    3. group 3 followers
    1. forum 2 replies
    2. attach_file 0 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 100,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Thread Tools Search this Thread
 

Looking for Fisher/SOAP Scan

  #1 (permalink)
Creedmoor
 
 
Posts: 5 since Oct 2018
Thanks: 1 given, 0 received

Looking for Fisher/SOAP Scan

Though I've been trading on and off for the last year, I'm still a relative novice to TOS tools and features (I feel that way anyway - there's a lot to use and learn). I'm also a relative novice to day trading, though I've taken course, developed a plan and have a mentor who gives me tips and coaching as a navigate the difficult waters of DT.

I'm day trading using ToS and make entry/exit decisions based on three indicators:
  1. 3 SMA (4, 9, 18)
  2. FW_FisherTransformer
  3. FW_SOAP

I find myself missing DT candidates in my watchlist because I don't have a scan that notifies me when stocks in my watchlist is setting up for entry/exit (or is ready for entry/exit). I'm going through it manually & am still developing the discipline to go them all before deciding on entry. I've missed many an entry or extra profit by not having a scan to run that gives me all that fit so I can review quickly before entry. I'd like to borrow or buy a scan that does this.

I'm a tech head by profession but haven't had the time to learn Thinkscript in detail. I've searched the Thinkscript reserved words and library to understand how to use the FW_FisherTransfomer in a scan. I also found some code that I've added for a custom scalper using Fisher. It's pasted below. I love this piece of code and have used it for a few months. From it, I've concluded that "fish" is a reserved word but I can't find it any where.

Can some one point me in the right direction on how to use Fisher and SOAP as a study for a DT scan? Thanks for any direction or advice (and thanks Lawyer Trader for sharing the code for the scalper. It's done me well since I found it on your blog site).

#The Fisher Scalper Color Bars, courtesy of The Lawyer Trader. Based on the fisher #transform, this indicator is pretty easy to comprehend. #The bars are colored Green (bullish), White (transition #from bull to bear), Red (bearish), Violet (bearish #transitioning to bullish)

declare lower;

input price = hl2;
input length = 10;

def maxHigh = Highest(price, length);
def minLow = Lowest(price, length);
def range = maxHigh - minLow;
rec 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;
rec fish = 0.5 * (log((1 + truncValue) / (1 - truncValue)) + fish[1]);

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

input emalength = 50;

plot ema2 = expAverage(fish, emalength);

FTOneBarBack.SetDefaultColor(GetColor(1));
FT.SetDefaultColor(GetColor(8));
ZeroLine.SetDefaultColor(GetColor(5));

def bullish = if ft > ema2 then 1 else 0;
def bearish = if ft < ema2 then 1 else 0;

assignpriceColor(if ft>ftonebarback and bullish then color.green else if ft>ftoneBarBack and bearish then color.violet else if ft<ftoneBarBack and bearish then color.red else if ft<ftOneBarBack and bullish then color.white else color.gray);

Reply With Quote

Can you help answer these questions
from other members on futures io?
Convert NinjaTrader NT7 indicator to Tradestation EasyLanguage and RADARSCREEN
Platforms and Indicators
Issue meeting order entry conditions
Elite Automated NinjaTrader Trading
Last 5 minutes Label
ThinkOrSwim
Moving average with Lag reduction
NinjaTrader
Linux?
ThinkOrSwim
 
Best Threads (Most Thanked)
in the last 7 days on futures io
Spoo-nalysis ES e-mini futures S&P 500
63 thanks
FIO Journal Challenge - June 2020 edition w/SharkIndicators
59 thanks
June Charity Fundraiser - Feeding hungry families
51 thanks
Bookmap vs Jigsaw Daytradr
29 thanks
Fixed vs trailing stops
28 thanks
 
  #2 (permalink)
NY, NY
 
 
Posts: 67 since Dec 2011
Thanks: 27 given, 19 received

Hi,

Review this:
 
Code
# Commented out - unnecessary
#declare lower;

#Changed inputs to defs
def price = hl2;
def length = 10;

def maxHigh = Highest(price, length);
def minLow = Lowest(price, length);
def range = maxHigh - minLow;
rec 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;
rec fish = 0.5 * (log((1 + truncValue) / (1 - truncValue)) + fish[1]);

# Changed plots to defs
def FTOneBarBack = fish[1];
def FT = fish;

# Commented out - unnecessary
# plot ZeroLine = 0;

# Changed input to def
def emalength = 50;

def ema2 = expAverage(fish, emalength);

# Commented out - unnecessary
# FTOneBarBack.SetDefaultColor(GetColor(1));
# FT.SetDefaultColor(GetColor(8));
# ZeroLine.SetDefaultColor(GetColor(5));

# Changed defs to plots - only one plot at a time
# This will find Bullish candidates
# Switch # to find Bearish candidates
plot bullish = if ft > ema2 then 1 else 0;
#plot bearish = if ft < ema2 then 1 else 0;

# Commented out - unnecessary
# assignpriceColor(if ft>ftonebarback and bullish then color.green else if ft>ftoneBarBack and bearish then color.violet else if ft<ftoneBarBack and bearish then color.red else if ft<ftOneBarBack and bullish then color.white else color.gray);


Try this:
 
Code
def price = hl2;
def length = 10;

def maxHigh = Highest(price, length);
def minLow = Lowest(price, length);
def range = maxHigh - minLow;
rec 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;
rec fish = 0.5 * (log((1 + truncValue) / (1 - truncValue)) + fish[1]);

def FTOneBarBack = fish[1];
def FT = fish;

def emalength = 50;

def ema2 = expAverage(fish, emalength);

plot bullish = if ft > ema2 then 1 else 0;
#plot bearish = if ft < ema2 then 1 else 0;

Hope this helps...

Good Luck and Good Trading


Last edited by netarchitech; April 18th, 2019 at 05:05 PM.
Reply With Quote
 
  #3 (permalink)
Creedmoor
 
 
Posts: 5 since Oct 2018
Thanks: 1 given, 0 received

Thanks


I've reviewed the code changes you've made, and am adding it to TOS now.

I'll let you know how I works - thanks!!!

Reply With Quote



futures io Trading Community Platforms and Indicators ThinkOrSwim > Looking for Fisher/SOAP Scan




Upcoming Webinars and Events
 

Free BloodHound Licenses for everyone!

June
 

Every journal equals ten meals for the hungry

June
     



Copyright © 2020 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts