PINE LIBRARY

Monty3192_Library

Updated
Library "Monty3192_Library"
Libreria Monty3192 - MontyTrader

calc_func(inversion1, inversion2, inversion3, inversion4, inversion5, inversion6, inversion7, inversion8, inversion9, inversion10, precio1, precio2, precio3, precio4, precio5, precio6, precio7, precio8, precio9, precio10, act_1, act_2, act_3, act_4, act_5, act_6, act_7, act_8, act_9, act_10)
  Parameters:
    inversion1 (float)
    inversion2 (float)
    inversion3 (float)
    inversion4 (float)
    inversion5 (float)
    inversion6 (float)
    inversion7 (float)
    inversion8 (float)
    inversion9 (float)
    inversion10 (float)
    precio1 (float)
    precio2 (float)
    precio3 (float)
    precio4 (float)
    precio5 (float)
    precio6 (float)
    precio7 (float)
    precio8 (float)
    precio9 (float)
    precio10 (float)
    act_1 (bool)
    act_2 (bool)
    act_3 (bool)
    act_4 (bool)
    act_5 (bool)
    act_6 (bool)
    act_7 (bool)
    act_8 (bool)
    act_9 (bool)
    act_10 (bool)

rend_func(p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, po)
  Parameters:
    p1 (float)
    p2 (float)
    p3 (float)
    p4 (float)
    p5 (float)
    p6 (float)
    p7 (float)
    p8 (float)
    p9 (float)
    p10 (float)
    po (float)

f_drawLine(cond, x1, y1, x2, y2, colorr, txt, act, offset, txtc, txts)
  Parameters:
    cond (bool)
    x1 (int)
    y1 (float)
    x2 (int)
    y2 (float)
    colorr (color)
    txt (string)
    act (bool)
    offset (int)
    txtc (color)
    txts (string)

f_Vline(cond, x1, y1, x2, y2, colorr, txt, sel, txts, txtc)
  Parameters:
    cond (bool)
    x1 (int)
    y1 (float)
    x2 (int)
    y2 (float)
    colorr (color)
    txt (string)
    sel (bool)
    txts (string)
    txtc (color)

get_all_time_high()
Release Notes
v2

Añadido:
simple_calc_func(inversiones, precios, activos)
  Parameters:
    inversiones (array<float>)
    precios (array<float>)
    activos (array<bool>)
Release Notes
v3

Actualizado:
calc_func(inversion1, inversion2, inversion3, inversion4, inversion5, inversion6, inversion7, inversion8, inversion9, inversion10, precio1, precio2, precio3, precio4, precio5, precio6, precio7, precio8, precio9, precio10, act_1, act_2, act_3, act_4, act_5, act_6, act_7, act_8, act_9, act_10)
  Calcula la suma de inv,pre,sum_lot,pre_pro
  Parameters:
    inversion1 (float)
    inversion2 (float)
    inversion3 (float)
    inversion4 (float)
    inversion5 (float)
    inversion6 (float)
    inversion7 (float)
    inversion8 (float)
    inversion9 (float)
    inversion10 (float)
    precio1 (float)
    precio2 (float)
    precio3 (float)
    precio4 (float)
    precio5 (float)
    precio6 (float)
    precio7 (float)
    precio8 (float)
    precio9 (float)
    precio10 (float)
    act_1 (bool)
    act_2 (bool)
    act_3 (bool)
    act_4 (bool)
    act_5 (bool)
    act_6 (bool)
    act_7 (bool)
    act_8 (bool)
    act_9 (bool)
    act_10 (bool)
  Returns: inv,pre,sum_lot,pre_pro
Release Notes
v4

Actualizado:
f_Vline(cond, x1, y1, x2, y2, colorr, txt, sel, txts, txtc, size)
  Parameters:
    cond (bool)
    x1 (int)
    y1 (float)
    x2 (int)
    y2 (float)
    colorr (color)
    txt (string)
    sel (bool)
    txts (string)
    txtc (color)
    size (int)
Release Notes
v5

Añadido:
f_sLine(cond, x1, y1, x2, y2, colorr, txt, size, off, txtcol, txts)
  Parameters:
    cond (bool)
    x1 (int)
    y1 (float)
    x2 (int)
    y2 (float)
    colorr (color)
    txt (float)
    size (int)
    off (int)
    txtcol (color)
    txts (string)

Actualizado:
f_drawLine(cond, x1, y1, x2, y2, colorr, txt, txtcol, act, offset, txts, ls)
  Parameters:
    cond (bool)
    x1 (int)
    y1 (float)
    x2 (int)
    y2 (float)
    colorr (color)
    txt (string)
    txtcol (color)
    act (bool)
    offset (int)
    txts (string)
    ls (int)

f_Vline(cond, x1, y1, x2, y2, colorr, txt, sel, txts, txtc, size, bxcol)
  Parameters:
    cond (bool)
    x1 (int)
    y1 (float)
    x2 (int)
    y2 (float)
    colorr (color)
    txt (string)
    sel (bool)
    txts (string)
    txtc (color)
    size (int)
    bxcol (color)
statistics

Pine library

In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in a publication is governed by House rules.

Disclaimer