fikira

Head & Shoulders S/R Regular

fikira Wizard Actualizado   
This is my take in Head & Shoulders (regular H&S)
The script will wait until a valid point E is found, which means A, C and E are alined

Then it will find the highest point between C - E -> Head (= D),
together with the highest point between A - C -> Left Shoulder (= B)

After this, the pattern is drawn, together with a 'trigger' area (E-G - E'-G' ~ 'Right shoulder area')
ONLY in this field, when a close is higher than E'-G', the figure will turn green, if lower than E-G, it will turn red, else, it will be blue

Settings:
  • Date range filtering
    Here you can filter the patterns by setting the date period (for E)
  • Pivot Points -> Leftbars - Rightbars
  • min/max retrace AD -> E
    Set the retracement for E (retracement A -> D -> E, here between 1.4 & 1.5)
  • % tolerance
    Tolerance of Right shoulder height against Left shoulder height
    0% (= the same relative height):
    85% (-> now close isn't higher than E'-G' -> blue coloured):
  • min/max %
    Sets the desired B height against D (here B is between 35-45% of D):
  • width R shoulder = L shoulder + x%
    Sets the width of Right shoulder against Left shoulder
    0% (nothing extra, just the same width as Left shoulder)
    100% (Right shoulder area is double as large as the Left shoulder):
    -70% (Right shoulder area much narrower than Left shoulder):
  • maximum visible patterns:
    Set the maximum visible amount of patterns

This script uses one of the latest fantastic Pinescript features:
linefill and for ... in loop

Cheers!
Notas de prensa:
Code improvement
Notas de prensa:
update
Notas de prensa:
update

LuxAlgo Dev: www.luxalgo.com
PineCoder: www.pinecoders.com

- We cannot control our emotions,
but we can control our keyboard -
Script de código abierto

Siguiendo el verdadero espíritu de TradingView, el autor de este script lo ha publicado en código abierto, para que los traders puedan entenderlo y verificarlo. ¡Un hurra por el autor! Puede utilizarlo de forma gratuita, aunque si vuelve a utilizar este código en una publicación, debe cumplir con lo establecido en las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.

¿Quiere utilizar este script en un gráfico?