Announcement

Collapse
No announcement yet.

Syntax for including math functions?

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

  • Syntax for including math functions?

    I have many custom indicators I wrote for TtadeStation 2000i. I am trying to convert some to run in eSignal EFS. When I use the math functions such as log(nValue) or round(nValue) I get a
    ReferenceError: log not defined
    How do I get these functions defined?

  • #2
    HillTop
    You can find all the math functions in the EFS Help Center and Library under EFS Function Reference.
    You can also download the EFS Help Files (that are the same as the above) in either Windows Help or HTML formats by clicking here
    Alex

    Comment


    • #3
      I used the EFS help center and Library for the syntax but still get the errorThe statement giving me the error is
      LPrice = log(Price);
      The editor even shows the syntax when I type it in but still will not compile.

      Comment


      • #4
        HillTop
        You may want to try Math.round(nValue) or Math.log(nValue) if you have not done so already
        Alex

        Comment


        • #5
          Thanks that seems to work!

          Comment

          Working...
          X