Crossunders per Bar
From MultiCharts
The Crossunders per Bar indicator plots the number of times that the specified Formula1 crosses under Formula2 per bar.
Description
A crossunder occurs when two conditions are met: 1. Formula1 < Formula2 on the current tick. 2. Formula1 > Formula2 on the last preceding tick on which Formula1 and Formula2 were not equal.
Default Inputs
Formula1( close ) sets the PowerLanguage expression.
Formula2 ( verage(close, 9) ) sets the PowerLanguage expression to be compared to Formula1.
DataNum( 1 ) sets a numerical expression specifying the data number of the series.