PINE LIBRARY

PRINT_TYPE

Library "PRINT_TYPE"

Inputs
  Inputs objects
  Fields:
    inbalance_percent (series int): percentage coefficient to determine the Imbalance of price levels
    stacked_input (series int): minimum number of consecutive Imbalance levels required to draw extended lines
    show_summary_footprint (series bool)
    procent_volume_area (series int): definition size Value area
    new_imbalance_cond (series bool): bool input for setup alert on new imbalance buy and sell
    new_imbalance_line_cond (series bool): bool input for setup alert on new imbalance line buy and sell
    stop_past_imbalance_line_cond (series bool): bool input for setup alert on stop past imbalance line buy and sell

Constants
  Constants all Constants objects
  Fields:
    imbalance_high_char (series string): char for printing buy imbalance
    imbalance_low_char (series string): char for printing sell imbalance
    color_title_sell (series color): color for footprint sell
    color_title_buy (series color): color for footprint buy
    color_line_sell (series color): color for sell line
    color_line_buy (series color): color for buy line
    color_title_none (series color): color None

Calculation_data
  Calculation_data data for calculating
  Fields:
    detail_open (array<float>): array open from calculation timeframe
    detail_high (array<float>): array high from calculation timeframe
    detail_low (array<float>): array low from calculation timeframe
    detail_close (array<float>): array close from calculation timeframe
    detail_vol (array<float>): array volume from calculation timeframe
    previos_detail_close (array<float>): array close[1] from calculation timeframe
    isBuyVolume (series bool): attribute previosly bar buy or sell

Footprint_row
  Footprint_row objects one footprint row
  Fields:
    price (series float): row price
    buy_vol (series float): buy volume
    sell_vol (series float): sell volume
    imbalance_buy (series bool): attribute buy inbalance
    imbalance_sell (series bool): attribute sell imbalance
    buy_vol_box (series box): for ptinting buy volume
    sell_vol_box (series box): for printing sell volume
    buy_vp_box (series box): for ptinting volume profile buy
    sell_vp_box (series box): for ptinting volume profile sell
    row_line (series label): for ptinting row price
    empty (series bool): = true attribute row with zero volume buy and zero volume sell

Imbalance_line_var_object
  Imbalance_line_var_object var objects printing and calculation imbalance line
  Fields:
    cum_buy_line (array<line>): line array for saving all history buy imbalance line
    cum_sell_line (array<line>): line array for saving all history sell imbalance line

Imbalance_line
  Imbalance_line objects printing and calculation imbalance line
  Fields:
    buy_price_line (array<float>): float array for saving buy imbalance price level
    sell_price_line (array<float>): float array for saving sell imbalance price level
    var_imba_line (Imbalance_line_var_object): var objects this type

Footprint_bar
  Footprint_bar all objects one bar with footprint
  Fields:
    foot_rows (array<Footprint_row>): objects one row footprint
    imba_line (Imbalance_line): objects imbalance line
    row_size (series float): size rows
    total_vol (series float): total volume one footprint bar
    foot_buy_vol (series float): buy volume one footprint bar
    foot_sell_vol (series float): sell volume one footprint bar
    foot_max_price_vol (map<float, float>): map with one value - price row with max volume buy + sell
    calc_data (Calculation_data): objects with detail data from calculation resolution

Support_objects
  Support_objects support object for footprint calculation
  Fields:
    consts (Constants): all consts objects
    inp (Inputs): all input objects
    bar_index_show_condition (series bool): calculation bool value for show all objects footprint
    row_line_color (series color): calculation value - color for row price
    dop_info (series string)
    show_table_cond (series bool)
statistics

Libreria Pine

In pieno spirito TradingView, l'autore ha pubblicato questo codice Pine come libreria open-source in modo che altri programmatori Pine della nostra comunità possano riutilizzarlo. Un saluto all'autore! È possibile utilizzare questa libreria privatamente o in altre pubblicazioni open-source, ma il riutilizzo di questo codice in una pubblicazione è regolato dal nostro Regolamento.

Declinazione di responsabilità