- module (by Joris Duyck),
- Winsorizing submodule and
- HMA-Kahlman Trend module.
The module produces crossovers predictive of the next local trend. The Winsorizing (clipping) submodule filters signals by a level, eliminating the ones with the below a threshold. The last feature obviously does not work with the assets not supporing , so set the Winsorizing submodule to false. The Winsorizing and modules can be turned off.
alertcondition(crossup, title='Buy', message='go long') // long
alertcondition(crossdn, title='Sell', message='go short') // short
It works well in conjunction.