Indicators: Geometric signal validation for indicator signals

 

Geometric signal validation for indicator signals:

A state engine to provide geometric signal validation for indicator signals

Geometric signal validation for indicator signals

Author: Conor Mcnamara

 
THX for codes / ideas, wish u best..
 
thnaks for this function its really helpfull for me
 

A new version is uploaded.

"Zigzag-based logic is used to connect each of the candidate signals that the indicator produced, and if one of the candidates produces a geometric impossibility, it is seen as a false signal and the pivot search state remains unchanged."

The new version changes search state when an anomaly occurs, it makes the validator more adaptive to a potentially changing market regime. The function is also made to be more concise, and now it compares closed bar price with last known pivot price instead of current price with last known pivot price (for more security in the signal logic).