$$$uper indicator for TOS - ThinkOrSwim | futures io social day trading
futures io futures trading


$$$uper indicator for TOS
Updated: Views / Replies:957 / 1
Created: by alagrande Attachments:1

Welcome to futures io.

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

futures io is the largest futures trading community on the planet, with over 100,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you dont need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

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

 
 
Thread Tools
 

$$$uper indicator for TOS

 
glendale ca usa
 
 
Posts: 49 since Sep 2017
Thanks: 2 given, 40 received

$$$uper indicator for TOS

declare lower;

##WILL_RSI_FISHER_ ### ###
###########################ONE MIN###
input lengthPercent = 30;#34
input over_BoughtPercent = -20;
input over_SoldPercent = -100;
input price = close;

input averageTypePercent = AverageType.WILDERS;
#input AggregationPeriod = { "1 min", default "5 min", "15 min", "30 min", "60 min", "4 hours"};
#William
#input aggregationPeriod = AggregationPeriod.five_MIN;
def hh = Highest(high, lengthPercent);
def ll = Lowest(low, lengthPercent);
def result = if hh == ll then -100 else (hh - close) / (hh - ll) * (-100);

plot WR = 1.4* if result > 0 then 0 else result;
WR.HIDEBubble();

WR.SetDefaultColor(GetColor(1));
WR.SetPaintingStrategy(PaintingStrategY.LINE);

WR.AssignValueColor(if WR < over_SoldPercent then COLOR.MAGENTA else if WR > over_BoughtPercent then COLOR.CYAN else COLOR.YELLOW);
WR. setLineWeight (2);

plot DL = 0;
DL.HideBubble();
DL.SetDefaultColor(Color.WHITE);
#plot DL100 = -100;
#DL100.HideBubble();
#DL100.SetDefaultColor(Color.WHITE);
#DL.SetLineWeight(1);

##PERCENT WILLIAM RSI ### ### 5MIN####
###########################
input lengthPercent5 = 14;#30
input over_BoughtPercent5 = -20;#20
input over_SoldPercent5 = -100;#80
#input price = close;
input averageTypePercent5 = AverageType.WILDERS;

def hh5 = Highest( high, lengthPercent5);
def ll5 = Lowest(low, lengthPercent5);
def result5 = if hh5 == ll5 then -100 else (hh5 - close) / (hh5 - ll5) * (-100);

plot WR5 = 1.4* if result5 > 0 then 0 else result5;
WR5.HIDEBubble();
WR5.SetDefaultColor(GetColor(1));

WR5.AssignValueColor(if WR5 < over_SoldPercent then COLOR.MAGENTA else if WR5 > over_BoughtPercent then COLOR.CYAN else COLOR.YELLOW);
WR5. setLineWeight (2);




#############
AddLabel (yes, (("0")), if WR> 80 then Color.cyan else IF WR < -80 then Color.pink ELSE COLOR.light_GRAY );

AddLabel (yes, (("0")), if WR5> 80 then Color.cyan else IF WR5 < -80 then Color.pink ELSE COLOR.light_GRAY );

AddLabel (yes, ((" + ")), if WR> WR[1] then color.green else if WR5>WR5[5] then Color.cyan else IF WR < WR[1] then color.red else if WR5<WR5[5] then Color.pink ELSE COLOR.light_GRAY );

AddLabel (yes, (("WR5")), if WR5> -50 AND WR5>WR5[1] then Color.GREEN else IF WR5< -50 AND WR5<WR5[1] then Color.RED ELSE COLOR.light_GRAY );


#AddLabel (yes, (("+")), if WR> WR[1] AND WR5>WR5[5] and wr10>wr10[10] and wr30>wr30[30] then Color.cyan else IF WR < WR[1] AND WR5<WR5[5] and wr10<wr10[10] and wr30>wr30[30] then Color.pink ELSE COLOR.light_GRAY );



####################################################

##FIHER###############################
input priceF = hl2;
input lengthF = 10;

