Reply To: Zero lag EMA

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

#53903
Matthew
  • 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:

https://help.optuma.com/kb/faq.php?id=964

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