Previous N Days/Weeks/Months High Low

Japanese below / 日本語説明は下記

This indicator displays previous N days/weeks/months’ highs and lows simultaneously.
N is user input and users can separately input different N for highs and lows.
For instance, if you would like to show past 20days high and 10days low, you specify 20 for high and 10 for low.

Similar to highs and lows of yesterday, last week and last month which I previously developed a indicator for(see the link below), highs and lows of specific terms such as quarters are also respected as supports and resistances.
A legendary trader group, Turtles also uses 20days high/low break as one of their strategies.

Alerts can be set with the conditions below.

-Crossing over previous day’s high
-Crossing under previous day’s low
-Crossing over previous week’s high
-Crossing under previous week’s low
-Crossing over previous month’s high
-Crossing under previous month’s low

Please note that when we say past 2 days in this indicator, past 2days mean yesterday and day before yesterday, so “today” is not included as “today’s” high/low have yet to be fixed.

Related indicator: High/Low Yesterday&Last week&Last month&Last Year
By combining with this indicator, you can highlight important support and resistance .






関連インジケーター: High/Low Yesterday&Last week&Last month&Last Year



■Editor's Pick



Script open-source

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?