LonesomeTheBlue

Support Resistance - Dynamic

LonesomeTheBlue Wizard 업데이트됨   
This is Dynamic Support / Resistance script.

How it Works?

It finds Pivot Points and creates channels for each Pivot Point. Channel size is calculated by (Highest - Lowest) * %Channel_size in Loopback Period. After creating channels it calculates that how many Pivot Points in the channels. more Pivot Points in channel means stronger Support/Resistance. in the option menu there is S/R Strength, this is the minimum number of Pivot Points that each channel must contain to be S/R. calculation starts from last pivot point and go back for "loopback period" which is 300 by default. so last Pivot Points have more priority. Finally after calculating Support/Resistance it draws lines.

Number of Support/Resistance line is Dynamic and up to 20 lines, that means number of lines changes dynamically. you can see how the script puts Suppport/Resistance lines dynamically by "Replay" button. (if I have time I will try to put a video)

Currently the scripts checks up to 40 pivot points in loopback period. it shows up to 20 S/Rs only for visible area in the chart.

There is option to Show S/R lines as Solid, Dotted or Dashed.



Enjoy!
릴리즈 노트:
Add LineColor option. Blue, Red, Lime, White, Black color can be selected as line color.
릴리즈 노트:
Default value of "Loopback Period" was changed to 284 to show lines automatically (visible area). Thanks to @mikhail7447
릴리즈 노트:
minor update.
릴리즈 노트:
Line coloring option updated. no limitation now. (users request)
릴리즈 노트:
Arrays are used instead of lots of individual variables
- "Support Broken" and "Resistance Broken" alert added. in the alert messages you can see the closing price and broken S/R levels.
- a few minor improvements.
- "Label location" option added. you can change location of the labels now.
-- if you set it 0 then labels appears on the last bar
-- if you set it + numbers then labels appears on the future bars
-- if you set it - numbers then labels appears on the historical bars
by default Label location is 20 (+20 => future bars)

for example if you set it -50 then labels shown on last 50. bar

Enjoy!
릴리즈 노트:
Fixed Pivot High/Low labels.

오픈 소스 스크립트

이 스크립트의 오써는 참된 트레이딩뷰의 스피릿으로 이 스크립트를 오픈소스로 퍼블리쉬하여 트레이더들로 하여금 이해 및 검증할 수 있도록 하였습니다. 오써를 응원합니다! 스크립트를 무료로 쓸 수 있지만, 다른 퍼블리케이션에서 이 코드를 재사용하는 것은 하우스룰을 따릅니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.

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