EasyLanguage ADXVMA Indicator - EasyLanguage Programming | futures io social day trading
futures io futures trading


EasyLanguage ADXVMA Indicator
Updated: Views / Replies:9,494 / 15
Created: by Big Mike Attachments:3

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
 3  
 
Thread Tools Search this Thread
 

EasyLanguage ADXVMA Indicator

  #1 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,356 since Jun 2009
Thanks: 29,482 given, 84,104 received

EasyLanguage ADXVMA Indicator

Here is the ADXVMA function and indicator for EasyLanguage - TradeStation/MultiCharts. I am unsure of the original author, this is a conversion from NinjaTrader.

I've built it as a function so you can use it in signals easily. The attached .pla MultiCharts file is both the function and the indicator.

I know that some NT users like to set the rising and falling plots to transparent so they are left with "shelfs" for the neutral plot. I tried, but there is apparently no way to do this in EasyLanguage. I've emailed MultiCharts for help.

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


Function:
 
Code
                            
// Big Mike Trading https://futures.io

// April 17 2010
// Converted from NinjaTrader version, original author unknown
// Function

inputs:     
    
Price (NumericSeries),
    
Length (NumericSimple);

vars:
    
TR(0),
    
DI_Diff(0),
    
DI_Sum(0),
    
ma(0),
    
pdm(0),
    
mdm(0),
    
pdi(0),
    
mdi(0), 
    
DI_Factor(0), 
    
VI(0), 
    
diff(0), 
    
HHV(0), 
    
LLV(0),
    
WeightDM(Length), 
    
WeightDI(Length), 
    
WeightDX(Length),
    
ChandeEMA(Length),
    
out(0),
    
j(0);

once ma=Price;    

if(
Price>Price[1]) then pdm=Price-Price[1] else mdm=Price[1]-Price;//This array is not displayed.

pdm=((WeightDM-1)*pdm[1] + pdm)/WeightDM;//ema.
mdm=((WeightDM-1)*mdm[1] + mdm)/WeightDM;//ema.

TR=pdm+mdm;

