IsUp vs. TurnsUP

Optuma Forums Optuma Scripting IsUp vs. TurnsUP

  • This topic has 2 replies, 2 voices, and was last updated 3 years ago by Brad.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #46895
    Brad
    • Topics: 9
    • Replies: 9
    • Posts: 18

    What is the difference in the parameters for these two functions? For example, if a MA is higher today than the previous day, does that qualify as a change in output for either of those or does one denote a change in the slope?  

    #46899
    Matthew
    • Topics: 5
    • Replies: 488
    • Posts: 493

    Hi Bradley,

    The TurnsUp operator will only show a true result the first instance an indicator moves from a downward movement, to an upward movements.  The IsUp operator will show a true result any time the indicator value is higher than the previous day.

    In the following image you will see both Turns Up / IsUp scripts begin on the same bar, but only the IsUp operator continues after the initial turn.

    Ex1

    #46911
    Brad
    • Topics: 9
    • Replies: 9
    • Posts: 18

    That’s great.  Thank you Matthew!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Pin It on Pinterest