Reply To: Zero lag EMA

Optuma Forums Optuma Scripting Zero lag EMA Reply To: Zero lag EMA

  • Topics: 5
  • Replies: 608
  • Posts: 613

Hi Steve,

I think the issue is how you’re referencing P1 in the second line.  For information on how to reference a variable like that please refer to the following article:

Additionally on the last line, EMA() is not a valid scripting function.  You’d need to use MA(STYLE=Exponential)

  • This reply was modified 2 years ago by Matthew.

Pin It on Pinterest