Adaptive Moving Average


Summary

The adaptive moving average that was discussed in the interview with Perry Kaufman in the 1998 STOCKS & COMMODITIES Bonus Issue (the article originally appeared in March 1995) is an excellent alternative to standard moving average calculations

Screen Shots

Usage

The adaptive moving average calculation that is used in the studies and system in TradeStation is performed primarily by a function referred to as "AMA." Another function referred to as "AMAF" is used to calculate the adaptive moving average filter. As always, the functions should be created prior to the development of the studies/system.

Once you have successfully created both functions, you can then create the two studies and the system. The first indicator displays the adaptive moving average line, with an optional twist. The twist is that the AMA line can be smoothed using linear regression. Thus, I have included in the indicator an input named "smooth" that allows you to determine if the AMA line should be smoothed or not. A "Y" as the input value smoothes the calculation. An "N" simply plots the raw AMA line. This indicator should be scaled to "Same as price data."

The second indicator, "Mov Avg Adaptive Fltr," takes the filtering concept and applies it to an indicator. Based on the filtered adaptive moving average (AMAF) parameters, this indicator will plot a vertical blue or red line, depending on the condition that is met. The values reflected by the vertical lines reflect the value of the AMA filter calculation.

Note that the following recommendations provide an excellent chart: Plot1 should have a label of “Buy” be of type “Histogram” have a color of “Blue” and a line thickness of “Thinnest” Plot2 should have a label of “Sell” be of type “Histogram” have a color of “Red” and a line thickness of “Thinnest” Plot3 should have a label of “AMAFilter” be of type “Line” have a color of “Magenta” and a line thickness of “Thinnest” A TradeStation workspace is included in the zip file for an example of usage.

Downloads

adaptive_ma_indicator

Happy Trading!

Tags: ,


Coding Indicators takes time. Time is money. Take time to donate.







25 Responses to 'Adaptive Moving Average'

  1. » Free Indicator - Adaptive Moving Average Strategy - July 1st, 2008 at 10:02 am

    [...] EasyLanguage files for review and modification. Note: You may need to download and install the Adaptive Moving Average indicator before installing this [...]

  2. leatheripodnanacovermagnet - July 27th, 2008 at 5:17 pm

    The http://www.tazatek.com is amazing site, good job, admin. see this downloadable game ipod nana
    Good luck.

  3. spybotwormremove - July 28th, 2008 at 2:24 pm

    The http://www.tazatek.com is cool resource, thanks, webmaster. But look at this w32 spybot worm remover download
    Good buy.

  4. ringtoneseffimirhito - July 29th, 2008 at 8:06 pm

    Your site- http://www.tazatek.com is amazing site, good job, owner.

  5. viagraboinatrinomma - August 17th, 2008 at 11:51 pm

    Your site- http://www.tazatek.com is interesting site, thanks, admin.
    viagra viagra online drugs.

  6. buyviagra onlineKet - August 20th, 2008 at 4:05 pm

    The site http://www.tazatek.com is excellent resource, thanks, webmaster.
    [url=http://www.tetongravity.com/forums/member.php?u=19806]Buy Levitra[/url]

  7. best_internet_savings_accountsSak - August 21st, 2008 at 11:42 am

    This is where you [url=http://best-savings-accounts.expectgroup.net/credit-unions-with-the-best-savings-acco.html] credit unions with the best savings acco [/url] job the redemptional your money. Most adroitly savings accounts in clarification that collapse duties predict from settling to alloying and the breathe applies to paving dance plenty buyers only.

  8. offshoresavingsaccountsKet - August 22nd, 2008 at 2:05 am

    child savings accountKet [url=http://bestsavingsaccounts.tripod.com/best_savings_account_rates.html] best savings account rates [/url]

  9. offshore savings accounts - August 22nd, 2008 at 1:06 pm

    best saving account ukKet [url=http://bestsavingsaccounts.tripod.com/highest_interest_savings_account.html] highest interest savings account [/url]

  10. best savings accounts in uk - August 23rd, 2008 at 10:05 am

    Coll blog, thanks.

  11. Max - August 24th, 2008 at 5:11 am

    I have to say, that I could not agree with you in 100%, but it’s just my opinion, which could be wrong.

  12. Arnold - August 24th, 2008 at 11:59 pm

    Good ideas. Added message about you on my site

  13. Best mortgage savings account - August 25th, 2008 at 5:28 am

    Cool blog
    Thanks, webmaster.

  14. best savings accounts in uk - August 25th, 2008 at 9:15 am

    Nice site
    Thanks, webmaster.

  15. Cheap Ipod Nana - August 25th, 2008 at 5:46 pm

    Nice site
    Thanks, webmaster.

  16. Cheap Ipod Nana - August 25th, 2008 at 6:29 pm

    Beautifull design
    Thanks, webmaster.

  17. digital cable tv tuner - August 26th, 2008 at 1:40 am

    Cool blog
    Thanks, webmaster.

  18. digital cable modem - August 26th, 2008 at 2:04 am

    Nice site
    Thanks, webmaster.

  19. cablevision digital cable - August 26th, 2008 at 4:49 am

    Cool blog
    Thanks, webmaster.

  20. digital cable listings - August 26th, 2008 at 5:12 am

    Nice site
    Thanks, webmaster.

  21. digital cable tv tuner - August 26th, 2008 at 7:25 am

    Beautifull design
    Thanks, webmaster.

  22. best savings accounts us - August 26th, 2008 at 10:54 am

    Nice site
    Thanks, webmaster.

  23. state hot water heater - August 26th, 2008 at 5:02 pm

    Very amazing site
    Thanks, webmaster.

  24. prices state water heater - August 27th, 2008 at 2:14 am

    Cool blog
    Thanks, webmaster.

  25. Viagra - August 27th, 2008 at 9:53 am

    Nice site.
    Thanks, webmaster.


Leave a Reply