jatubio

YTC - Swing Highs & Lows v.2.0

jatubio Atualizado   
This Indicator Plots Swing Highs & Swing Lows based on Lance Beggs of (Your Trading Coach) definition:

A Swing High (SH) is a price bar high preceed by two lower highs (LH) and followed by two lower highs (LH)

In the event of multiple candles forming equal highs, this will still be defined as a swing high, provided that there are two candles with lower highs both preceding and following the multiple candle formation.

Added the verification of all the possible casuistry:
If there are two, three or four bars followed with the same highs or lows and surrounded with tiny bars
Or two or three bars with equal highs or lows alternating with tiny bars.

New parameter to activate repaint (NOT repaints by default)
Notas de Lançamento:
Added alerts for Swing Highs and 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?