PINE LIBRARY
Telah dikemas kini

OneMonthFVG

147
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)
Nota Keluaran
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
Nota Keluaran
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))
Nota Keluaran
v4

Updated:
OneMonthFVGBox
  Fields:
    right (series int)
    top (series float)
    left (series int)
    bottom (series float)
    is_tested (series bool)
Nota Keluaran
v5

Updated:
OneMonthFVGBox
  Fields:
    right (series int)
    top (series float)
    left (series int)
    bottom (series float)
    is_tested (series bool)
    is_covered (series bool)
Nota Keluaran
v6
Nota Keluaran
v7
Nota Keluaran
v8

Updated:
OneMonthFVGBox
  Fields:
    right (series int)
    top (series float)
    left (series int)
    bottom (series float)
    is_tested (series bool)
    is_covered (series bool)
    is_drawn (series bool)
Nota Keluaran
v9

Updated:
OneMonthFVGBox
  Fields:
    right (series int)
    top (series float)
    left (series int)
    bottom (series float)
    is_tested (series bool)
    time_test_4H (series int)
    is_covered (series bool)
    is_drawn (series bool)
Nota Keluaran
v10
Nota Keluaran
v11
Nota Keluaran
v12
Nota Keluaran
v13
Nota Keluaran
v14
Nota Keluaran
v15
Nota Keluaran
v16
Nota Keluaran
v17

Updated:
find_one_m_bull_fvg(bull_fvgs)
  Parameters:
    bull_fvgs (array<OneMonthFVGBox>)
Nota Keluaran
v18

Updated:
find_one_m_bull_fvg(provided_fvgs)
  Parameters:
    provided_fvgs (array<OneMonthFVGBox>)
Nota Keluaran
v19

Updated:
OneMonthFVGBox
  Fields:
    right (series int)
    top (series float)
    left (series int)
    bottom (series float)
    is_tested (series bool)
    start_time_test_4H (series int)
    end_time_test_4H (series int)
    is_covered (series bool)
    is_drawn (series bool)
Nota Keluaran
v20
Nota Keluaran
v21
Nota Keluaran
v22

Updated:
find_one_m_bull_fvg(provided_fvgs, monthly_low_1, monthly_high_3, monthly_time_3, monthly_bar_closed, monthly_high_1)
  Parameters:
    provided_fvgs (array<OneMonthFVGBox>)
    monthly_low_1 (float)
    monthly_high_3 (float)
    monthly_time_3 (int)
    monthly_bar_closed (bool)
    monthly_high_1 (float)
Nota Keluaran
v23

Updated:
find_one_m_bear_fvg(provided_fvgs, monthly_low_3, monthly_high_1, monthly_time_3, monthly_bar_closed, monthly_low_1)
  Parameters:
    provided_fvgs (array<OneMonthFVGBox>)
    monthly_low_3 (float)
    monthly_high_1 (float)
    monthly_time_3 (int)
    monthly_bar_closed (bool)
    monthly_low_1 (float)

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.