OPEN-SOURCE SCRIPT
업데이트됨 Patrick Walker Flat Base

This pine script is provide recent support and resistance.
Script will use ema8, ema21, sma50 and sma200 to generate the support and resistance line.
Inspired from Patrick Walker style of trading. This is my personal logic i build studying the charts.
There is 3 types of resistance generated by this script.
1) top resistance 1
when ema8 > ema21 and low > ema8 and gap between ema21 and sma50 is less than 10% and in last 3 days previous 4th days highs is not crossed by close.
2) top resistance 2
when close/open below ema21 and ema8 > ema21 and high >= ema8 and ema21 > sma50 and gap between ema21 and sma50 is less than 10%
3) bottom resistance
when ema8 < ema21 and close/open cross above ema8 but high < ema21
Script will use ema8, ema21, sma50 and sma200 to generate the support and resistance line.
Inspired from Patrick Walker style of trading. This is my personal logic i build studying the charts.
There is 3 types of resistance generated by this script.
1) top resistance 1
when ema8 > ema21 and low > ema8 and gap between ema21 and sma50 is less than 10% and in last 3 days previous 4th days highs is not crossed by close.
2) top resistance 2
when close/open below ema21 and ema8 > ema21 and high >= ema8 and ema21 > sma50 and gap between ema21 and sma50 is less than 10%
3) bottom resistance
when ema8 < ema21 and close/open cross above ema8 but high < ema21
릴리즈 노트
changed condition for top resistance 1now its only generate when ema8 or ema21 above sma50
릴리즈 노트
Added Relative Strength Line and Relative Strength 21 and 50 into the table릴리즈 노트
added rsline 200 and rs 200릴리즈 노트
bug fix in color code릴리즈 노트
Added input value for gap between 21 & 50. so user can set as per their need.Default value is 10
릴리즈 노트
updated condition for top resistance 1 and 2minimum 3 days required ema8 > ema21
릴리즈 노트
Updated bottom resistance conditionadded close need to be below sma50
removed high need be below ema21
릴리즈 노트
updated top resistance code condition to check ema8 > ema21 for at least 3 days릴리즈 노트
updated bottom resistance code condition릴리즈 노트
Added one more resistance code i called it downdays resistance
when close < open but close > (high+low)/2 then its generate the resistance.
릴리즈 노트
bug fix in down days resistance condition릴리즈 노트
Added volume condition for down days resistance릴리즈 노트
updated bottom resistance conditionnow it will check for close < ema21 and high >= ema21
릴리즈 노트
removed open/close above ema8 condition for bottom resistance code릴리즈 노트
removed open < sma50 for bottom resistance code.릴리즈 노트
Added 5 & 10 Days Pivot Points릴리즈 노트
Added 20 days pivot point릴리즈 노트
Added Hide / Show input for all the lines.릴리즈 노트
changed bottom resistance condition to high > sma50 and close < sma50릴리즈 노트
changed bottom resistance condition릴리즈 노트
Added 252 days high resistance if next 15 days highest close is not crossed that high.릴리즈 노트
Added option to draw recent latest 252 days high resistance or multiple in last 5 yearsspeed improvements in 252 days high resistance code.
릴리즈 노트
bug fix in 252 days recent high code릴리즈 노트
Added option to hide/show Relative strength table릴리즈 노트
bug fix in 10 days pivot point code릴리즈 노트
bug fix in 10 days pivot points code릴리즈 노트
code improvements in 252 days high resistance line.오픈 소스 스크립트
진정한 트레이딩뷰 정신에 따라 이 스크립트 작성자는 트레이더가 기능을 검토하고 검증할 수 있도록 오픈소스로 공개했습니다. 작성자에게 찬사를 보냅니다! 무료로 사용할 수 있지만 코드를 다시 게시할 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.
오픈 소스 스크립트
진정한 트레이딩뷰 정신에 따라 이 스크립트 작성자는 트레이더가 기능을 검토하고 검증할 수 있도록 오픈소스로 공개했습니다. 작성자에게 찬사를 보냅니다! 무료로 사용할 수 있지만 코드를 다시 게시할 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.