AGPTSCoreLibrary "AGPTSCore"
f_fstr(val, fmt, na_rep)
Parameters:
val (float)
fmt (string)
na_rep (string)
f_sstr(s, fallback)
Parameters:
s (string)
fallback (string)
f_draw_risk_blocks(p_idx, p_tp1, p_tp2, p_tp3, p_tp4, p_sl, p_entry, p_rr, p_size, is_long, req_rr, p_sz_str)
Parameters:
p_idx (int)
p_tp1 (float)
p_tp2 (float)
p_tp3 (float)
p_tp4 (float)
p_sl (float)
p_entry (float)
p_rr (float)
p_size (float)
is_long (bool)
req_rr (float)
p_sz_str (string)
f_delete_risk_drawings(b1, b2, l1, sl, l_sl, t1, l_t1, t2, l_t2, t3, l_t3, t4, l_t4)
Parameters:
b1 (box)
b2 (box)
l1 (label)
sl (line)
l_sl (label)
t1 (line)
l_t1 (label)
t2 (line)
l_t2 (label)
t3 (line)
l_t3 (label)
t4 (line)
l_t4 (label)
f_elite_style_risk(slLine, slLbl, tp1Line, tp1Lbl, tp2Line, tp2Lbl, tp3Line, tp3Lbl, tp4Line, tp4Lbl, tp5Line, tp5Lbl, posCol, negCol)
Parameters:
slLine (line)
slLbl (label)
tp1Line (line)
tp1Lbl (label)
tp2Line (line)
tp2Lbl (label)
tp3Line (line)
tp3Lbl (label)
tp4Line (line)
tp4Lbl (label)
tp5Line (line)
tp5Lbl (label)
posCol (color)
negCol (color)
f_draw_smc_overlay(p_mode, p_bos_up, p_bos_dn, p_swing_high, p_swing_low, p_bull_fvg, p_bear_fvg, p_lbl_size_str, smc_fvg_boxes, smc_fvg_labels, smc_bos_lines, smc_bos_labels)
Parameters:
p_mode (string)
p_bos_up (bool)
p_bos_dn (bool)
p_swing_high (float)
p_swing_low (float)
p_bull_fvg (float)
p_bear_fvg (float)
p_lbl_size_str (string)
smc_fvg_boxes (array)
smc_fvg_labels (array)
smc_bos_lines (array)
smc_bos_labels (array)
f_draw_pd_zones_fixed(p_high, p_low, p_lookback, p_show, p_lbl_size_str, p_priceFormat)
Parameters:
p_high (float)
p_low (float)
p_lookback (int)
p_show (bool)
p_lbl_size_str (string)
p_priceFormat (string)
f_draw_smart_level(_val, _type, _strength, _col, p_lbl_size_str, p_priceFormat)
Parameters:
_val (float)
_type (string)
_strength (int)
_col (color)
p_lbl_size_str (string)
p_priceFormat (string)
f_draw_choppy_label(show, idx, y_price, current_val, limit_val)
Parameters:
show (bool)
idx (int)
y_price (float)
current_val (float)
limit_val (int)
f_draw_label_with_price(show, price_val, title, fmt, bg_color, p_size)
Parameters:
show (bool)
price_val (float)
title (string)
fmt (string)
bg_color (color)
p_size (string)
fmtPctAligned(x)
Parameters:
x (float)
f_format_cell_text(value, success_prefix, success_suffix, error_message, p_format)
Parameters:
value (float)
success_prefix (string)
success_suffix (string)
error_message (string)
p_format (string)
f_format_portfolio_line(p_qty, p_label, p_price, p_chg, p_chg7d, p_value, p_percent, p_price_format)
Parameters:
p_qty (float)
p_label (string)
p_price (float)
p_chg (float)
p_chg7d (float)
p_value (float)
p_percent (float)
p_price_format (string)
f_gen_rsi_text(p_rsi, p_len, p_mfi, p_rsiHTF, p_showHTF, p_tfHTF, c_pos, c_neg, c_mix, c_neu)
Parameters:
p_rsi (float)
p_len (int)
p_mfi (float)
p_rsiHTF (float)
p_showHTF (bool)
p_tfHTF (string)
c_pos (color)
c_neg (color)
c_mix (color)
c_neu (color)
f_gen_macd_text(p_ml, p_ms, p_hist, p_ml_htf, p_ms_htf, p_bullCross, p_bearCross, p_showHTF, p_tfHTF, c_pos, c_neg, c_mix, c_neu)
Parameters:
p_ml (float)
p_ms (float)
p_hist (float)
p_ml_htf (float)
p_ms_htf (float)
p_bullCross (bool)
p_bearCross (bool)
p_showHTF (bool)
p_tfHTF (string)
c_pos (color)
c_neg (color)
c_mix (color)
c_neu (color)
f_gen_ema_text(p_close, p_high, p_low, p_fast, p_slow, p_golden, p_death, p_mode, p_type, c_pos, c_neg, c_neu)
Parameters:
p_close (float)
p_high (float)
p_low (float)
p_fast (float)
p_slow (float)
p_golden (bool)
p_death (bool)
p_mode (string)
p_type (string)
c_pos (color)
c_neg (color)
c_neu (color)
f_gen_obv_text(p_obv, p_obv_ma, p_bullDiv, p_bearDiv, c_pos, c_neg, c_neu)
Parameters:
p_obv (float)
p_obv_ma (float)
p_bullDiv (bool)
p_bearDiv (bool)
c_pos (color)
c_neg (color)
c_neu (color)
f_gen_volume_text(vol, vma, close, high, low, open, prev_close, c_pos, c_neg, c_neu, c_mix)
Parameters:
vol (float)
vma (float)
close (float)
high (float)
low (float)
open (float)
prev_close (float)
c_pos (color)
c_neg (color)
c_neu (color)
c_mix (color)
f_gen_bb_text(p_price, p_upper, p_lower, p_mid, p_width, c_pos, c_neg, c_neu)
Parameters:
p_price (float)
p_upper (float)
p_lower (float)
p_mid (float)
p_width (float)
c_pos (color)
c_neg (color)
c_neu (color)
f_gen_st_text(p_st_val, p_st_dir, p_close, p_fmt, c_pos, c_neg, c_neu)
Parameters:
p_st_val (float)
p_st_dir (float)
p_close (float)
p_fmt (string)
c_pos (color)
c_neg (color)
c_neu (color)
f_gen_avwap_text(p_price, p_avwap, p_fmt, c_pos, c_neg, c_neu)
Parameters:
p_price (float)
p_avwap (float)
p_fmt (string)
c_pos (color)
c_neg (color)
c_neu (color)
f_gen_svwap_text(p_price, p_vwap, p_fmt, c_pos, c_neg, c_neu)
Parameters:
p_price (float)
p_vwap (float)
p_fmt (string)
c_pos (color)
c_neg (color)
c_neu (color)
f_gen_alt_season_text(p_val, p_chg, c_pos, c_neg, c_neu)
Parameters:
p_val (float)
p_chg (float)
c_pos (color)
c_neg (color)
c_neu (color)
f_gen_atr_text(p_atr, p_price, p_fmt, c_pos, c_neg, c_neu)
Parameters:
p_atr (float)
p_price (float)
p_fmt (string)
c_pos (color)
c_neg (color)
c_neu (color)
f_gen_adx_text(p_adx, p_di_p, p_di_m, c_pos, c_neg, c_neu, c_mix)
Parameters:
p_adx (float)
p_di_p (float)
p_di_m (float)
c_pos (color)
c_neg (color)
c_neu (color)
c_mix (color)
f_gen_stoch_text(p_k, p_d, p_rsi, c_pos, c_neg, c_neu, c_mix)
Parameters:
p_k (float)
p_d (float)
p_rsi (float)
c_pos (color)
c_neg (color)
c_neu (color)
c_mix (color)
f_gen_smc_text(p_bos_up, p_bos_dn, p_swing_high, p_swing_low, p_sweep_low, p_sweep_high, p_bull_fvg, p_bear_fvg, p_fmt, p_mode, c_pos, c_neg, c_neu)
Parameters:
p_bos_up (bool)
p_bos_dn (bool)
p_swing_high (float)
p_swing_low (float)
p_sweep_low (bool)
p_sweep_high (bool)
p_bull_fvg (float)
p_bear_fvg (float)
p_fmt (string)
p_mode (string)
c_pos (color)
c_neg (color)
c_neu (color)
f_gen_bvol_text(p_val, p_chg, c_pos, c_neg, c_neu)
Parameters:
p_val (float)
p_chg (float)
c_pos (color)
c_neg (color)
c_neu (color)
f_gen_market_score_text(p_score, p_btcD, c_pos, c_neg, c_neu, c_mix)
Parameters:
p_score (float)
p_btcD (float)
c_pos (color)
c_neg (color)
c_neu (color)
c_mix (color)
f_gen_summary_text(p_rsi, p_mHist, p_mSlope, p_atrPct, p_isSqueeze, p_isExtreme, p_fMA, p_sMA, p_stBull, p_vol, p_vma)
Parameters:
p_rsi (float)
p_mHist (float)
p_mSlope (float)
p_atrPct (float)
p_isSqueeze (bool)
p_isExtreme (bool)
p_fMA (float)
p_sMA (float)
p_stBull (bool)
p_vol (float)
p_vma (float)
f_resolve_text_bulk(id, p_close, p_rsi, p_stochK, p_stochD, p_marketScore, p_btcD, p_adx, p_diPlus, p_diMinus, p_atr, p_vol, p_vma, p_bvol, p_bvol_chg, p_st, p_stDir, p_bbUp, p_bbLow, p_bbMid, p_othersD, p_othersD_chg, c_pos, c_neg, c_neu, c_mix, p_fmt)
Parameters:
id (string)
p_close (float)
p_rsi (float)
p_stochK (float)
p_stochD (float)
p_marketScore (float)
p_btcD (float)
p_adx (float)
p_diPlus (float)
p_diMinus (float)
p_atr (float)
p_vol (float)
p_vma (float)
p_bvol (float)
p_bvol_chg (float)
p_st (float)
p_stDir (float)
p_bbUp (float)
p_bbLow (float)
p_bbMid (float)
p_othersD (float)
p_othersD_chg (float)
c_pos (color)
c_neg (color)
c_neu (color)
c_mix (color)
p_fmt (string)
f_render_cell(t, c, r, txt, tc, bg, sz, al)
Parameters:
t (table)
c (int)
r (int)
txt (string)
tc (color)
bg (color)
sz (string)
al (string)
f_render_full_row(t, r, txt, tc, sz, use_bg, alpha)
Parameters:
t (table)
r (int)
txt (string)
tc (color)
sz (string)
use_bg (bool)
alpha (int)
f_render_dual_row(t, r, txt_l, txt_r, tc, bg, sz_l, sz_r)
Parameters:
t (table)
r (int)
txt_l (string)
txt_r (string)
tc (color)
bg (color)
sz_l (string)
sz_r (string)
f_render_dual_custom(t, r, txt_l, txt_r, tc_l, tc_r, bg_l, bg_r, sz)
Parameters:
t (table)
r (int)
txt_l (string)
txt_r (string)
tc_l (color)
tc_r (color)
bg_l (color)
bg_r (color)
sz (string)
f_get_dashboard_rows_v2(showScore, showHdr, showSumm, showMkt, minimal, showRSI, showMACD, showEMA, showSMC, showST, showStoch, showIchi, showAVWAP, showSVWAP, showADX, showATR, showBB, showOBV, showVol, showBVol, showAlt)
Parameters:
showScore (bool)
showHdr (bool)
showSumm (bool)
showMkt (bool)
minimal (bool)
showRSI (bool)
showMACD (bool)
showEMA (bool)
showSMC (bool)
showST (bool)
showStoch (bool)
showIchi (bool)
showAVWAP (bool)
showSVWAP (bool)
showADX (bool)
showATR (bool)
showBB (bool)
showOBV (bool)
showVol (bool)
showBVol (bool)
showAlt (bool)
f_core_rebuild_table(p_pos, p_width, p_border, p_bg, p_kind)
Parameters:
p_pos (string)
p_width (int)
p_border (color)
p_bg (color)
p_kind (array)
f_get_quickstart_text_v1(p_preset)
Parameters:
p_preset (string)
f_drawDashboard_master(stats, ids, data, script_title, quickstart_text, header_bg_color, table_textColor, table_textColor_inverse, sizeMain, sizeComm, rowBG, rowBGAlpha, DISCLAIMER_TEXT)
Parameters:
stats (table)
ids (array)
data (DashboardData)
script_title (string)
quickstart_text (string)
header_bg_color (color)
table_textColor (color)
table_textColor_inverse (color)
sizeMain (string)
sizeComm (string)
rowBG (bool)
rowBGAlpha (int)
DISCLAIMER_TEXT (string)
f_get_theme_palette(p_theme)
Parameters:
p_theme (string)
f_get_dash_context_v3(pos, s_score, s_head, s_sum, s_mkt, s_min, s_rsi, s_macd, s_ema, s_smc, s_st, s_stoch, s_ichi, s_avwap, s_svwap, s_adx, s_atr, s_bb, s_obv, s_vol, s_bvol, s_alt)
Parameters:
pos (string)
s_score (bool)
s_head (bool)
s_sum (bool)
s_mkt (bool)
s_min (bool)
s_rsi (bool)
s_macd (bool)
s_ema (bool)
s_smc (bool)
s_st (bool)
s_stoch (bool)
s_ichi (bool)
s_avwap (bool)
s_svwap (bool)
s_adx (bool)
s_atr (bool)
s_bb (bool)
s_obv (bool)
s_vol (bool)
s_bvol (bool)
s_alt (bool)
f_get_dash_context_v4(pos, p_preset, s_score, s_head, s_sum, s_mkt, s_min, s_rsi, s_macd, s_ema, s_smc, s_st, s_stoch, s_ichi, s_avwap, s_svwap, s_adx, s_atr, s_bb, s_obv, s_vol, s_bvol, s_alt)
Parameters:
pos (string)
p_preset (string)
s_score (bool)
s_head (bool)
s_sum (bool)
s_mkt (bool)
s_min (bool)
s_rsi (bool)
s_macd (bool)
s_ema (bool)
s_smc (bool)
s_st (bool)
s_stoch (bool)
s_ichi (bool)
s_avwap (bool)
s_svwap (bool)
s_adx (bool)
s_atr (bool)
s_bb (bool)
s_obv (bool)
s_vol (bool)
s_bvol (bool)
s_alt (bool)
f_maintain_risk_drawings(extBars, b_risk, b_reward, l_sl, l_tp1, l_tp2, l_tp3, l_tp4, l_tp5, lb_sl, lb_tp1, lb_tp2, lb_tp3, lb_tp4, lb_tp5, lb_info)
Parameters:
extBars (int)
b_risk (box)
b_reward (box)
l_sl (line)
l_tp1 (line)
l_tp2 (line)
l_tp3 (line)
l_tp4 (line)
l_tp5 (line)
lb_sl (label)
lb_tp1 (label)
lb_tp2 (label)
lb_tp3 (label)
lb_tp4 (label)
lb_tp5 (label)
lb_info (label)
f_draw_sr_batch(vals, pwrs, type, base_col, size_opt, fmt, limit_count)
Parameters:
vals (array)
pwrs (array)
type (string)
base_col (color)
size_opt (string)
fmt (string)
limit_count (int)
f_draw_inst_header_v2(show_m, s1, s2, s3, t1, t2, t3, sz_str)
Parameters:
show_m (bool)
s1 (bool)
s2 (bool)
s3 (bool)
t1 (string)
t2 (string)
t3 (string)
sz_str (string)
f_clear_smc_drawings(fvg_boxes, fvg_labels, bos_lines, bos_labels)
Parameters:
fvg_boxes (array)
fvg_labels (array)
bos_lines (array)
bos_labels (array)
f_clear_sr_drawings(sr_lines, sr_labels, sr_boxes)
Parameters:
sr_lines (array)
sr_labels (array)
sr_boxes (array)
f_clear_labels(lbl_array)
Parameters:
lbl_array (array)
f_draw_tp5_info(showRiskBlocks, showRiskBlockLabels, current_tp5_line, current_tp5_label, current_info_label, b_index, tp5, tp4, tp3, tp2, tp1, close_price, sl, real_rr, pos_size, posCol, fmt, lbl_size)
Parameters:
showRiskBlocks (bool)
showRiskBlockLabels (bool)
current_tp5_line (line)
current_tp5_label (label)
current_info_label (label)
b_index (int)
tp5 (float)
tp4 (float)
tp3 (float)
tp2 (float)
tp1 (float)
close_price (float)
sl (float)
real_rr (float)
pos_size (float)
posCol (color)
fmt (string)
lbl_size (string)
f_draw_sweeps(show_swp, en_smc, in_win, is_conf, vol, vma, swp_hi, swp_lo, lst_hi, lst_lo, b_idx, h, l, lbl_sz)
Parameters:
show_swp (bool)
en_smc (bool)
in_win (bool)
is_conf (bool)
vol (float)
vma (float)
swp_hi (bool)
swp_lo (bool)
lst_hi (float)
lst_lo (float)
b_idx (int)
h (float)
l (float)
lbl_sz (string)
f_build_inst_header_strings(show_r1, show_r2, show_r3, isRiskLow, isRiskHigh, marketScore, finalScore, sqi_rounded, isStableProf, isVolatileProf, swap_strategy_mode, i_basket_select, d0, d7, d30, d90, d180, d365, profile_selection_raw, final_minRR, is_struct_sl, final_use_adx_filter, final_vol_gate_mode)
Parameters:
show_r1 (bool)
show_r2 (bool)
show_r3 (bool)
isRiskLow (bool)
isRiskHigh (bool)
marketScore (float)
finalScore (int)
sqi_rounded (int)
isStableProf (bool)
isVolatileProf (bool)
swap_strategy_mode (string)
i_basket_select (string)
d0 (float)
d7 (float)
d30 (float)
d90 (float)
d180 (float)
d365 (float)
profile_selection_raw (string)
final_minRR (float)
is_struct_sl (bool)
final_use_adx_filter (bool)
final_vol_gate_mode (string)
f_update_sr_drawings(sr_lines, sr_labels, _close, _atr, _mintick, _sizeOpt, b_idx)
Parameters:
sr_lines (array)
sr_labels (array)
_close (float)
_atr (float)
_mintick (float)
_sizeOpt (string)
b_idx (int)
f_build_portfolio_header(KAR, initial_investment, TOT, portfolio_daily_pct_change, initial_cash, PORTFOLIO_SIZE, portfolio_values, input_portfolio_quantities, input_portfolio_symbols, portfolio_prices, portfolio_changes, portfolio_changes_7d, portfolio_percents, p_format)
Parameters:
KAR (float)
initial_investment (float)
TOT (float)
portfolio_daily_pct_change (float)
initial_cash (float)
PORTFOLIO_SIZE (int)
portfolio_values (array)
input_portfolio_quantities (array)
input_portfolio_symbols (array)
portfolio_prices (array)
portfolio_changes (array)
portfolio_changes_7d (array)
portfolio_percents (array)
p_format (string)
f_draw_buysell_signals(bs_array, show, is_safe, trig_L, trig_S, b_idx, p_low, p_high, p_close, fmt, p_size_str, max_labels)
Parameters:
bs_array (array)
show (bool)
is_safe (bool)
trig_L (bool)
trig_S (bool)
b_idx (int)
p_low (float)
p_high (float)
p_close (float)
fmt (string)
p_size_str (string)
max_labels (int)
f_build_minimal_text(minimalMode, minimalRSI, minimalMACD, minimalEMA, minimalHTF, showHTF, rsi, rsiSlope, macdLine, macdSignal, macdHistSlope, fastMA, slowMA, rsiHTF, macdLineHTF, macdSignalHTF)
Parameters:
minimalMode (bool)
minimalRSI (bool)
minimalMACD (bool)
minimalEMA (bool)
minimalHTF (bool)
showHTF (bool)
rsi (float)
rsiSlope (float)
macdLine (float)
macdSignal (float)
macdHistSlope (float)
fastMA (float)
slowMA (float)
rsiHTF (float)
macdLineHTF (float)
macdSignalHTF (float)
f_build_indicator_summary(showIndicatorSummary, rsi, macdHist, macdHistSlope, atr_as_percentage, _is_sqz, extreme_volatility, fastMA, slowMA, is_st_bull, volume, vma, final_adx, posCol, negCol, mixCol, neuCol)
Parameters:
showIndicatorSummary (bool)
rsi (float)
macdHist (float)
macdHistSlope (float)
atr_as_percentage (float)
_is_sqz (bool)
extreme_volatility (bool)
fastMA (float)
slowMA (float)
is_st_bull (bool)
volume (float)
vma (float)
final_adx (float)
posCol (color)
negCol (color)
mixCol (color)
neuCol (color)
f_build_score_text(dirCh, biasTx, finalScore, sqi_rounded, sqi_desc)
Parameters:
dirCh (string)
biasTx (string)
finalScore (int)
sqi_rounded (int)
sqi_desc (string)
f_build_swap_line_str(simpleSwapView, shown_swap_count, s_coin, arrow_icon, t_coin_display, star_rating, reason_display, confidence_badge, icon_vol, _status_icon, advantage_val, info_ref, rsi_val, icon_rsi, corr_val, icon_corr, clean_dir)
Parameters:
simpleSwapView (bool)
shown_swap_count (int)
s_coin (string)
arrow_icon (string)
t_coin_display (string)
star_rating (string)
reason_display (string)
confidence_badge (string)
icon_vol (string)
_status_icon (string)
advantage_val (float)
info_ref (string)
rsi_val (float)
icon_rsi (string)
corr_val (float)
icon_corr (string)
clean_dir (string)
f_build_signal_alert_msg_v1(side, ticker, px, sl, rr_req, final_score, sqi_val, tf_period)
Parameters:
side (string)
ticker (string)
px (float)
sl (float)
rr_req (float)
final_score (int)
sqi_val (float)
tf_period (string)
f_build_hold_alert_msg_v2(s_coin, stage_label, trust_label, best_reason_with_codes, _best_alert_blocker, current_grade, tf_period, i_swap_alert_mode)
Parameters:
s_coin (string)
stage_label (string)
trust_label (string)
best_reason_with_codes (string)
_best_alert_blocker (string)
current_grade (string)
tf_period (string)
i_swap_alert_mode (string)
f_build_swap_alert_msg_v2(stage_icon, stage_label, trust_label, mode_icon, mode_short, s_coin, arrow_icon, t_coin, top_adv, current_grade, s_rsi, s_corr, net_tag, rule_tag, _best_alert_blocker, _actionable_a, msg_json, i_swap_alert_mode)
Parameters:
stage_icon (string)
stage_label (string)
trust_label (string)
mode_icon (string)
mode_short (string)
s_coin (string)
arrow_icon (string)
t_coin (string)
top_adv (float)
current_grade (string)
s_rsi (float)
s_corr (float)
net_tag (string)
rule_tag (string)
_best_alert_blocker (string)
_actionable_a (bool)
msg_json (string)
i_swap_alert_mode (string)
f_swap_star_rating(tier_val)
Parameters:
tier_val (string)
f_swap_reason_display(base_reason, row_i, row_rule_codes, action_val, best_blocker, max_len)
Parameters:
base_reason (string)
row_i (int)
row_rule_codes (string)
action_val (string)
best_blocker (string)
max_len (int)
f_swap_hold_status_line(simpleSwapView, s_coin, advantage_val, reason_display)
Parameters:
simpleSwapView (bool)
s_coin (string)
advantage_val (float)
reason_display (string)
f_swap_no_action_msg(hold_status_found, best_swap_blocker, top1_conf_gate_ok)
Parameters:
hold_status_found (bool)
best_swap_blocker (string)
top1_conf_gate_ok (bool)
f_swap_why_line_v1(reason_display, regime_name, next_txt, eta_txt, max_len)
Parameters:
reason_display (string)
regime_name (string)
next_txt (string)
eta_txt (string)
max_len (int)
f_build_swap_best_reason_with_codes(best_reason, best_alert_rule_codes, veto_codes)
Parameters:
best_reason (string)
best_alert_rule_codes (string)
veto_codes (string)
f_build_swap_alert_tags(best_alert_rule_codes, alert_veto_soft_ovr, best_alert_net_adv, top1_alert_conf)
Parameters:
best_alert_rule_codes (string)
alert_veto_soft_ovr (bool)
best_alert_net_adv (float)
top1_alert_conf (float)
f_build_swap_diag_line_v1(swap_net_adv, top1_friction_pct, top1_friction_pct_eff, swap_veto_ok, swap_veto_soft_ovr, top1_conf, top1_conf_bucket, top1_conf_gate_ok, top1_regime_name, top1_final_min_req, finalSwapMin, top1_conf_req_eff, top1_conf_min_req, min_swap_conf_base, top1_rule_reason, swap_cal_enable, swap_cal_state, swap_cal_gap_top12, swap_cal_adv_extra, swap_bucket_cal_enable, top1_bucket_prec_blend, top1_bucket_cal_state, top1_gap_need_eff, top1_adv_extra_eff, top1_bucket_samples, swap_bucket_conf_cal_enable, top1_conf_bucket_prec_blend, top1_conf_cal_state, top1_fric_bucket_prec_blend, top1_fric_cal_state, top1_veto_codes, best_swap_actionable_final, best_swap_blocker, swap_selfval_enable, sv_eval_win, sv_eval_total, sv_hold_good, sv_hold_total, sv_last_result, sv_eval_stale, swap_selfval_conf_buckets, sv_conf_high_win, sv_conf_high_total, sv_conf_mid_win, sv_conf_mid_total, sv_conf_low_win, sv_conf_low_total, swap_scan_integrity_guard_en, swap_scan_integrity_fail_count)
Parameters:
swap_net_adv (float)
top1_friction_pct (float)
top1_friction_pct_eff (float)
swap_veto_ok (bool)
swap_veto_soft_ovr (bool)
top1_conf (float)
top1_conf_bucket (string)
top1_conf_gate_ok (bool)
top1_regime_name (string)
top1_final_min_req (float)
finalSwapMin (float)
top1_conf_req_eff (float)
top1_conf_min_req (float)
min_swap_conf_base (float)
top1_rule_reason (string)
swap_cal_enable (bool)
swap_cal_state (string)
swap_cal_gap_top12 (float)
swap_cal_adv_extra (float)
swap_bucket_cal_enable (bool)
top1_bucket_prec_blend (float)
top1_bucket_cal_state (string)
top1_gap_need_eff (float)
top1_adv_extra_eff (float)
top1_bucket_samples (int)
swap_bucket_conf_cal_enable (bool)
top1_conf_bucket_prec_blend (float)
top1_conf_cal_state (string)
top1_fric_bucket_prec_blend (float)
top1_fric_cal_state (string)
top1_veto_codes (string)
best_swap_actionable_final (bool)
best_swap_blocker (string)
swap_selfval_enable (bool)
sv_eval_win (int)
sv_eval_total (int)
sv_hold_good (int)
sv_hold_total (int)
sv_last_result (string)
sv_eval_stale (int)
swap_selfval_conf_buckets (bool)
sv_conf_high_win (int)
sv_conf_high_total (int)
sv_conf_mid_win (int)
sv_conf_mid_total (int)
sv_conf_low_win (int)
sv_conf_low_total (int)
swap_scan_integrity_guard_en (bool)
swap_scan_integrity_fail_count (int)
f_build_swap_diag_line_v2(swap_net_adv, top1_friction_pct, top1_friction_pct_eff, swap_veto_ok, swap_veto_soft_ovr, top1_conf, top1_conf_bucket, top1_conf_gate_ok, top1_regime_name, top1_final_min_req, finalSwapMin, top1_conf_req_eff, top1_conf_min_req, min_swap_conf_base, top1_rule_reason, swap_cal_enable, swap_cal_state, swap_cal_gap_top12, swap_cal_adv_extra, swap_bucket_cal_enable, top1_bucket_prec_blend, top1_bucket_cal_state, top1_gap_need_eff, top1_adv_extra_eff, top1_bucket_samples, swap_bucket_conf_cal_enable, top1_conf_bucket_prec_blend, top1_conf_cal_state, top1_fric_bucket_prec_blend, top1_fric_cal_state, top1_veto_codes, best_swap_actionable_final, best_swap_blocker, swap_selfval_enable, sv_eval_win, sv_eval_total, sv_hold_good, sv_hold_total, sv_last_result, sv_eval_stale, swap_selfval_conf_buckets, sv_conf_high_win, sv_conf_high_total, sv_conf_mid_win, sv_conf_mid_total, sv_conf_low_win, sv_conf_low_total, swap_scan_integrity_guard_en, swap_scan_integrity_fail_count, trust_score)
Parameters:
swap_net_adv (float)
top1_friction_pct (float)
top1_friction_pct_eff (float)
swap_veto_ok (bool)
swap_veto_soft_ovr (bool)
top1_conf (float)
top1_conf_bucket (string)
top1_conf_gate_ok (bool)
top1_regime_name (string)
top1_final_min_req (float)
finalSwapMin (float)
top1_conf_req_eff (float)
top1_conf_min_req (float)
min_swap_conf_base (float)
top1_rule_reason (string)
swap_cal_enable (bool)
swap_cal_state (string)
swap_cal_gap_top12 (float)
swap_cal_adv_extra (float)
swap_bucket_cal_enable (bool)
top1_bucket_prec_blend (float)
top1_bucket_cal_state (string)
top1_gap_need_eff (float)
top1_adv_extra_eff (float)
top1_bucket_samples (int)
swap_bucket_conf_cal_enable (bool)
top1_conf_bucket_prec_blend (float)
top1_conf_cal_state (string)
top1_fric_bucket_prec_blend (float)
top1_fric_cal_state (string)
top1_veto_codes (string)
best_swap_actionable_final (bool)
best_swap_blocker (string)
swap_selfval_enable (bool)
sv_eval_win (int)
sv_eval_total (int)
sv_hold_good (int)
sv_hold_total (int)
sv_last_result (string)
sv_eval_stale (int)
swap_selfval_conf_buckets (bool)
sv_conf_high_win (int)
sv_conf_high_total (int)
sv_conf_mid_win (int)
sv_conf_mid_total (int)
sv_conf_low_win (int)
sv_conf_low_total (int)
swap_scan_integrity_guard_en (bool)
swap_scan_integrity_fail_count (int)
trust_score (int)
f_ema_text_v1(fastMA, slowMA, event_GoldenCross, event_DeathCross, final_emaMode, ma_type_sel, posCol, negCol, neuCol)
Parameters:
fastMA (float)
slowMA (float)
event_GoldenCross (bool)
event_DeathCross (bool)
final_emaMode (string)
ma_type_sel (string)
posCol (color)
negCol (color)
neuCol (color)
f_rsi_text_v1(p_rsi, p_rsiLen, p_rsiHTF, p_showHTF, p_final_tfHTF, posCol, negCol, mixCol, neuCol)
Parameters:
p_rsi (float)
p_rsiLen (int)
p_rsiHTF (float)
p_showHTF (bool)
p_final_tfHTF (string)
posCol (color)
negCol (color)
mixCol (color)
neuCol (color)
f_macd_text_v1(macdLine, macdSignal, macdHist, macdLineHTF, macdSignalHTF, event_MACDBullCross, event_MACDBearCross, p_showHTF, p_final_tfHTF, posCol, negCol, mixCol, neuCol)
Parameters:
macdLine (float)
macdSignal (float)
macdHist (float)
macdLineHTF (float)
macdSignalHTF (float)
event_MACDBullCross (bool)
event_MACDBearCross (bool)
p_showHTF (bool)
p_final_tfHTF (string)
posCol (color)
negCol (color)
mixCol (color)
neuCol (color)
f_volume_text_v1(vma, posCol, negCol, neuCol, mixCol)
Parameters:
vma (float)
posCol (color)
negCol (color)
neuCol (color)
mixCol (color)
f_svwap_text_v1(sessionVWAP, priceFormat, posCol, negCol, neuCol)
Parameters:
sessionVWAP (float)
priceFormat (string)
posCol (color)
negCol (color)
neuCol (color)
f_avwap_text_v1(anchoredVWAP, priceFormat, posCol, negCol, neuCol)
Parameters:
anchoredVWAP (float)
priceFormat (string)
posCol (color)
negCol (color)
neuCol (color)
f_obv_text_v1(currentOBV, currentOBV_MA, currentOBVBullDiv, currentOBVBearDiv, posCol, negCol, neuCol)
Parameters:
currentOBV (float)
currentOBV_MA (float)
currentOBVBullDiv (bool)
currentOBVBearDiv (bool)
posCol (color)
negCol (color)
neuCol (color)
DashboardData
Fields:
title (series string)
adaptiveAdvisorText (series string)
scoreText (series string)
sqiText (series string)
adaptiveAdvisorColor (series color)
scoreColor (series color)
sqiColor (series color)
hdrLeft (series string)
hdrRight (series string)
indicatorSummaryLeft (series string)
indicatorSummaryRight (series string)
momentumColor (series color)
trendColor (series color)
rsiText (series string)
macdText (series string)
emaText (series string)
smcText (series string)
marketText (series string)
miniText (series string)
rsiColor (series color)
macdColor (series color)
emaColor (series color)
smcColor (series color)
marketColor (series color)
atrText (series string)
vwapText (series string)
avwapText (series string)
ichiText (series string)
volText (series string)
bvolText (series string)
stText (series string)
bbText (series string)
obvText (series string)
altText (series string)
stochText (series string)
atrColor (series color)
vwapColor (series color)
avwapColor (series color)
ichiColor (series color)
volColor (series color)
bvolColor (series color)
stColor (series color)
bbColor (series color)
obvColor (series color)
altColor (series color)
stochColor (series color)
adxText (series string)
adxColor (series color)
Perpustakaan Pine Script®






















