Trying to create SwamiChart for ADX - MultiCharts | futures io social day trading
futures io futures trading


Trying to create SwamiChart for ADX
Updated: Views / Replies:834 / 0
Created: by Cabs 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 90,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
 

Trying to create SwamiChart for ADX

  #1 (permalink)
Elite Member
New York
 
Futures Experience: Intermediate
Platform: MultiCharts
Favorite Futures: Stocks
 
Posts: 3 since Mar 2012
Thanks: 0 given, 0 received

Trying to create SwamiChart for ADX

I have finished reading the articles on SwamiCharts and how to create them in the latest issues of TA of Stocks&Commodities.
I took a stab at creating these types of indicators. I successfully made one for the Inverse Fisher Stochastic but I am struggling with ADX.

Does anyone have experience using the 'For' Loop in Easylanguage?
It seems like the built in Function for ADX is not recalculating for every new value for 'N';

I can't seem to get values for different timeframes in the indicator only 1. Thanks for any help.



 
Code
// Swami ADX by Steven Caban 5/2/2012

Vars:
	N(0),
	Color1(0),
	Color2(0),
	Color3(0);

Arrays:
	adxval[48, 2](0);

For N = 12 to 48 Begin
	adxval[N, 2] = adxval[N, 1];                                  
	adxval[N,1] = ADX(N);

	If adxval[N, 1] >= 50 Then adxval[N, 1] = 50;
	If adxval[N, 1] < 0 Then adxval[N, 1] = 0;
End;


For N = 12 to 48 Begin
	If adxval[N, 1] >= 25 Then Begin
		Color1 = 255*(2-4*(.01*adxval[N, 1]));
		Color2 = 255;
		Color3 = 0;
	End
	Else If adxval[N, 1] < 25 Then Begin
		Color1 = 255;
		Color2 = 255*4*(.01*adxval[N, 1]);
		Color3 = 0;
	End;
	If N = 12 Then Plot12(12, "S12", RGB(Color1, Color2, Color3),0,4);
	If N = 13 Then Plot13(13, "S13", RGB(Color1, Color2, Color3),0,4);
	If N = 14 Then Plot14(14, "S14", RGB(Color1, Color2, Color3),0,4);
	If N = 15 Then Plot15(15, "S15", RGB(Color1, Color2, Color3),0,4);
	If N = 16 Then Plot16(16, "S16", RGB(Color1, Color2, Color3),0,4);
	If N = 17 Then Plot17(17, "S17", RGB(Color1, Color2, Color3),0,4);
	If N = 18 Then Plot18(18, "S18", RGB(Color1, Color2, Color3),0,4);
	If N = 19 Then Plot19(19, "S19", RGB(Color1, Color2, Color3),0,4);
	If N = 20 Then Plot20(20, "S20", RGB(Color1, Color2, Color3),0,4);
	If N = 21 Then Plot21(21, "S21", RGB(Color1, Color2, Color3),0,4);
	If N = 22 Then Plot22(22, "S22", RGB(Color1, Color2, Color3),0,4);
	If N = 23 Then Plot23(23, "S23", RGB(Color1, Color2, Color3),0,4);
	If N = 24 Then Plot24(24, "S24", RGB(Color1, Color2, Color3),0,4);
	If N = 25 Then Plot25(25, "S25", RGB(Color1, Color2, Color3),0,4);
	If N = 26 Then Plot26(26, "S26", RGB(Color1, Color2, Color3),0,4);
	If N = 27 Then Plot27(27, "S27", RGB(Color1, Color2, Color3),0,4);
	If N = 28 Then Plot28(28, "S28", RGB(Color1, Color2, Color3),0,4);
	If N = 29 Then Plot29(29, "S29", RGB(Color1, Color2, Color3),0,4);
	If N = 30 Then Plot30(30, "S30", RGB(Color1, Color2, Color3),0,4);
	If N = 31 Then Plot31(31, "S31", RGB(Color1, Color2, Color3),0,4);
	If N = 32 Then Plot32(32, "S32", RGB(Color1, Color2, Color3),0,4);
	If N = 33 Then Plot33(33, "S33", RGB(Color1, Color2, Color3),0,4);
	If N = 34 Then Plot34(34, "S34", RGB(Color1, Color2, Color3),0,4);
	If N = 35 Then Plot35(35, "S35", RGB(Color1, Color2, Color3),0,4);
	If N = 36 Then Plot36(36, "S36", RGB(Color1, Color2, Color3),0,4);
	If N = 37 Then Plot37(37, "S37", RGB(Color1, Color2, Color3),0,4);
	If N = 38 Then Plot38(38, "S38", RGB(Color1, Color2, Color3),0,4);
	If N = 39 Then Plot39(39, "S39", RGB(Color1, Color2, Color3),0,4);
	If N = 40 Then Plot40(40, "S40", RGB(Color1, Color2, Color3),0,4);
	If N = 41 Then Plot41(41, "S41", RGB(Color1, Color2, Color3),0,4);
	If N = 42 Then Plot42(42, "S42", RGB(Color1, Color2, Color3),0,4);
	If N = 43 Then Plot43(43, "S43", RGB(Color1, Color2, Color3),0,4);
	If N = 44 Then Plot44(44, "S44", RGB(Color1, Color2, Color3),0,4);
	If N = 45 Then Plot45(45, "S45", RGB(Color1, Color2, Color3),0,4);
	If N = 46 Then Plot46(46, "S46", RGB(Color1, Color2, Color3),0,4);
	If N = 47 Then Plot47(47, "S47", RGB(Color1, Color2, Color3),0,4);
	If N = 48 Then Plot48(48, "S48", RGB(Color1, Color2, Color3),0,4);
End;

Reply With Quote

Reply



futures io > > > > Trying to create SwamiChart for ADX

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Jeffs ADX Jeff Castille The Elite Circle 37 December 27th, 2011 11:44 AM
Help. Simple Request on ADX if possible. whirl EasyLanguage Programming 5 August 18th, 2010 11:24 PM
Point-O and ADX vegasfoster The Elite Circle 2 March 24th, 2010 02:49 PM
ADX benbrooke NinjaTrader Programming 2 November 26th, 2009 05:37 PM
what is adx sharky Traders Hideout 4 June 15th, 2009 05:29 PM


All times are GMT -4. The time now is 07:28 AM.

Copyright © 2017 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
Page generated 2017-12-16 in 0.08 seconds with 19 queries on phoenix via your IP 54.226.113.250