OPEN-SOURCE SCRIPT
ka66: Asher Magical Midpoint

This Support and Resistance and Trend Channel indicator is based on:
Stocks & Commodities V. 40:13 (20–22): Magical Midpoint Of 52-Week High & Low by Ketan Asher
This indicator seems to work better over higher timeframes, as the article suggested. It also seems to work better with stocks, not so much with currencies. This may be due to the crowd psychology which considers 52-week marks as significant in stocks. The indicator allows configurable lookback periods, and band percentage widths.
Since it's very much price-driven, a useful context for this is some weekly breakout above the midpoint and indication of a rising trend. The bands at the point of breakout can be used as a profit taking point, partial or full, depending on your system.
The article suggests a stop loss at the last week's low, or below the midpoint line depending on the trader's risk appetite.
Stocks & Commodities V. 40:13 (20–22): Magical Midpoint Of 52-Week High & Low by Ketan Asher
This indicator seems to work better over higher timeframes, as the article suggested. It also seems to work better with stocks, not so much with currencies. This may be due to the crowd psychology which considers 52-week marks as significant in stocks. The indicator allows configurable lookback periods, and band percentage widths.
Since it's very much price-driven, a useful context for this is some weekly breakout above the midpoint and indication of a rising trend. The bands at the point of breakout can be used as a profit taking point, partial or full, depending on your system.
The article suggests a stop loss at the last week's low, or below the midpoint line depending on the trader's risk appetite.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
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.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
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.