PINE LIBRARY
업데이트됨

rangeBreakout

409
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.
릴리즈 노트
v2

Added:
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.
------------------------------------------------------------------
릴리즈 노트
v3

Fixed duplication of signal; if already short/long position is taken then avoid signal on the same trading day.
릴리즈 노트
v4
릴리즈 노트
v5

Updated:
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)
릴리즈 노트
v6

Added:
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.
------------------------------------------------------------------

면책사항

해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.