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 Bibliothek

In echter TradingView-Manier hat der Autor diesen Pine-Code als Open-Source-Bibliothek veröffentlicht, so dass andere Pine-Programmierer aus unserer Community ihn weiterverwenden können. Ein Hoch auf den Autor! Sie können diese Bibliothek privat oder in anderen Open-Source-Publikationen verwenden, aber die Wiederverwendung dieses Codes in einer Publikation unterliegt den Hausregeln.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.

Möchten Sie diese Bibliothek nutzen?

Kopieren Sie die folgende Zeile und fügen Sie sie in Ihr Skript ein.