ADX_CLOUDS for THINKORSWIM - ThinkOrSwim | futures io social day trading
futures io futures trading


ADX_CLOUDS for THINKORSWIM
Updated: Views / Replies:329 / 0
Created: by alagrande Attachments:0

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 donít 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

Reply
 
Thread Tools Search this Thread
 

ADX_CLOUDS for THINKORSWIM

  #1 (permalink)
glendale ca usa
 
 
Posts: 49 since Sep 2017
Thanks: 2 given, 40 received

ADX_CLOUDS for THINKORSWIM

#ADX_CLOUD
# DI, ADX, and Trend Indicator (updated 12/18/13)
declare lower;


INPUT ATRLENGTH = 25;
input DI_length2 = 3;

input DI_length = 8;
input DI_length3 = 63;

input ADX_length = 25;
input Strong_Trend = 25;
input DisplayStrengthMeter = {"No", default "Yes"};
#addlabel (yes, "adx", color.CYAN);
INPUT PRICE = CLOSE;

plot MiddleLine = 20;
MiddleLine.SetStyle(Curve.LONG_DASH);
MiddleLine.setLineWeight(2);
MiddleLine.setDefaultColor(color.gray);

def DX = if (diplus ( di_length) + diminus(di_length) > 0) then 100 * AbsValue(diplus(di_length) - diminus(di_length)) / (diplus(di_length) + diminus(di_length)) else 0;









PLOT "DI+" = DIPlus(DI_length);
"DI+".SetDefaultColor(Color.white);
"DI+".SetLineWeight(1);

PLOT "DI3+" = .8* DIPlus(DI_length3);
"DI3+".SetDefaultColor(Color.white);


#plot "DI-2" = DIMinus(DI_length + DI_length2)/2;
plot "DI-" = DIMinus(DI_length);
"DI-".SetDefaultColor(Color.gray);
"DI-".SetLineWeight(1);
ADDcloud("DI-", "DI+", color.red, color.green);

AddLabel ("di+" > "di+"[1] and "di-" < "di-"[1], " 1 ", (color.green));
#AddLabel( "di+" > "di+"[1], " 1 ", (color.green));
AddLabel( "di-" > "di-"[1] AND "di+" < "di+"[1], " 1 ", (color.red));

######################
input lengthR = 14;
input over_Bought = 70;
input over_Sold = 30;
#input price = close;
input averageType = AverageType.WILDERS;
input showBreakoutSignals = no;

def NetChgAvg = MovingAverage(averageType, price - price[1], lengthR);
def TotChgAvg = MovingAverage(averageType, AbsValue(price - price[1]), lengthR);
def ChgRatio = if TotChgAvg != 0 then NetChgAvg / TotChgAvg else 0;

DEF RSI = 50 * (ChgRatio + 1);

AddLabel(yes, " RSI(M)" +Round(RSI, 1) , if RSI > 52 then color.light_green else if RSI < 48 then color.dark_red else color.gray);
########
middleLine.AssignValueColor(if RSI > 52 then COLOR.CYAN else if RSI<48 then color.PINK else Color.gray);
########
input lengthF = 13;

def FI = ExpAverage(data = (close - close[1]) * volume, lengthF);
AddLabel(yes, " FI(M)" +Round(FI, 1) , if FI > 0 then color.light_green else if FI < 0 then color.dark_red else color.gray);



##AddLabel(yes, " FI(M)" +Round(FI, 1) , if FI > 0 then color.light_green else if FI < 0 then color.dark_red else color.gray);
#def RsiDecreaseBars = if RsiDecrease then RsiIncreaseBars[1] + 1 else 0;
#FISHER to add color to ADX LINE-------------
input priceft = hl2;
input lengthft = 10;

def maxHigh = Highest(price, lengthft);
def minLow = Lowest(price, lengthft);
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]);

def FTOneBarBack = fish[1];
plot FT = fish;
FT.hide();


##

#-------------------------------------------


plot ADX = Average ( DX, adx_length);
ADX.DefineColor("Stronger", Color.CYAN);
ADX.DefineColor("Weaker", Color.PINK);
ADX.AssignValueColor(if ft > 0 and adx>20 then ADX.Color("Stronger" ) else if ft < 0 and adx>20 then color.pink else Color.gray);
ADX.SetPaintingStrategy(PaintingStrategy.LINE);
ADX.setLineWeight(2);
ADX.SetStyle(CurvE.MEDIUM_DASH);

#plot Line20 = 20;
#Line20.SetStyle(Curve.LONG_DASH);

AddCloud(adx, 20, ADX.Color("stronger" ));
def weaker = if ft < 0 then ADX else Double.NaN;
AddCloud(weaker, 20, ADX.Color("weaker" ));

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



###


AddLabel (yes, ((" 1 ")), if FI>200 then CreateColor(0, 0, 255) else if FI<-200 then CreateColor(255, 255, 0) else Color.LIGHT_GRAY);
#
AddLabel (yes, ((" 2 ")), if FI>2000 then CreateColor(0, 85, 255) else if FI<-2000 then CreateColor(255, 213, 0) else Color.LIGHT_GRAY);
#
AddLabel (yes, ((" 4 ")), if FI>4000 then CreateColor(0, 128, 255) else if FI<-4000 then CreateColor(255, 170, 0) else Color.LIGHT_GRAY);
#
AddLabel (yes, ((" 6 ")), if FI>6000 then CreateColor(0, 170, 255) else if FI<-6000 then CreateColor(255, 128, 0) else Color.LIGHT_GRAY);
#
AddLabel (yes, ((" 8 ")), if FI>8000 then CreateColor(0, 213, 255) else if FI<-8000 then CreateColor(255, 85, 0) else Color.LIGHT_GRAY);
#
AddLabel (yes, ((" 10 ")), if FI>10000 then CreateColor(0, 255, 255) else if FI<-10000 then CreateColor(255, 0, 0) else Color.LIGHT_GRAY);



#######

Reply With Quote
The following user says Thank You to alagrande for this post:

Reply



futures io > > > > ADX_CLOUDS for THINKORSWIM




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
 

Show us your trading desks and win $1,400 in prizes w/Earn2Trade

November
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
VSA for ThinkorSwim cbritton ThinkOrSwim Programming 430 December 11th, 2018 02:50 AM
Renko charts or indicator for Thinkorswim. Is it possible? trader555 ThinkOrSwim Programming 8 March 1st, 2016 10:53 AM
ThinkOrSwim (TOS) Trading Platform Big Mike ThinkOrSwim 30 July 24th, 2011 08:43 AM
Auto futures trading on ThinkorSwim optionzen ThinkOrSwim Programming 6 June 3rd, 2011 03:36 PM
Seemingly unsolvable error messages in ThinkorSwim Alerts Txurruka ThinkOrSwim Programming 1 October 13th, 2010 10:04 AM


All times are GMT -4. The time now is 05:30 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