if (
TR>0then begin    pdi=pdm/TRmdi=mdm/TRend
 
else begin
    pdi
=0;
    
mdi=0;
end;

pdi=((WeightDI-1)*pdi[1] + pdi)/WeightDI;//ema.
mdi=((WeightDI-1)*mdi[1] + mdi)/WeightDI;//ema.
DI_Diff=pdi-mdi;
  
if (
DI_Diff<0then  DI_Diff= -DI_Diff;//Only positive momentum signals are used.

DI_Sum=pdi+mdi;
DI_Factor=0;//Zero case, DI_Diff will also be zero when DI_Sum is zero.

if (DI_Sum>0then out=DI_Diff/DI_Sum else out=0;

out=((WeightDX-1)*out[1] + out)/WeightDX;

if (
out>out[1]) then begin HHV=outLLV=out[1]; end 
 
else begin
    HHV
=out[1];
    
LLV=out;
end;

for 
1 to Length-1 begin    
    
if(out[j+1]>HHV)then HHV=out[j+1];
    if(
out[j+1]<LLVthen LLV=out[j+1];
end;

diff HHV LLV;
VI=0;

if (
diff>0then  VI=(out-LLV)/diff;
          
ma=((ChandeEMA-VI)*ma[1]+VI*Price)/ChandeEMA;//Chande VMA formula with ema built in.

ADXVMA ma
Indicator:
 
Code
                            


// Big Mike Trading https://futures.io
// April 17 2010
// Indicator

inputs:
    
Price (close),
    
length (14);
    
vars:
    
av (0);
    
av ADXVMA(Pricelength);

Plot1(av"Rising");
Plot2(av"Falling");
Plot3(av"Neutral");
Plot4(av"ADXVMA"iff(av av[1], GetPlotColor(3), iff(av av[1], GetPlotColor(1), GetPlotColor(2))));

NoPlot(1);
NoPlot(2);
NoPlot(3); 
Attached is the .pla for MultiCharts.

Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Attached Files
Register to download File Type: pla ADXVMA.pla (7.6 KB, 195 views)
Reply With Quote
The following 12 users say Thank You to Big Mike for this post:
 
  #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)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,356 since Jun 2009
Thanks: 29,482 given, 84,104 received


If you set Rising and Falling to your chart background color (ie: black), and change ADXVMA plot to Point instead of line, it works "fairly well" (not perfect).

Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
 
  #4 (permalink)
Elite Member
New Brunswick, NJ
 
Futures Experience: Intermediate
Platform: N/A
Favorite Futures: N/A
 
Posts: 133 since Jun 2009
Thanks: 46 given, 154 received

You can probably use an input flag and if set to true only plot when av = av[1]. If set to false, plot everything.

Reply With Quote
 
  #5 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,356 since Jun 2009
Thanks: 29,482 given, 84,104 received


thatguy View Post
You can probably use an input flag and if set to true only plot when av = av[1]. If set to false, plot everything.

Thx.

I tried something similar to that, the problem is that unless you choose a Point plot, the lines from bar X will be connected to bar Y, even for just the neutral plot (av = av[1]). Using point/dot is not a show stopper, but it seems they really need a transparent method.

I'm going to leave it be because I don't really use this indicator, but you guys should improve it and share it back

Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
 
  #6 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,356 since Jun 2009
Thanks: 29,482 given, 84,104 received

Hey guys, I was playing with another indicator tonight and realized I had a real simple way to make ADXVMA plot just the 'support and resistance' lines that many of you like (as opposed to the falling/rising lines).

Here is the new EasyLanguage code. You might want to create a new Indicator name for this version, like "ADXVMA SR Only" for instance, to keep the original indicator intact:

 
Code
                            
inputs:

    
Price (close),
    
length (14);
    
vars:
    
av (0),
    
lastav (0);
    
av ADXVMA(Pricelength);

if 
av av[1then lastav av;
Plot1(lastav"ADXVMA"); 
Here are some screen shots. You can see it just plots the last S/R line only.

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


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


Let me know if its useful.

Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
The following 3 users say Thank You to Big Mike for this post:
 
  #7 (permalink)
Membership Revoked
British Columbia
 
Futures Experience: Advanced
Platform: NINJA
Broker/Data: ZEN
Favorite Futures: Crude
 
Posts: 1,091 since May 2010
Thanks: 192 given, 484 received

Hi Mike,

I was trying to find out what exactly adxvma is, can't seem to google it, could you explain the calculation?

Thanks,



Big Mike View Post
Hey guys, I was playing with another indicator tonight and realized I had a real simple way to make ADXVMA plot just the 'support and resistance' lines that many of you like (as opposed to the falling/rising lines).

Here is the new EasyLanguage code. You might want to create a new Indicator name for this version, like "ADXVMA SR Only" for instance, to keep the original indicator intact:

 
Code
                            
inputs:
    
Price (close),
    
length (14);
    
vars:
    
av (0),
    
lastav (0);
    
av ADXVMA(Pricelength);

if 
av av[1then lastav av;
Plot1(lastav"ADXVMA"); 
Here are some screen shots. You can see it just plots the last S/R line only.

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


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


Let me know if its useful.

Mike


Reply With Quote
 
  #8 (permalink)
Elite Member
New Brunswick, NJ
 
Futures Experience: Intermediate
Platform: N/A
Favorite Futures: N/A
 
Posts: 133 since Jun 2009
Thanks: 46 given, 154 received


syxforex View Post
Hi Mike,

I was trying to find out what exactly adxvma is, can't seem to google it, could you explain the calculation?

Thanks,


If you scroll up a few posts, Mike has posted the code in plain text.

Reply With Quote
 
  #9 (permalink)
Membership Revoked
British Columbia
 
Futures Experience: Advanced
Platform: NINJA
Broker/Data: ZEN
Favorite Futures: Crude
 
Posts: 1,091 since May 2010
Thanks: 192 given, 484 received

I see that. I don't know what the vars represent, ie, pdi... etc. I was looking for a description in English if anybody has one?


thatguy View Post
If you scroll up a few posts, Mike has posted the code in plain text.


Reply With Quote
 
  #10 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,356 since Jun 2009
Thanks: 29,482 given, 84,104 received


I believe in laymens terms it uses a VMA and ADX together to plot the MA. The MA is primarily based on the VMA of price but uses the ADX values to determine volatility, adjusting the VMA by the volatility.

As I am not the original author I can't say for sure, but that is what I see from glancing at the code.

Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
The following 2 users say Thank You to Big Mike for this post:

Reply



futures io > > > > > EasyLanguage ADXVMA Indicator

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Updating schedule soon for June

June
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Want your EasyLanguage indicator created, free? Big Mike The Elite Circle 613 March 6th, 2018 06:03 AM
EasyLanguage SuperTrend indicator Big Mike EasyLanguage Programming 79 August 10th, 2016 03:34 AM
EasyLanguage Chart Markup Indicator Big Mike EasyLanguage Programming 8 April 29th, 2010 07:10 PM
EasyLanguage ZeroLagEMA indicator Big Mike EasyLanguage Programming 1 April 10th, 2010 01:16 PM
EasyLanguage ZeroLagWMA indicator Big Mike EasyLanguage Programming 1 April 10th, 2010 01:09 PM


All times are GMT -4. The time now is 09:58 PM.

Copyright © 2018 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 2018-06-21 in 0.13 seconds with 20 queries on phoenix via your IP 54.198.158.24