def maxHigh = Highest(priceF, lengthF);
def minLow = Lowest(priceF, lengthF);
def range = maxHigh - minLow;
def value = if IsNaN(priceF)
then Double.NaN
else if IsNaN(range)
then value[1]
else if range == 0
then 0
else 0.66 * ((priceF - 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 = 40 * fish[1];
FTOneBarBack.SETDefaultColor (COLOR.GREEN);
FTOneBarBack.HIDEBubble();
plot FT = 40 * fish;
FT.HIDEBubble();
FT.SETDefaultColor (COLOR.RED);

plot WRMIX = - if result > 0 then 0 else result *FT/50;
WRMIX.HIdeBubble();
WRMIX.SETDefaultColor (COLOR.WHITE);
WRMIX.SETLineWeight (2);

AddLabel (yes, (("MIX")), if WRMIX >= WR5[2] then Color.GREEN else if WRMIX <= WR5[2] then Color.RED else Color.LIGHT_GRAY );

AddLabel (yes, (("MIX")), if WRMIX >= WRMIX[2] then Color.RED else if WRMIX <= WRMIX[2] then Color.GREEN else Color.LIGHT_GRAY );

#AddLabel (yes, (("MIX")), if WR5 = WRMIX[2] then Color.GREEN else if WR5 < WRMIX[2] then Color.RED else Color.LIGHT_GRAY );
####################################################################
#AssignPriceColor( if WR> WR[1] AND WR5>WR5[5] then CreateColor(0, 205, 240) else if WR< WR[1] AND WR5<WR5[5] then Color.RED else Color.CURRENT );
################################################################
#AssignPriceColor( if FT > FT[1] then CreateColor(0, 205, 240) else if FT < FT[1] then Color.YELLOW else Color.CURRENT );
######### FISHER PLOTS ###############################
plot FT_= if close >= 0 then -60 else Double.NaN;
FT_.HideBubble();
FT_.SetPaintingStrategy (PaintingStrategy.DASHES);
###upsugnal.SetDefaultColor(Color.green);
FT_.SetLineWeight (2);
FT_.AssignValueColor( if ft> FT[1] then Color.green else IF FT < FT[1] then Color.red ELSE COLOR.light_GRAY );

AddLabel (yes, "/", Color.GRAY);
AddLabel (yes, (("FT")), if FT > FT[2] then Color.GREEN else if FT < FT[2] then Color.RED else Color.LIGHT_GRAY );
AddLabel (yes, "/", Color.GRAY);


AddLabel (yes, (("WRFT")), if WR5> -60 AND FT>FT[1] then Color.GREEN else IF WR5< -100 AND FT<FT[1] then Color.RED ELSE COLOR.light_GRAY );

#plot CCI_0 = if close >= 0 then -100 else Double.NaN;
#CCI_0.HideBubble();
#CCI_0.SetPaintingStrategy (PaintingStrategy.DASHES);

#CCI_0.SetLineWeight (2);
#CCI_0.AssignValueColor(if FT > FT[1] then Color.GREEN else if FT < FT[1] then Color.RED else Color.GRAY);

input LookBack6 = 52;#6
input LookBack5 = 6;#5
input LookBack3 = 3;#3

#METER###################################################################
input ShowADXValue = {DoNotShow, OnLeft, default OnRight};
input DisplayStrengthMeter = {"No", default "Yes"};
input FixedValueBkgndColor = {default "No", "Yes"};

def ADX6 = DMI(LookBack6);#.ADX
def ADX3 = DMI(LookBack3);#.ADX
def ADX = DMI(LookBack5);#.ADX
def DIBull = DIPlus(LookBack5);
def DIBear = DIMinus(LookBack5);


def BullishTrend = DIBull >= DIBear;

def ShowDigits;

switch (ShowADXValue)
{
case DoNotShow:
ShowDigits = 0;
case OnLeft:
ShowDigits = 1;
case OnRight:
ShowDigits = 2;
}

def HighlightColor =
if (ADX >= 50) then 51 else
if (ADX >= 40 and ADX < 50) then 51 else
if (ADX >= 30 and ADX < 40) then 102 else
if (ADX >= 20 and ADX < 30) then 153 else
if (ADX >= 10 and ADX < 20) then 204 else
255;


def ADXBkgndValueR = 55;#25
def ADXBkgndValueG = 55;#25
def ADXBkgndValueB = 55;#25


#@@
AddLabel (yes, "/", Color.WHITE);

AddLabel( ShowDigits == 2 , Floor(ADX6) - Floor(ADX) - Floor(ADX3), CreateColor(if !BullishTrend then 255 else HighlightColor, if !BullishTrend then HighlightColor else 255 , 51));
#AddLabel (yes, "/", Color.WHITE);
#@@
####################################################################
AssignPriceColor( IF Floor(ADX6) - Floor(ADX) - Floor(ADX3) THEN CreateColor(if !BullishTrend then 255 else HighlightColor, IF !BullishTrend then HighlightColor else 255 , 51) ELSE COLOR.CURRENT);
################################################################


input lengthFI = 13;
#DEF FI = ExpAverage(data = (close - close[1]) * volume, lengthFI);

###ADX1
###AddLabel (yes, " ", Color.GRAY);
AddLabel (yes, ((" ")), if Floor(ADX6 > ADX6[3]) and Floor(ADX > ADX[6]) and Floor(ADX3 > ADX3[9] ) then Color.CYAN else if Floor(ADX6 < ADX6[3]) and Floor(ADX < ADX[6]) and Floor(ADX3 < ADX3[9]) then Color.ORANGE else Color.LIGHT_GRAY );

###AddLabel (yes, " ", Color.GRAY);
AddLabel (yes, ((" ")), if Floor(ADX6 > ADX6[3]) then Color.CYAN else if Floor(ADX6 < ADX6[3]) then Color.ORANGE else Color.LIGHT_GRAY );

#END CODE

Attached Thumbnails
$$$uper indicator for TOS-screen-shot-2018-04-28-1.28.09-pm.png  
The following 2 users say Thank You to alagrande for this post:
 
 
Dallas
 
Trading Experience: Beginner
Platform: ninjatrader
Favorite Futures: crude cl
 
Posts: 5 since Aug 2016
Thanks: 0 given, 1 received

Thank you for all your hard work. I was trying to figure out the best way to use this indicator. Why do you have certain lines Id code grayed out?


Sent using the futures.io mobile app


 



futures io > > > > $$$uper indicator for TOS
Thread Tools



Upcoming Webinars and Events (4:30PM ET unless noted)
 

futures io is celebrating 10-years w/ over $18,000 in prizes!

Right now
 

$250 Amazon Gift Cards with our "Thanks Contest" challenge!

Right now
 

Webinar: The Seven Most Effective Trading Setups w/Peter Davies @ Jigsaw

Oct 17
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
PriceActionSwing Indicator for TOS bmtrading9 ThinkOrSwim 11 November 19th, 2017 09:11 AM
RVol indicator in ToS? bgrosse ThinkOrSwim 0 October 31st, 2016 10:58 AM
looking for a good indicator TOS itachi1991 The Elite Circle 1 December 4th, 2014 03:22 PM
MML indicator for TOS sam1197 ThinkOrSwim Programming 0 September 22nd, 2011 08:29 PM
Can this be TOS indicator be converted? suchen The Elite Circle 0 October 22nd, 2009 11:04 PM


All times are GMT -4. The time now is 09:21 AM. (this page content is cached, log in for real-time version)

Copyright © 2019 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