Skip to main content

Simple Momentum for Amibroker (AFL)

kaiji over 16 years ago Amibroker (AFL)

  • Rating:
    5 / 5 (Votes 1)
  • Tags:
    oscillator, amibroker, momentum

The momentum of a security is the ratio of today’s price compared to the price x-time periods ago. Similar to what you’ll find in Metastock ,Trade Station 2000i or Advanced Get.

By Alex Fler – alexfler [at] mail.ru

Screenshots

Indicator / Formula

Copy & Paste Friendly
/* Momentum indicator */
/* The momentum of a security is the ratio of today's price compared to the price x-time periods ago */
/* Coded by Alex Fler */

periods=Param("Periods",14,2,200,1);
Plot( mom=(Close/Ref(Close,-periods)-1),_DEFAULT_NAME(),ParamColor("Color", colorCycle ), ParamStyle("Style") );
Plot(0,"",colorBlue,style=32);

0 comments

Leave Comment

Please login here to leave a comment.