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:


My First Live Course: qntly.com/101
Pine Programming v5: qntly.com/pineprog
Adv.Pine Use-Cases: qntly.com/advpine

Hire Me: qntly.com/hirepine
Telegram: qntly.com/tel
Script de código aberto

Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Quer usar esse script no gráfico?