ADX calculation applied to moving average

Questions about MultiCharts and user contributed studies.
User avatar
virginiatrader
Posts: 79
Joined: 05 May 2007
Location: Virginia
Has thanked: 5 times
Been thanked: 5 times

ADX calculation applied to moving average

Postby virginiatrader » 09 Feb 2015

To the Forum:

I would like to apply the calculation for Wilder's ADX to a moving average, i.e., calculate the strength and weakness of the trend of the moving average, rather than smooth the ADX with a moving average. However, my old TS2000i and now MC 9.0 are obstinate about letting me change the values like "PriceValueH" and "PriceValueL" to values representative of an N-day exponential moving average.

Your thought and comments are appreciated in advance.

virginiatrader

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: ADX calculation applied to moving average

Postby TJ » 09 Feb 2015

To the Forum:
I would like to apply the calculation for Wilder's ADX to a moving average, i.e., calculate the strength and weakness of the trend of the moving average, rather than smooth the ADX with a moving average. However, my old TS2000i and now MC 9.0 are obstinate about letting me change the values like "PriceValueH" and "PriceValueL" to values representative of an N-day exponential moving average.
Your thought and comments are appreciated in advance.
virginiatrader
The ADX calculation requires H, L, C.

How do you propose to do that with MA alone?

User avatar
MAtricks
Posts: 789
Joined: 09 Apr 2012
Has thanked: 286 times
Been thanked: 288 times

Re: ADX calculation applied to moving average

Postby MAtricks » 09 Feb 2015

Please post the code with your request to modify it.

User avatar
virginiatrader
Posts: 79
Joined: 05 May 2007
Location: Virginia
Has thanked: 5 times
Been thanked: 5 times

Re: ADX calculation applied to moving average

Postby virginiatrader » 09 Feb 2015

TJ:

Thanks for the reply. You are correct...those values are required. I think the only way to do it would be substituting an MA of the H, L, and C for those values.

Your thoughts, please...

virginiatrader

User avatar
virginiatrader
Posts: 79
Joined: 05 May 2007
Location: Virginia
Has thanked: 5 times
Been thanked: 5 times

Re: ADX calculation applied to moving average

Postby virginiatrader » 09 Feb 2015

MAtricks:

Thanks for your reply as well...please see mine to TJ!

virginiatrader

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: ADX calculation applied to moving average

Postby TJ » 09 Feb 2015

TJ:

Thanks for the reply. You are correct...those values are required. I think the only way to do it would be substituting an MA of the H, L, and C for those values.

Your thoughts, please...

virginiatrader
You can try this... open the ADX function (not the indicator) and change the core inputs.



ps. hint: the more you massage the data, the further it is removed from reality. ie. the less useful it becomes.


Return to “MultiCharts”