New Members: Be sure to confirm your email address by clicking on the link that was sent to your email inbox. You will not be able to post messages until you click that link.

PPO Indicator

alcerecalcerec
edited April 2015 in Scanning
Having trouble writing code for a PPO indicator crossover scan. / PPO signal crossing over PPO line in an upward or downward fashion.
Any suggestions

Edit Gord: I changed the POS to PPO

Best Answer

  • markdmarkd mod
    edited April 2015 Accepted Answer
    You can use the cross above operator "x" for both conditions, the terms just have to switch sides:

    and [PPO Line(12,26,9) x PPO Signal(12,26,9)] // line crosses above signal
    ...

    and [PPO Signal(12,26,9) x PPO Line(12,26,9)] // line crosses below signal (actually, signal crosses above line; same thing)

Answers

Sign In or Register to comment.