에디터즈 픽OPEN-SOURCE SCRIPT

Head & Shoulders S/R Regular

업데이트됨
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 [L ~ R shoulder height]
    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 % [Left Shoulder ~ Head]
    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!
릴리즈 노트
Code improvement
릴리즈 노트
update
릴리즈 노트
update
Trend Analysis

오픈 소스 스크립트

진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

차트에 이 스크립트를 사용하시겠습니까?


PineCoder: pinecoders.com

- We cannot control our emotions,
but we can control our keyboard -

면책사항