vaidab

Swing Failure Pattern Inquisitor

vaidab Atualizado   
SFP Inquisitor
v0.2a

coded by Bogdan Vaida

Code for Swing High, Swing Low and Swing Failure Pattern.
Note that we're still in the alpha version, bugs may appear.

Note that the number you set in your Swing History variable
will also be the minimum delay you see until the apples appear.
This is because we're checking the forward "history" too.

The SFP will only check for these conditions:
- high above Swing History high and close below it
- low below Swing History high and close above it

In some cases you may see an apple before the SFP that "doesn't fit"
with the SFP conditions. That's because that apple was drawn later and
the SFP actually appeared because of the previous apple .
20 candles later.

Legend:
🍏 - swing high
🍎 - swing low
🧺 - candle where the last swing was driven from
🍌 - swing failure pattern
🍎🍌 - hungry scenario: swing low but also a SFP compared to the last swing
Notas de Lançamento:
Added strategy code.
Notas de Lançamento:
Added alerts.
Notas de Lançamento:
Added cake 🍰 for stronger SFPs / SFPs in a row (but with a the secret sauce).
Notas de Lançamento:
Updated to PineScript v5.
Corrected a mistake displaying cakes instead of bananaces in swing lows.

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?