PINE LIBRARY
Güncellendi

OneMonthFVG

95
Library "OneMonthFVG"
The library is searching the open 1M FVG

find_one_m_fvg(provided_bull_fvgs)
  Parameters:
    provided_bull_fvgs (array<BullFVG>)

BullFVG
  Fields:
    right (series int)
    top (series float)
    left (series int)
    bottom (series float)
Sürüm Notları
v2

Added:
find_one_m_bull_fvg(provided_fvgs)
  Parameters:
    provided_fvgs (array<OneMonthFVGBox>)

find_one_m_bear_fvg(provided_fvgs)
  Parameters:
    provided_fvgs (array<OneMonthFVGBox>)

OneMonthFVGBox
  Fields:
    right (series int)
    top (series float)
    left (series int)
    bottom (series float)

Removed:
find_one_m_fvg(provided_bull_fvgs)

BullFVG
Sürüm Notları
v3

Example of Usage for Bullish 1M FVG
Pine Script®
monthly_high = request.security(syminfo.tickerid, "M", high) monthly_low = request.security(syminfo.tickerid, "M", low) is_bull_fvg = (monthly_low[1] > monthly_high[3]) bull_fvg_top = monthly_low[1] bull_fvg_bottom = monthly_high[3] var bull_fvgs = array.new<fvg.OneMonthFVGBox>() if is_bull_fvg bullFVG = fvg.OneMonthFVGBox.new(bar_index[3], bull_fvg_top, bar_index + 10, bull_fvg_bottom) array.push(bull_fvgs, bullFVG) fvg.find_one_m_bull_fvg(bull_fvgs) // Draw Opened 1M FVG if array.size(bull_fvgs) > 0 and barstate.islast for i = 0 to array.size(bull_fvgs) - 1 bullFVG = array.get(bull_fvgs, i) box.new(bullFVG.left, bullFVG.top, bullFVG.right, bullFVG.bottom, border_color=color.new(color.aqua, 0), bgcolor=color.new(color.aqua, 90))


Example of Usage for Bearish 1M FVG
Pine Script®
monthly_high = request.security(syminfo.tickerid, "M", high) monthly_low = request.security(syminfo.tickerid, "M", low) is_bear_fvg = (monthly_high[1] < monthly_low[3]) bear_fvg_top = monthly_low[3] bear_fvg_bottom = monthly_high[1] var bear_fvgs = array.new<fvg.OneMonthFVGBox>() if is_bear_fvg bearFVG = fvg.OneMonthFVGBox.new(bar_index[3], bear_fvg_top, bar_index + 10, bear_fvg_bottom) array.push(bear_fvgs, bearFVG) fvg.find_one_m_bear_fvg(bear_fvgs) // Draw Opened 1M FVG if array.size(bear_fvgs) > 0 and barstate.islast for i = 0 to array.size(bear_fvgs) - 1 bearFVG = array.get(bear_fvgs, i) box.new(bearFVG.left, bearFVG.top, bearFVG.right, bearFVG.bottom, border_color=color.new(color.red, 0), bgcolor=color.new(color.red, 90))
Sürüm Notları
v4

Updated:
OneMonthFVGBox
  Fields:
    right (series int)
    top (series float)
    left (series int)
    bottom (series float)
    is_tested (series bool)
Sürüm Notları
v5

Updated:
OneMonthFVGBox
  Fields:
    right (series int)
    top (series float)
    left (series int)
    bottom (series float)
    is_tested (series bool)
    is_covered (series bool)
Sürüm Notları
v6
Sürüm Notları
v7

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.