QuantNomad

Significant PP - Swing Failure / Stop Run Alerts [QN]

Tried to create a script for Swing Failure / Stop Run patterns. It is based on my QuantNomad - "Significant Pivot Reversal" Indicator.
It's quite tricky to code these kinds of patterns, so it's really not ideal. I alert when a candle cross pivot level but close below (above for bottom) it and previous close was below (above) it as well.
You can setup params for pivot points and also by how much it should cross pivot level with "SF ATR Mult".

I have in mind a few other things I'd like to test:

* Different types of pivot points
* Few recent pivot levels at once
* Pivots from higher timeframe
* Different types of "touching" levels
* etc.

Ideally, I want to create a strategy from it, but I'm far from it for now.

Do you have any ideas on how to make it better?

Original Significant Pivot Reversal Indicator:


Courses:
Pine Progr: https://qntly.com/pineprog
Adv.Pine Use-Cases: https://qntly.com/advpine

Buy me a beer: https://qntly.com/beer

Access to Pro Indic.: https://qntly.com/proind

Discord: https://qntly.com/discord
Telegram: https://qntly.com/tel
Script open-source

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?