PINE LIBRARY
ที่อัปเดต: FMatrixSCLibrary

Library "FMatrixSCLibrary"
defaultTheme()
calcEnv(adx, rsi, atr_pr, er, mean_ext, btcRet, date, dir)
Parameters:
adx (float)
rsi (float)
atr_pr (float)
er (float)
mean_ext (float)
btcRet (float)
date (string)
dir (string)
pushEnv(arr, snap, maxSize)
Parameters:
arr (array<EnvSnap>)
snap (EnvSnap)
maxSize (int)
calcSys(history, tradeNum, date, dir, r, wl, earlyExit, equity, peakEq, dd, dow, quarter, cycleYear)
Parameters:
history (array<SysSnap>)
tradeNum (int)
date (string)
dir (string)
r (float)
wl (int)
earlyExit (bool)
equity (float)
peakEq (float)
dd (float)
dow (string)
quarter (string)
cycleYear (int)
pushSys(arr, snap, maxSize)
Parameters:
arr (array<SysSnap>)
snap (SysSnap)
maxSize (int)
renderEnvTable(t, snaps, maxRows, sysCode, theme)
Parameters:
t (table)
snaps (array<EnvSnap>)
maxRows (int)
sysCode (string)
theme (SCTheme)
renderSysTable(t, snaps, maxRows, sysCode, theme)
Parameters:
t (table)
snaps (array<SysSnap>)
maxRows (int)
sysCode (string)
theme (SCTheme)
SCTheme
Fields:
bg (series color)
hdr (series color)
row (series color)
row2 (series color)
txt (series color)
dim (series color)
cyan (series color)
bull (series color)
bear (series color)
gold (series color)
grid (series color)
EnvSnap
Fields:
date (series string)
dir (series string)
adx (series float)
rsi (series float)
atr_pr (series float)
er (series float)
mean_ext (series float)
btc_ret (series float)
SysSnap
Fields:
num (series int)
date (series string)
dir (series string)
r (series float)
wl (series int)
early_exit (series bool)
equity (series float)
peak_eq (series float)
dd (series float)
state (series string)
streak (series int)
wr20 (series float)
dow (series string)
quarter (series string)
cycle_year (series int)
defaultTheme()
calcEnv(adx, rsi, atr_pr, er, mean_ext, btcRet, date, dir)
Parameters:
adx (float)
rsi (float)
atr_pr (float)
er (float)
mean_ext (float)
btcRet (float)
date (string)
dir (string)
pushEnv(arr, snap, maxSize)
Parameters:
arr (array<EnvSnap>)
snap (EnvSnap)
maxSize (int)
calcSys(history, tradeNum, date, dir, r, wl, earlyExit, equity, peakEq, dd, dow, quarter, cycleYear)
Parameters:
history (array<SysSnap>)
tradeNum (int)
date (string)
dir (string)
r (float)
wl (int)
earlyExit (bool)
equity (float)
peakEq (float)
dd (float)
dow (string)
quarter (string)
cycleYear (int)
pushSys(arr, snap, maxSize)
Parameters:
arr (array<SysSnap>)
snap (SysSnap)
maxSize (int)
renderEnvTable(t, snaps, maxRows, sysCode, theme)
Parameters:
t (table)
snaps (array<EnvSnap>)
maxRows (int)
sysCode (string)
theme (SCTheme)
renderSysTable(t, snaps, maxRows, sysCode, theme)
Parameters:
t (table)
snaps (array<SysSnap>)
maxRows (int)
sysCode (string)
theme (SCTheme)
SCTheme
Fields:
bg (series color)
hdr (series color)
row (series color)
row2 (series color)
txt (series color)
dim (series color)
cyan (series color)
bull (series color)
bear (series color)
gold (series color)
grid (series color)
EnvSnap
Fields:
date (series string)
dir (series string)
adx (series float)
rsi (series float)
atr_pr (series float)
er (series float)
mean_ext (series float)
btc_ret (series float)
SysSnap
Fields:
num (series int)
date (series string)
dir (series string)
r (series float)
wl (series int)
early_exit (series bool)
equity (series float)
peak_eq (series float)
dd (series float)
state (series string)
streak (series int)
wr20 (series float)
dow (series string)
quarter (series string)
cycle_year (series int)
Release Note
v2Added:
renderSystemBias(t, r, wl, dir, dow, mo, qtr, cy, curDowIdx, curMo, curQtr, curCy, sysCode, theme)
Parameters:
t (table)
r (array<float>)
wl (array<int>)
dir (array<int>)
dow (array<string>)
mo (array<int>)
qtr (array<string>)
cy (array<int>)
curDowIdx (int)
curMo (int)
curQtr (int)
curCy (int)
sysCode (string)
theme (SCTheme)
renderEnvBias(t, curMonth, curQtr, theme)
Parameters:
t (table)
curMonth (int)
curQtr (int)
theme (SCTheme)
Updated:
SCTheme
Fields:
bg (series color)
hdr (series color)
row (series color)
row2 (series color)
txt (series color)
dim (series color)
cyan (series color)
bull (series color)
bear (series color)
gold (series color)
grid (series color)
hl (series color)
Removed:
calcEnv(adx, rsi, atr_pr, er, mean_ext, btcRet, date, dir)
pushEnv(arr, snap, maxSize)
calcSys(history, tradeNum, date, dir, r, wl, earlyExit, equity, peakEq, dd, dow, quarter, cycleYear)
pushSys(arr, snap, maxSize)
renderEnvTable(t, snaps, maxRows, sysCode, theme)
renderSysTable(t, snaps, maxRows, sysCode, theme)
EnvSnap
SysSnap
Release Note
v3Added:
renderQuickBias(t, r, wl, dow, qtr, cy, curDowIdx, curQtr, curCy, sysCode, theme)
Parameters:
t (table)
r (array<float>)
wl (array<int>)
dow (array<string>)
qtr (array<string>)
cy (array<int>)
curDowIdx (int)
curQtr (int)
curCy (int)
sysCode (string)
theme (SCTheme)
renderAutoStats(t, r, wl, dir, consistencyScore, ddScore, sysCode, theme)
Parameters:
t (table)
r (array<float>)
wl (array<int>)
dir (array<int>)
consistencyScore (float)
ddScore (float)
sysCode (string)
theme (SCTheme)
Updated:
renderSystemBias(t, r, wl, dir, dow, qtr, cy, curDowIdx, curQtr, curCy, sysCode, theme)
Parameters:
t (table)
r (array<float>)
wl (array<int>)
dir (array<int>)
dow (array<string>)
qtr (array<string>)
cy (array<int>)
curDowIdx (int)
curQtr (int)
curCy (int)
sysCode (string)
theme (SCTheme)
ไลบรารีไพน์
ด้วยเจตนารมณ์หลักของ TradingView ผู้เขียนได้เผยแพร่ Pine code นี้เป็นโอเพนซอร์สไลบรารีเพื่อให้ Pine โปรแกรมเมอร์คนอื่นในชุมชนของเราสามารถนำไปใช้ซ้ำได้ ต้องขอบคุณผู้เขียน! คุณสามารถใช้ไลบรารีนี้ในแบบส่วนตัวหรือในการเผยแพร่แบบโอเพนซอร์สอื่น ๆ แต่การนำโค้ดนี้ไปใช้ในการเผยแพร่ซ้ำจะต้องอยู่ภายใต้ กฎระเบียบการใช้งาน
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
ไลบรารีไพน์
ด้วยเจตนารมณ์หลักของ TradingView ผู้เขียนได้เผยแพร่ Pine code นี้เป็นโอเพนซอร์สไลบรารีเพื่อให้ Pine โปรแกรมเมอร์คนอื่นในชุมชนของเราสามารถนำไปใช้ซ้ำได้ ต้องขอบคุณผู้เขียน! คุณสามารถใช้ไลบรารีนี้ในแบบส่วนตัวหรือในการเผยแพร่แบบโอเพนซอร์สอื่น ๆ แต่การนำโค้ดนี้ไปใช้ในการเผยแพร่ซ้ำจะต้องอยู่ภายใต้ กฎระเบียบการใช้งาน
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน