Created page with "=== Definition === The Crossunders per Bar indicator plots the number of times that the specified Formula1 crosses under Formula2 per bar. <br> A crossunder occurs when tw..."
=== Definition ===
The Crossunders per Bar indicator plots the number of times that the specified Formula1 crosses under Formula2 per bar. <br>
A crossunder occurs when two conditions are met: <br>
1. Formula1 < Formula2 on the current tick;<br>
2. Formula1 > Formula2 on the last preceding tick on which Formula1 and Formula2 were not equal. <br>
=== Default Inputs===
'''Formula1''' sets the PowerLanguage expression, close by default.
'''Formula2''' sets the PowerLanguage expression to be compared to Formula1, average(close, 9) by default.
'''DataNum''' sets a numerical expression specifying the data number of the series, 1 by default.