PPO Indicator

alcerec
alcerec ✭
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

  • markd
    markd mod
    edited April 2015 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