The indicator finds single and double tops and bottoms.
In the indicator parameters are specified:
- minimum height/depth,
- the maximum distance between the tops/bottoms (for twin tops/bottoms),
- the minimum number of bars after the top/bottom.
Download:
Indicator-based strategy.
https://fxcodebase.com/code/viewtopic.php?f=31&t=72414