TradeStation - Kaufman AMA with Trend Change
futures io

Categories Help    

TradeStation Downloads / TradeStation Indicators

Share TradeStation indicators, EasyLanguage indicators.

Kaufman AMA with Trend Change
This indicator is the Kaufman Adaptive Moving Average, a/k/a KAMA, but which changes color when the indicator changes direction. This is a direct descendant of the Mov Avg Adaptive indicator that comes with TradeStation.

I like single line indicators that change color when a trend changes, so this is my implementation of the KAMA with those attributes.

Indicator Name: Mov Avg Adaptive Color Change
Inputs: Same as a normal KAMA, plus:
  • UsePlotColoring >>> set to true for coloring; false to turn it off
  • UpTrendColor >>> self explanatory
  • DownTrendColor >>> self explanatory

Small Difference in Original Calculation:
I added the Round2Fraction function to the MAA calculation, to round to the nearest minimum move for the chart. This helps filter out minor fluctuations when the indicator is practically flat, that may show a change in trend that isn't there. I don't believe this fundamentally changes anything, from my observations.

Import the ELD and apply to a chart. You're all set!

I am posting a MultiCharts version in that section, as the syntax is slightly different.

Category TradeStation 
Suggest other entries I might like
Details: Kaufman AMA with Trend Change
Category: TradeStation 

September 30th, 2020
Size: 14.23 KB
Downloaded: 102 times

Keywords: adaptive average kama kaufman moving


Copyright © 2022 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada),
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.