adxslope - EasyLanguage Programming | futures io social day trading
futures io futures trading


adxslope
Updated: Views / Replies:1,993 / 5
Created: by anahat 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 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
 

adxslope

  #1 (permalink)
Trading Apprentice
pinole california
 
Futures Experience: Advanced
Platform: tos
Favorite Futures: options
 
Posts: 16 since Jul 2012
Thanks: 0 given, 1 received

adxslope

hello again everybody i have been busy all day cranking out this new code to try to figure out adx slope. what im trying to do is get an indicator that will tell me the slope of adx mainly what im concerned about is the value if slope is negative it will cross past zero into the negative area and vice versa for positive slope

but i am having some issues maybe you guys can help me out...
lets start off with the code..

 
Code
inputs: 
	ADXLength( 14 );
	
variables:
    time1(0),
    time0(0),
    slopenum(0),
	zero(0), 
	slopedenom(0),
	ADXValue( 0 ),
	adxvalue1( 0 );
	
time1 = (time);	
time0 = (time - 1);
zero = (0);
ADXValue = ADX(adxlength);
adxvalue1 = Adx( ADXLength-1);
SlopeNum = (ADXValue1 - adxvalue);
slopedenom =(time1 - time0);

Plot1( slopenum/slopedenom, "ADX Slope",Green ) ;
plot2(zero,"0",red);
issues
- as soon as adx slope turns negative it should immediatly go into the negative area but there is a lag can somebody explain that am i doing something wrong? attached is a picture of the indicator and adx

- also what is a good piece of code to use for time.. ie if i was to be looking at a 5 min chart the slope denom would change into a 5 minute division if 30 thirty minute divesion and 60 would be 60 min and so on and so forth

- slope = y1-y2/x1-x2 so y is my adx value and x is my time its sooo straightforward i dont know why it isnt working


Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Reply With Quote
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
  #3 (permalink)
Trading Apprentice
pinole california
 
Futures Experience: Advanced
Platform: tos
Favorite Futures: options
 
Posts: 16 since Jul 2012
Thanks: 0 given, 1 received


Oh and one more thing im sure most people on this forum know this but adx is the measure between dmi- and dmi+ so the higher the adx the stronger the trend, but it is important to not that adx doesnt discriminate between uptrend and downtrend..
to reiterate the higher the adx the stronger the trend

Reply With Quote
 
  #4 (permalink)
Trading Apprentice
pinole california
 
Futures Experience: Advanced
Platform: tos
Favorite Futures: options
 
Posts: 16 since Jul 2012
Thanks: 0 given, 1 received

 
Code
Input: NumBars(1),adxlength(14); 
variable: adxslope(0), slope(0); 

adxslope = ADX(adxlength); 
slope = arctangent((adxslope - adxslope[NumBars])/NumBars); 

plot1(slope, "slope"); 
plot2(0,"Zero");
sometimes you cant wait for others to help you but always remember to help other my motto
so your welcome forums
your welcome

Reply With Quote
 
  #5 (permalink)
Elite Member
near Paris, France
 
Futures Experience: Beginner
Platform: -
Favorite Futures: -
 
Nicolas11's Avatar
 
Posts: 1,070 since Aug 2011
Thanks: 2,232 given, 1,729 received

Hi,


anahat View Post
- also what is a good piece of code to use for time.. ie if i was to be looking at a 5 min chart the slope denom would change into a 5 minute division if 30 thirty minute divesion and 60 would be 60 min and so on and so forth

If you want to "know the timeframe" (for instance: "5 min") from the code, you could use the instructions BarType/BarType_ex and BarInterval. Please have a look in the documentation.

Nicolas


Last edited by Nicolas11; August 9th, 2012 at 04:16 AM.
Reply With Quote
The following user says Thank You to Nicolas11 for this post:
 
  #6 (permalink)
Elite Member
near Paris, France
 
Futures Experience: Beginner
Platform: -
Favorite Futures: -
 
Nicolas11's Avatar
 
Posts: 1,070 since Aug 2011
Thanks: 2,232 given, 1,729 received


anahat View Post
- as soon as adx slope turns negative it should immediatly go into the negative area but there is a lag can somebody explain that am i doing something wrong? attached is a picture of the indicator and adx

Actually, what we should see is: as soon as the ADX decreases, "slope" shall become negative.
It is the case on my computer with your above code.
You should plot the indicators (ADX and "slope") as points to better see it.

Nicolas

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

Reply



futures io > > > > > adxslope

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
     


All times are GMT -4. The time now is 04:47 PM.

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-18 in 0.10 seconds with 19 queries on phoenix via your IP 54.221.136.62