Announcement

Collapse
No announcement yet.

ABS Function

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

  • ABS Function

    I have this variable defined with the ABS function.

    var V4Label = (ABS(open(0)-close(0))<=((high(0)-low(0)*0.1)));


    When I try to run it i get an error saying ABS is not defined. I thought ABS is a java function.

    Any ideas?

  • #2
    Found it out the solution is

    Must use

    Math.abs(nValue)

    Comment

    Working...
    X