PINE LIBRARY
更新済 rangeBreakout

Library "rangeBreakout"
markRange(trackTimePeriod, drawTimePeriod, highLineColor, lowLineColor, middleLineColor, maxLookbackDays)
Parameters:
trackTimePeriod (simple string): - Time range for which the high and low values are tracked. This is the range; any breakout above/below this period can indicate a potential long/short entry condition.
drawTimePeriod (simple string): - Time range for which the range is valid, this is typically from the end of the `trackTimePeriod` to the end of the day (or session) for security.
highLineColor (color)
lowLineColor (color)
middleLineColor (color)
maxLookbackDays (simple int): - Number of historic days to retain the range value.
Returns: [rangeHi, rangeLo, inTrackRange] - Values to print the range values, and a boolean indicator that indicates if the current time is within the tracking time period.
The library can then be forward integrated into other indicators, strategies, and other libraries of TradingView, thus one function can be used globally.
markRange(trackTimePeriod, drawTimePeriod, highLineColor, lowLineColor, middleLineColor, maxLookbackDays)
Parameters:
trackTimePeriod (simple string): - Time range for which the high and low values are tracked. This is the range; any breakout above/below this period can indicate a potential long/short entry condition.
drawTimePeriod (simple string): - Time range for which the range is valid, this is typically from the end of the `trackTimePeriod` to the end of the day (or session) for security.
highLineColor (color)
lowLineColor (color)
middleLineColor (color)
maxLookbackDays (simple int): - Number of historic days to retain the range value.
Returns: [rangeHi, rangeLo, inTrackRange] - Values to print the range values, and a boolean indicator that indicates if the current time is within the tracking time period.
The library can then be forward integrated into other indicators, strategies, and other libraries of TradingView, thus one function can be used globally.
リリースノート
v2Added:
volumeConfirmation(trackTimePeriod, drawTimePeriod, maxLookbackDays, volumeLength, volumeMultiplier)
Parameters:
trackTimePeriod (simple string): - Time range for which the high and low
values are tracked. This is the range, any breakout above/below
this period can indicate a potential long/short entry condition.
drawTimePeriod (simple string): - Time range for which the range is valid,
this is typically from the end of the `trackTimePeriod` to the
end of the day (or session) for the security.
maxLookbackDays (simple int): - Number of historic days to retain the
range value.
volumeLength (simple int)
volumeMultiplier (simple float)
Returns: [rangeHi, rangeLo, inTrackRange] - Values to print the
range values, and boolean indicator that indicates if the current
time is within the tracking time period.
------------------------------------------------------------------
リリースノート
v3Fixed duplication of signal; if already short/long position is taken then avoid signal on the same trading day.
リリースノート
v4リリースノート
v5Updated:
markRange(trackTimePeriod, drawTimePeriod, highLineColor, lowLineColor, middleLineColor, maxLookbackDays, volumeLength, volumeMultiplier)
Parameters:
trackTimePeriod (simple string): - Time range for which the high and low
values are tracked. This is the range, any breakout above/below
this period can indicate a potential long/short entry condition.
drawTimePeriod (simple string): - Time range for which the range is valid,
this is typically from the end of the `trackTimePeriod` to the
end of the day (or session) for the security.
highLineColor (color)
lowLineColor (color)
middleLineColor (color)
maxLookbackDays (simple int): - Number of historic days to retain the
range value.
volumeLength (simple int)
volumeMultiplier (simple float)
Returns: [rangeHi, rangeLo, inTrackRange] - Values to print the
range values, and boolean indicator that indicates if the current
time is within the tracking time period.
------------------------------------------------------------------
Removed:
volumeConfirmation(trackTimePeriod, drawTimePeriod, maxLookbackDays, volumeLength, volumeMultiplier)
リリースノート
v6Added:
volumeConfirmation(trackTimePeriod, drawTimePeriod, maxLookbackDays, volumeLength, volumeMultiplier)
Parameters:
trackTimePeriod (simple string): - Time range for which the high and low
values are tracked. This is the range, any breakout above/below
this period can indicate a potential long/short entry condition.
drawTimePeriod (simple string): - Time range for which the range is valid,
this is typically from the end of the `trackTimePeriod` to the
end of the day (or session) for the security.
maxLookbackDays (simple int): - Number of historic days to retain the
range value.
volumeLength (simple int)
volumeMultiplier (simple float)
Returns: [rangeHi, rangeLo, inTrackRange] - Values to print the
range values, and boolean indicator that indicates if the current
time is within the tracking time period.
------------------------------------------------------------------
Updated:
markRange(trackTimePeriod, drawTimePeriod, highLineColor, lowLineColor, middleLineColor, maxLookbackDays)
Parameters:
trackTimePeriod (simple string): - Time range for which the high and low
values are tracked. This is the range, any breakout above/below
this period can indicate a potential long/short entry condition.
drawTimePeriod (simple string): - Time range for which the range is valid,
this is typically from the end of the `trackTimePeriod` to the
end of the day (or session) for the security.
highLineColor (color)
lowLineColor (color)
middleLineColor (color)
maxLookbackDays (simple int): - Number of historic days to retain the
range value.
Returns: [rangeHi, rangeLo, inTrackRange] - Values to print the
range values, and boolean indicator that indicates if the current
time is within the tracking time period.
------------------------------------------------------------------
Pineライブラリ
TradingViewの精神に則り、作者はこのPineコードをオープンソースライブラリとして公開してくれました。コミュニティの他のPineプログラマーが再利用できるようにという配慮です。作者に拍手を!このライブラリは個人利用や他のオープンソースの公開コンテンツで使用できますが、公開物でのコードの再利用はハウスルールに準じる必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。
Pineライブラリ
TradingViewの精神に則り、作者はこのPineコードをオープンソースライブラリとして公開してくれました。コミュニティの他のPineプログラマーが再利用できるようにという配慮です。作者に拍手を!このライブラリは個人利用や他のオープンソースの公開コンテンツで使用できますが、公開物でのコードの再利用はハウスルールに準じる必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。