getmohsin.py

Automatic Support & Resistance

The indicator attempts at automatic detection of support and resistance levels by identifying large swings/pivots in historical price action. These tops and bottoms in price action show where lots of buyers or sellers came into the market and might act as future levels of support or resistance. By default, the code detects the last 3 significant swing highs and the last 3 swing lows. It then places lines on the chart to highlight those levels.

Once you are comfortable with the code base and how the indicator operates, you may wish to expand upon it. One obvious addition to make would be inputs for the "Left Bars", "Right Bars" and "Quick Right" variables so that you can tune the indicator according to your own taste.

Feel free to tweak the code and let everyone know in the comment section if you are able to improvise it.

Happy trading:-)
Phát hành các Ghi chú: This is an updated version of existing "Automatic Support & Resistance"

This version will allow you to draw Automatic S/R levels based on "Close values" or "High/Low values"

I personally find S/R levels with "Close values" to be are more precise and effective while trading breakouts, hence the need for the update.

Please let me know your thoughts in the comments section below.
Phát hành các Ghi chú: Publishing version 0.2 with the correct display chart
Phát hành các Ghi chú: Correcting some mistakes. Apologies for that :)
Gỡ bỏ khỏi Script Ưa thích Thêm vào Script Ưa thích

Bình luận

Thank you, I’m new-
How do I add this to my trading view charts? and does it work for all time frames? This is exactly what I was looking for.
+3 Phản hồi
Nice, much appreciated :)
+3 Phản hồi
@Owl, You are welcome buddy!
Phản hồi
Nice work man !
+1 Phản hồi
Looks neat, thanks for sharing!
+1 Phản hồi
@wroclai, You are welcome. Glad you liked it :-)
+1 Phản hồi
Not really a fan of automatic plotting of support and resistance (or trendlines), but this developer has done a great job with this. Thank you for sharing your work!
Phản hồi
Mohsin Bro Tussi Chah Gai :) i'm Very new to all this And this indicator helps me to learn... Shukriya Bhai..
Phản hồi
Can I use this as AutoSR for finding BTST stocks. MY BTST trading strategy will focus on correct entry using volume breakouts. To find those potential entry points, I will start by enabling Auto-Support/Resistance by applying your code to charts. Then I will select “Auto-SR Based on Current Cursor” so that the Auto-SR lines are dynamically drawn based on where the current cursor is (i.e. using the past 240 bars exclusive of current cursor). This can be a great way to visually back-test Auto-Support/Resistance. Then I will place a buy order (BTST). Now, I will need exit points, for that I need to create a custom scan based on “Chandelier Exit”. Can you code it too.
Phản hồi
Trang chủ Bộ lọc cổ phiếu Bộ lọc Forex Bộ lọc Tiền điện tử Lịch kinh tế Cách thức hoạt động Tính năng Biểu đồ Trả phí Giới thiệu bạn Quy tắc Áp dụng Trung tâm Trợ giúp Giải pháp cho Website & Nhà môi giới Widget Giải pháp biểu đồ Thư viện Biểu đồ Lightweight Blog & Tin tức Twitter
Hồ sơ Tùy chỉnh Hồ sơ Tài khoản và Thanh toán Giới thiệu bạn Ticket Hỗ trợ của tôi Trung tâm Trợ giúp Các ý tưởng đã đăng Người theo dõi Đang theo dõi Tin nhắn riêng Trò chuyện Đăng xuất