LonesomeTheBlue

Support Resistance MTF

Hello Traders,


This is Support Resistance script that uses Multi Time Frame . While getting Close/Open/High/Low values of Higher Time Frames the script does NOT use Security function, instead it calculates them.

while choosing Higher Time Frame, you can use "Auto" option so it uses predefined Higher Time Frames, or you can choose the Higher Time Frame Manually from the list. options for HTF => 15mins, 30mins, 60mins, 120mins, 180mins, 240mins, 720mins, Day, Week, 2 Weeks, Months, 3 Months, 6 Months, 12 Months.

You have option to use High/Low or Close/Open values while calculating support resistance levels.

"Period for Highest/Lowest Bars" option is used as loopback period to check if it's Highest/lowest bars. smaller numbers = more sensitive result.

You have option for transparency and coloring of support/resistance levels/zone => Red, Lime, Blue, White, Black, Olive, Gray


An example for 15 min chart, 4hours selected as HTF

You can set transparency and colors as you wish:

You can choose Close/Open prices while calculating S/R levels instead of High/Low


Enjoy!
릴리즈 노트: "Extend Lines" option added. (user request)
릴리즈 노트: color option changed/improved and unnecessary parts removed
transp usage in fill() function removed
오픈 소스 스크립트

진정한 TradingView의 정신에 따라, 이 스크립트의 작성자는 스크립트를 오픈소스로 게시했기에 거래자들이 이해하고 확인할 수 있습니다. 작가님께 건배! 스크립트를 무료로 사용할 수 있지만, 게시물에서 이 코드를 재사용하는 것은 하우스룰을 따릅니다. 당신은 스크립트를 차트에 사용하기 위해 그것을 즐겨찾기 할 수 있습니다.

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

코멘트

500 코인
+2 응답
@PineCoders, Thank you!
응답
500 코인
+1 응답
amazing !
200 코인
응답
Another Home Run LTB =)
Tested it out real quick and it seems to be the best S/R script written to date. As a person who uses price action pretty heavily, this definitely finds the right levels. I recommend users make the length a little longer. Depending on your typical hold period. For me, a length 50 seemed to hit the levels that I am interested in.
+33 응답
@kurtsmock, thank you for this great comment
+5 응답
@kurtsmock, Yes, thank you for suggestion ^^
+2 응답
JosephTran4 kurtsmock
@kurtsmock, is that the "period" function that you are referring to? What does 50 mean if you input it in there? I'm not sure what "loopback period" means.
+3 응답
kurtsmock JosephTran4
@JosephTran4, Yes, in the settings its "Period for Highest/Lowest Bars" It is how far back the script identifies the highest and lowest bars, which is on lines 36 & 37
+4 응답
@kurtsmock, can you plz let us know which timeframe worked for you and best way to use. I'm lookin for intraday. I just started trading recently with very small quantity.
+5 응답