TradingView
FX365_Thailand
15 Şub 2022 10:07

Previous N Days/Weeks/Months High Low 

U.S. Dollar/Japanese YenFXCM

Açıklama

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.

jp.tradingview.com/script/XDhZo5JO/

—————————————————————

過去N日/N週間/Nヶ月の高値·安値を同時に表示することのできるインジケーターです。
Nはパラメーターとなっており、また高値と安値で異なる期間を指定することができます。
例えば、過去20日間の高値と過去10日間の安値という指定が可能です。




昨日、先週、先月の高値·安値と同様に、四半期などの過去一定期間の高値·安値はサポート·レジスタンスとして良く意識されます。
伝説のトレーダー集団タートルズも20日間の高値·安値のブレイクを取引ルールの一つとして使用していたことで有名です。


また、以下の条件でアラート設定が可能です。
-過去N日高値の上方ブレイク
-過去N日安値の下方ブレイク
-過去N週間高値の上方ブレイク
-過去N週間安値の下方ブレイク
-過去Nヶ月高値の上方ブレイク
-過去Nヶ月安値の下方ブレイク


このインジケーターで過去2日間の高値·安値といった場合、過去2日間とは昨日と一昨日の2日間を指します。まだ高値·安値の確定していない本日は含まないことに注意してください。


関連インジケーター: High/Low Yesterday&Last week&Last month&Last Year
当インジケーターと合わせて使用することで、主要なサポートレジスタンスを表示することができます。

jp.tradingview.com/script/XDhZo5JO/

Sürüm Notları

Fixed a repainting issue.

In the previous version, even if the current candle is not yet fixed, previous highs/lows are sometimes calculated using that unfixed candles.

New version resolves this issue. Take a look at the charts below with an example of 6 month high.

Before


When candle "0" is not fixed(we are still in this month), 6month high is calculated using candle 5 to 0.(so it is repainting as long as the high of the month keeps changing)

After


When candle "0" is not fixed(we are still in this month), 6month high is calculated using candle 6 to 1.

============================
N期間高値・安値計算時のリペイント問題を修正しました。

以前のバージョンでは、最新のバーが未確定の時に、その未確定のバーを使用して過去N期間の高値・安値が計算されるケースがありました。
新バージョンではこの問題を解決しています。以下のチャートは6ヶ月高値がどのように計算されるかの前後比較です。


Before


バー0が未確定の場合、6ヶ月高値は0から5のバーを用いて計算されていました。


After


バー0が未確定の場合、6ヶ月高値は1から6のバーを用いて計算されています。
Yorumlar
dharminder93
What is the name of the indicator?
chuxiuxiang
good
FX365_Thailand
@chuxiuxiang, Thank you!
anoopind
Best Script!
FX365_Thailand
@anoopind, Thanks!
ramesh1369
why this strategy is not working for heikin ashi candle when i select preferred time, can u make it for work with all candle patterns.
Thanks in advance
Daha Fazla