Announcement

Collapse
No announcement yet.

momentum of the 34 ema

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • momentum of the 34 ema

    would like code for the (Momentum of the 34 exponential moving average). , any help is greatly appreciated.
    thank you.

  • #2
    zzz_ed
    Enclosed below is a sample script that will compute a 10 period momentum of a 34 period exponential average.
    To create the script I used the new EFS2 builtin studies. For more information on these studies see the EFS2 Function Reference that is in the EFS KnowledgeBase
    Alex

    PHP Code:
    function main(){
         var 
    myStudy mom(10,ema(34));
         return 
    myStudy;

    Comment


    • #3
      Alexis ...thanks much :-)

      Comment


      • #4
        zzz_ed
        You are most welcome.
        FYI since the study could be of interest also to others I uploaded here a fully customizable version of the Momentum of MA study which is also preset for use with multiple intervals or external symbols
        Alex

        Comment


        • #5
          MOMofMA.efs has error

          Alexis ...thanks for the help .......when i downloaded the indicator i recieved an error message on line 74 ....Reference Error : mom is not defined . I am using e-signal 7.8 if that make any difference.

          Comment


          • #6
            zzz_ed
            The efs uses the new EFS2 builtin studies and functions which are available only with eSignal 7.9 (or later).
            Alex

            Comment

            Working...
            X