LonesomeTheBlue

Moving Averages as Support Resistance MTF

LonesomeTheBlue Wizard Cập nhật   
Hello Traders!


As most of you know that Moving Averages with the lengths 50, 100, 150 and 200 are very important. We should use these this moving averages to figure out S/R levels, the possible reversals points, trend direction etc. we should check these moving averages on Higher Time Frames as well. for example if you look at the chart with 5mins time frame, you should also check it in 1hour and 4hour time frames to see to big picture and main trend. this is important as trend is your friend and you should not take positions against the trend.

I developed this script to show them clearly and make the chart understandable. 1 resistance line above the price and 1 support line below the price, it shows the moving average type, length, time frame and S/R level.
You have option to show SMA or EMA and to include/exclude current time frame, because you may want to see only MAs from higher time frames. you should set higher time frames accordingly.

if you add all moving averages for current and higher time frame the chart looks very crowded as following example:

The script makes it clear to understand the chart better, here an example:

It can show when S/R was broken and you get alert. here an example:

You have coloring and style options, you can change line style and colors as you wish:


Enjoy!
Phát hành các Ghi chú:
"Resistance or Support Broken" alert added. (user request)
Phát hành các Ghi chú:
Lengths for 4 Moving Averages are optional now. You can set the lengths as you wish.
Phát hành các Ghi chú:
Algorithm improved
An option added for label location (Left/Right)
bar_index is used for the labels (instead of time)
Phát hành các Ghi chú:
"Show MA" option added. you can change its time frame and the length.

Mã nguồn mở

Với tinh thần TradingView, tác giả của tập lệnh này đã xuất bản nó dưới dạng mã nguồn mở, vì vậy các nhà giao dịch có thể hiểu và xác minh nó. Chúc mừng tác giả! Bạn có thể sử dụng mã này miễn phí, nhưng việc sử dụng lại mã này trong một ấn phẩm chịu sự điều chỉnh của Nội quy nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?