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.
Support and ResistanceTrend Analysis

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明