ALETHES_LEGACY_Investments_Lib

f_getLimitRight(bars)
Parameters:
bars (int)
f_getLineStyle(lineStyleX)
Parameters:
lineStyleX (string)
f_getLineWidth(lineWidth)
Parameters:
lineWidth (string)
f_adjustLabel(labelText)
Parameters:
labelText (string)
f_levelMerge(pricearray, labelarray, currentprice, currentlabel, currentcolor)
Parameters:
pricearray (array<float>)
labelarray (array<label>)
currentprice (float)
currentlabel (label)
currentcolor (color)
f_plotLineAndLabel(startTime, lineLevel, lineColor, lineStyle, lineWidth, labelText, labelColor, labelOffset)
Parameters:
startTime (int)
lineLevel (float)
lineColor (color)
lineStyle (string)
lineWidth (string)
labelText (string)
labelColor (color)
labelOffset (int)
f_labelOnRight(plotSeries, labelText, labelStyle, labelColor, showLabel, labelOffset)
Parameters:
plotSeries (float)
labelText (string)
labelStyle (string)
labelColor (color)
showLabel (bool)
labelOffset (int)
f_getMovingAverage(maType, MaLength)
Parameters:
maType (string)
MaLength (simple int)
f_newBar(res)
Parameters:
res (simple string)
f_drawPivot(pivotLevel, res, pivotText, pivotColor, pivotLabelColor, pivotStyle, pivotWidth, pivotExtend, isLabelValid, isValidTf, levelStart, pivotLabelXOffset)
Parameters:
pivotLevel (float)
res (simple string)
pivotText (simple string)
pivotColor (simple color)
pivotLabelColor (simple color)
pivotStyle (simple string)
pivotWidth (simple int)
pivotExtend (simple string)
isLabelValid (simple bool)
isValidTf (simple bool)
levelStart (int)
pivotLabelXOffset (int)
f_avgRangeHiLo(length, barsBack, fromOpen)
Parameters:
length (simple int)
barsBack (simple int)
fromOpen (simple bool)
f_splitSessionString(sessXTime)
Parameters:
sessXTime (simple string)
f_calcSessionStartEnd(sessXTime, gmt)
Parameters:
sessXTime (simple string)
gmt (simple string)
f_drawOpenRange(sessXTime, sessXcol, showOrX, gmt)
Parameters:
sessXTime (simple string)
sessXcol (simple color)
showOrX (simple bool)
gmt (simple string)
f_drawSessionHiLo(sessXTime, showSession, showLabelX, sessXcolLabel, sessXLabel, gmt, sessionLineStyle, sessionLineWidth)
Parameters:
sessXTime (simple string)
showSession (simple bool)
showLabelX (simple bool)
sessXcolLabel (simple color)
sessXLabel (simple string)
gmt (simple string)
sessionLineStyle (simple string)
sessionLineWidth (simple string)
f_calcDst()
Perpustakaan Pine
Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai perpustakaan sumber terbuka supaya pengaturcara Pine lain dari komuniti kami boleh menggunakannya semula. Sorakan kepada penulis! Anda juga boleh menggunakan perpustakaan ini secara peribadi atau dalam penerbitan sumber terbuka lain, tetapi penggunaan semula kod ini dalam penerbitan adalah tertakluk kepada Peraturan Dalaman.
Penafian
Perpustakaan Pine
Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai perpustakaan sumber terbuka supaya pengaturcara Pine lain dari komuniti kami boleh menggunakannya semula. Sorakan kepada penulis! Anda juga boleh menggunakan perpustakaan ini secara peribadi atau dalam penerbitan sumber terbuka lain, tetapi penggunaan semula kod ini dalam penerbitan adalah tertakluk kepada Peraturan Dalaman.