djmad

Mad_Fibonaccibox

Library "Mad_Fibonaccibox"
This library is designed to create and manage multiple Fibonacci boxes, which are graphical representations based on the inputs.

-----------------
exports:

f_fib_calc(_Fibonacci_box, _itemnumber)
  fibonacci calc.
@description This function block uses the levels and paramters set into the type_fibonacci_box(levels) and fills the corresponding array of prices.
  Parameters:
    _Fibonacci_box (type_Fibonacci_box)
    _itemnumber (int)
  Returns: returns a type_Fibonacci_box with the filled data

f_fib_draw(_Fibonacci_box, _itemnumber)
  fibonacci draw.
@description This function block uses the levels, prices and paramters set into the type_fibonacci_box(levels) and draws the fib on the chart
  Parameters:
    _Fibonacci_box (type_Fibonacci_box)
    _itemnumber (int)
  Returns: returns lines labels and fills on the chart, no data returns

type_level
  s for defining a lines and texts of a fibonacci box
  Fields:
    level (series float)
    price (series float)
    drawline (series bool)
    linewidth (series int)
    linetype (series string)
    fiblinecolor (series color)
    drawlabel (series string)
    labeltext (series string)
    textshift (series int)
    fibtextcolor (series color)
    fibtextsize (series string)
    transp (series int)

type_fill
  s for defining the fills of a fibonaccibox
  Fields:
    partner_A (series int)
    partner_B (series int)
    fill_color (series color)
    transp (series int)

type_Fibonacci_box
  s for defining a fibonacci box
  Fields:
    bottom_price (series float)
    top_price (series float)
    StartBar (series int)
    StopBar (series int)
    levels (type_level)
    fills (type_fill)
    ChartisLog (series bool)
    fibreverse (series bool)
    fibdrawreverse (series bool)
    decimals_price (series int)
    decimals_percent (series int)
    drawlines (series bool)
    drawlabels (series bool)
    drawfills (series bool)
    draw_biginfo (series bool)
    biginfo_textshift (series int)
    rangeinfo_location (series int)
    rangeinfo_color (series color)
    rangeinfo_textsize (series string)
    line_array (line)
    linefill_array (linefill)
    label_array (label)

Trader & coder. TA & NFTs.
bitblockwizard.com more at bitblockart.com
ספריית Pine

ברוח TradingView אמיתית, המחבר פרסם את קוד Pine זה כספריית קוד פתוח כך שמתכנתי Pine אחרים מהקהילה שלנו יוכלו לעשות בו שימוש חוזר. כל הכבוד למחבר! אתה יכול להשתמש בספרייה זו באופן פרטי או בפרסומים אחרים בקוד פתוח, אך השימוש החוזר בקוד זה בפרסום כפוף לכללי הבית.

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.

רוצה להשתמש בספרייה זו?

העתק את השורה הבאה והדבק אותה בסקריפט שלך.