What I'm trying to do is identify swings and then create an alert if there is a trade through the swing and a close below it (plus optional parameters),
not meant for automate trading or anything but just to alert that there might be a nice setup brewing.
The alerts currently only look at the most recent swing but if I get it working nicely I'll try to add an option to select a lookback period. Could maybe define a trading range or something.
Main Conditions for Alerts.
The candle trades above the swing high and then trades below it (option to require it to close below).
There is no other candle, since the swing, that has traded through it.
Optional conditions for Alerts.
Wick sizes in comparison to the candle, candle body and each other.
Require candle to be confirmed.
Require candle ofter "swing failure" to be confirmed.
Links to my other indicators
TD sequential indicator
RSI with a horizontal line
Average directional index with indicator
Bitmex 10% fee discount for 6 months
TradingView (50% off after trial period ends)
You can now set a static timeframe and thus, view the swing points of higher timeframes when changing down or vice versa.