PINE LIBRARY
Updated GLLV_Helpers

Library "GLLV_Helpers"
buildAlertMsg(pineLic, ticker, risk, sl, tp, strategyCode)
Parameters:
pineLic (string)
ticker (string)
risk (float)
sl (float)
tp (float)
strategyCode (string)
isRising(src, points, step)
Parameters:
src (float)
points (int)
step (int)
regimeOf(pip2, posLimit, negLimit)
Parameters:
pip2 (float)
posLimit (float)
negLimit (float)
calcMata(fast, mid, slow)
Parameters:
fast (float)
mid (float)
slow (float)
crossUpByColor(src, ema, pvsraColor, expectedColor)
Parameters:
src (float)
ema (float)
pvsraColor (color)
expectedColor (color)
crossDownByColor(src, ema, pvsraColor, expectedColor)
Parameters:
src (float)
ema (float)
pvsraColor (color)
expectedColor (color)
calcSlope(src, length, mult, method)
Parameters:
src (float)
length (simple int)
mult (float)
method (string)
createDebugTable()
updateDebugTable(tbl, row, label, value)
Parameters:
tbl (table)
row (int)
label (string)
value (string)
buildAlertMsg(pineLic, ticker, risk, sl, tp, strategyCode)
Parameters:
pineLic (string)
ticker (string)
risk (float)
sl (float)
tp (float)
strategyCode (string)
isRising(src, points, step)
Parameters:
src (float)
points (int)
step (int)
regimeOf(pip2, posLimit, negLimit)
Parameters:
pip2 (float)
posLimit (float)
negLimit (float)
calcMata(fast, mid, slow)
Parameters:
fast (float)
mid (float)
slow (float)
crossUpByColor(src, ema, pvsraColor, expectedColor)
Parameters:
src (float)
ema (float)
pvsraColor (color)
expectedColor (color)
crossDownByColor(src, ema, pvsraColor, expectedColor)
Parameters:
src (float)
ema (float)
pvsraColor (color)
expectedColor (color)
calcSlope(src, length, mult, method)
Parameters:
src (float)
length (simple int)
mult (float)
method (string)
createDebugTable()
updateDebugTable(tbl, row, label, value)
Parameters:
tbl (table)
row (int)
label (string)
value (string)
Release Notes
v2Release Notes
v3Added:
isBodyLessThanWicksPercent(o, h, l, c, pct)
Parameters:
o (float)
h (float)
l (float)
c (float)
pct (float)
Release Notes
v4Added:
isRisingFast(src, points, step)
Parameters:
src (float)
points (int)
step (int)
regimeCounts(pip2, posLimit, negLimit, lookback)
Parameters:
pip2 (float)
posLimit (float)
negLimit (float)
lookback (int)
Release Notes
v5Added:
ma(src, length, type)
Parameters:
src (float)
length (simple int)
type (string)
directionColor(up, down, upColor, downColor, neutral)
Parameters:
up (bool)
down (bool)
upColor (color)
downColor (color)
neutral (color)
calcRsi(src, length, maType, maLen)
Parameters:
src (float)
length (simple int)
maType (string)
maLen (simple int)
calcWillr(src, length, maType, maLen)
Parameters:
src (float)
length (int)
maType (string)
maLen (simple int)
Release Notes
v6Updated:
buildAlertMsg(pineLic, action, ticker, risk, sl, tp, strategyCode)
Parameters:
pineLic (string)
action (string)
ticker (string)
risk (float)
sl (float)
tp (float)
strategyCode (string)
Removed:
ma(src, length, type)
Release Notes
v7Added:
buildAlertMsgtrl(pineLic, action, ticker, risk, sl, tp, trltrig, trldist, trlstep, strategyCode)
Parameters:
pineLic (string)
action (string)
ticker (string)
risk (float)
sl (float)
tp (float)
trltrig (float)
trldist (float)
trlstep (float)
strategyCode (string)
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 publications is governed by House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
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 publications is governed by House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.