server.js 真實路徑與 300 棒對數 Fixturehttps://www.tradingview.com/script/jsZD85PS-SuperTrendy/(作者 TheRealDrip2Rip,MPL-2.0 開源)17,822 B 原文):curl -fsSL -A "Mozilla/5.0" "https://pine-facade.tradingview.com/pine-facade/get/PUB;1db043e1ef7448bab4ca07049a3c82a3/last"source 欄位 UTF-8 原文 SHA-256 = eb793281b88bb932a46ff041c891e91f1883a9e54f404a8172a2a7738cdd4a2f)server.js 官方位置:http://149.118.48.126:8080/market-engine-server.js(646,862 B,內含 computeIndicators(symbol, timeframe, bars, capital)、rows1mFor(sym) [ts,o,h,l,c,v,amt] 元組結構與 scorer_calculateScoreV2/attachV2Fields)v4-indicator-source.txt(5,587 B / b8a0e2e1…)之精確差異點(僅在儀表板行數與鎖定狀態命名):
PUB;1db043e1… 儀表板為 13 行(多出 ATR %ile 與 Exhaustion 兩行);而主人提供之 v4-indicator-source.txt 為精簡後之 11 行制,並新增 has_flipped 布林旗標(未翻轉前顯示 "no flip yet")與鎖定翻轉等級 flip_grade(僅在 if any_flip 時隨 flip_quality := quality_pct 同步更新 flip_grade := quality_grade)。其餘全部公式變數(er_smooth、vol_ratio、adaptive_factor、adaptive_confirm、locked_bull、s、age、bull_ct、bear_ct)100% 同名同門檻!PUB;1db043e1ef7448bab4ca07049a3c82a3,一字未改)// This Pine Script® code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © TheRealDrip2Rip
//@version=5
indicator("SuperTrendy", overlay=true, max_labels_count=500)
// ═══════════════════════════════════════════════════════════════
// INPUTS
// ═══════════════════════════════════════════════════════════════
g1 = "Engine"
i_len = input.int(14, "ATR Length", minval=1, group=g1, tooltip="How many bars are used to measure volatility. 14 is the sweet spot — smooth enough to ignore noise, fast enough to stay relevant. Higher = slower and smoother. Lower = faster and noisier.")
i_factor = input.float(3.5, "Base Factor", step=0.1, minval=1, group=g1, tooltip="How far the SuperTrend line sits from price. Higher = fewer flips, wider stops, targets bigger moves. Lower = more signals, tighter stops. Automatically scaled by market volatility — the live value shows in the dashboard header.")
i_er_len = input.int(10, "ER Length", minval=3, maxval=20, group=g1, tooltip="Lookback for the Efficiency Ratio — measures how cleanly price is trending versus chopping. 10 works well for most assets. Lower = reacts faster. Higher = smoother but slower.")
i_confirm = input.int(2, "Confirm Bars (base)", minval=1, maxval=5, group=g1, tooltip="Consecutive bars price must hold on the new side before a flip is confirmed. Primary whipsaw filter. Adjusts automatically — choppy markets require more bars, clean trends fewer. Start at 2. If seeing false flips, raise to 3.")
i_exhaust = input.float(2.8, "Exhaustion Threshold", step=0.1, minval=1.0, group=g1, tooltip="When price moves this many ATR multiples from the SuperTrend line, the dashboard flags it as stretched. Not a flip signal — means the move is overextended. Consider tightening your stop or taking partial profit. 2.8 is a good default.")
g2 = "Visuals"
i_glow = input.bool(false, "Glow", group=g2, tooltip="A soft halo around the SuperTrend line that brightens as the trend matures. Dim on a fresh flip, vivid on a strong established trend.")
i_shade = input.bool(true, "Shading", group=g2, tooltip="The gradient ribbon between price and the SuperTrend line. Four bands deepen toward the line — nearly invisible on a new flip, rich and glowing on a mature trend.")
i_candles = input.bool(true, "Colour Candles", group=g2, tooltip="Colours each candle to match the current trend direction. Candles start faint on a fresh flip and saturate as conviction builds.")
i_labels = input.bool(true, "Flip Labels", group=g2, tooltip="Shows a LONG or SHORT label with the Flip Quality Grade and close price at every confirmed flip. Grade A labels are larger so your eyes go straight to the signals that matter.")
i_table = input.bool(true, "Dashboard", group=g2, tooltip="The live stats panel. Shows trend direction, age, conviction, efficiency, volatility regime, ATR percentile rank, adaptive factor, flip quality score, exhaustion status, distance, and flip counts.")
g3 = "Palette"
i_bull = input.color(#00c076, "Bull", group=g3, tooltip="Color for all bullish elements — line, glow, ribbon, candles, and labels when the trend is long.")
i_bear = input.color(#ff3d3d, "Bear", group=g3, tooltip="Color for all bearish elements — line, glow, ribbon, candles, and labels when the trend is short.")
g4 = "Dashboard"
i_pos = input.string("Top Right", "Position", options=["Top Right","Top Left","Bottom Right","Bottom Left"], group=g4, tooltip="Where the dashboard panel sits on your chart. Move it to whichever corner does not overlap your price action.")
// ═══════════════════════════════════════════════════════════════
// PROPRIETARY MATH
// ═══════════════════════════════════════════════════════════════
atr = ta.atr(i_len)
// ── Kaufman Efficiency Ratio ─────────────────────────────────
net_move = math.abs(close - close[i_er_len])
var float total_path = 0.0
total_path := 0.0
for i = 0 to i_er_len - 1
total_path += math.abs(close[i] - close[i + 1])
er = total_path > 0 ? net_move / total_path : 0.0
er_smooth = ta.ema(er, 3)
// ── Volatility Regime ────────────────────────────────────────
atr_baseline = ta.sma(atr, 50)
vol_ratio = atr_baseline > 0 ? atr / atr_baseline : 1.0
vol_regime = math.max(math.min(vol_ratio, 1.40), 0.75)
// ── Adaptive Factor ──────────────────────────────────────────
adaptive_factor = i_factor * vol_regime
// ── ER-Driven Confirmation ───────────────────────────────────
adaptive_confirm = er_smooth < 0.25 ? math.max(i_confirm + 2, 4) : er_smooth < 0.45 ? i_confirm + 1 : er_smooth < 0.65 ? i_confirm : math.max(i_confirm - 1, 1)
// ── Flip Quality Score ───────────────────────────────────────
price_mom_pct = math.abs(ta.roc(close, 5))
atr_pct = close > 0 ? atr / close * 100 : 0.0
mom_norm = atr_pct > 0 ? math.min(price_mom_pct / (atr_pct * 2), 1.0) : 0.0
vol_score = math.max(1.0 - math.abs(1.0 - vol_ratio), 0.0)
quality_raw = er_smooth * 0.50 + vol_score * 0.30 + mom_norm * 0.20
quality_pct = math.round(quality_raw * 100)
quality_grade = quality_pct >= 70 ? "A" : quality_pct >= 50 ? "B" : "C"
// ── ATR Percentile Rank ──────────────────────────────────────
atr_pctrank = ta.percentrank(atr, 100)
// ═══════════════════════════════════════════════════════════════
// MANUAL SUPERTREND
// ═══════════════════════════════════════════════════════════════
upper_basic = hl2 + adaptive_factor * atr
lower_basic = hl2 - adaptive_factor * atr
var float upper_band = na
var float lower_band = na
upper_band := na(upper_band[1]) ? upper_basic : upper_basic < upper_band[1] or close[1] > upper_band[1] ? upper_basic : upper_band[1]
lower_band := na(lower_band[1]) ? lower_basic : lower_basic > lower_band[1] or close[1] < lower_band[1] ? lower_basic : lower_band[1]
var int trend_dir = 1
trend_dir := na(trend_dir[1]) ? 1 : trend_dir[1] == 1 ? (close < lower_band ? -1 : 1) : (close > upper_band ? 1 : -1)
st = trend_dir == 1 ? lower_band : upper_band
bull = trend_dir == 1
// ── Trend Exhaustion (dashboard only) ───────────────────────
dist_atr = atr > 0 ? math.abs(close - st) / atr : 0.0
is_exhausted = dist_atr >= i_exhaust
// ═══════════════════════════════════════════════════════════════
// CONFIRMATION FILTER
// ═══════════════════════════════════════════════════════════════
var bool locked_bull = bull
var int streak = 0
streak := bull == locked_bull ? 0 : streak + 1
flip_up = streak >= adaptive_confirm and bull
flip_down = streak >= adaptive_confirm and not bull
any_flip = flip_up or flip_down
if any_flip
locked_bull := bull
tc = locked_bull ? i_bull : i_bear
var int flip_quality = 0
if any_flip
flip_quality := quality_pct
// ═══════════════════════════════════════════════════════════════
// CONVICTION
// ═══════════════════════════════════════════════════════════════
var int bull_ct = 0
var int bear_ct = 0
if flip_up
bull_ct += 1
if flip_down
bear_ct += 1
var int age = 0
age := any_flip ? 0 : age + 1
s_time = math.min(age / 60.0, 1.0)
s = s_time * 0.65 + er_smooth * 0.35
boost = int(s * 38)
// ═══════════════════════════════════════════════════════════════
// CONVICTION-BREATHING GLOW
// ═══════════════════════════════════════════════════════════════
glow_outer_a = math.max(91 - int(s * 25), 66)
glow_inner_a = math.max(76 - int(s * 30), 46)
plot(i_glow ? st : na, "Halo Outer", color.new(tc, glow_outer_a), linewidth=14)
plot(i_glow ? st : na, "Halo Inner", color.new(tc, glow_inner_a), linewidth=6)
plot(st, "Core", tc, linewidth=2)
plot(st, "Edge Light", color.new(color.white, 82), linewidth=1)
// ═══════════════════════════════════════════════════════════════
// FOUR-BAND GRADIENT RIBBON
// ═══════════════════════════════════════════════════════════════
q1 = close + (st - close) * 0.25
q2 = close + (st - close) * 0.55
q3 = close + (st - close) * 0.82
p_close = plot(close, display=display.none, editable=false)
p_q1 = plot(i_shade ? q1 : na, display=display.none, editable=false)
p_q2 = plot(i_shade ? q2 : na, display=display.none, editable=false)
p_q3 = plot(i_shade ? q3 : na, display=display.none, editable=false)
p_st = plot(st, display=display.none, editable=false)
fill(p_close, p_q1, color.new(tc, math.max(96 - boost, 84)), title="Ribbon A")
fill(p_q1, p_q2, color.new(tc, math.max(82 - boost, 64)), title="Ribbon B")
fill(p_q2, p_q3, color.new(tc, math.max(62 - boost, 40)), title="Ribbon C")
fill(p_q3, p_st, color.new(tc, math.max(38 - boost, 18)), title="Ribbon D")
// ═══════════════════════════════════════════════════════════════
// CANDLES
// ═══════════════════════════════════════════════════════════════
candle_alpha = math.max(42 - int(s * 34), 8)
barcolor(i_candles ? color.new(tc, candle_alpha) : na)
// ═══════════════════════════════════════════════════════════════
// FLIP LABELS
// ═══════════════════════════════════════════════════════════════
lbl_size = quality_grade == "A" ? size.normal : size.small
if i_labels and flip_up
label.new(bar_index, st, text="LONG [" + quality_grade + "]\n" + str.tostring(close, format.mintick), yloc=yloc.belowbar, style=label.style_label_up, color=color.new(i_bull, 8), textcolor=color.white, size=lbl_size)
if i_labels and flip_down
label.new(bar_index, st, text="SHORT [" + quality_grade + "]\n" + str.tostring(close, format.mintick), yloc=yloc.abovebar, style=label.style_label_down, color=color.new(i_bear, 8), textcolor=color.white, size=lbl_size)
// ═══════════════════════════════════════════════════════════════
// DASHBOARD
// ═══════════════════════════════════════════════════════════════
if i_table and barstate.islast
pos = i_pos == "Top Right" ? position.top_right : i_pos == "Top Left" ? position.top_left : i_pos == "Bottom Right" ? position.bottom_right : position.bottom_left
int filled = int(math.round(s * 10))
string sbar = ""
for i = 0 to 9
sbar += i < filled ? "█" : "░"
dist_pct = math.abs(close - st) / close * 100
er_label = er_smooth > 0.65 ? "TRENDING" : er_smooth > 0.40 ? "MIXED" : "CHOPPY"
er_color = er_smooth > 0.65 ? tc : er_smooth > 0.40 ? color.orange : color.gray
vol_label = vol_ratio > 1.20 ? "ELEVATED" : vol_ratio < 0.80 ? "COMPRESSED" : "NORMAL"
vol_color = vol_ratio > 1.20 ? color.orange : vol_ratio < 0.80 ? color.aqua : color.silver
atr_pr_col = atr_pctrank > 75 ? color.orange : atr_pctrank < 25 ? color.aqua : color.silver
atr_pr_lbl = atr_pctrank > 75 ? "HIGH VOL" : atr_pctrank < 25 ? "LOW VOL" : "NORMAL"
q_color = quality_pct >= 70 ? tc : quality_pct >= 50 ? color.orange : color.gray
ex_color = is_exhausted ? color.orange : color.silver
ex_label = is_exhausted ? "STRETCHED " + str.tostring(dist_atr, "#.##") + "x ATR" : str.tostring(dist_atr, "#.##") + "x ATR"
t = table.new(pos, 2, 13, bgcolor=color.new(#080808, 5), border_color=color.new(tc, 52), border_width=1, frame_color=color.new(tc, 22), frame_width=2)
table.cell(t, 0, 0, "SUPERTRENDY", text_color=color.white, text_size=size.small, bgcolor=color.new(tc, 42), text_halign=text.align_center)
table.cell(t, 1, 0, "F:" + str.tostring(adaptive_factor, "#.##") + " C:" + str.tostring(adaptive_confirm), text_color=color.silver, text_size=size.small, bgcolor=color.new(tc, 42), text_halign=text.align_center)
table.cell(t, 0, 1, "Direction", text_color=color.gray, text_size=size.small)
table.cell(t, 1, 1, locked_bull ? "LONG" : "SHORT", text_color=tc, bgcolor=color.new(tc, 85), text_size=size.small, text_halign=text.align_center)
table.cell(t, 0, 2, "Age", text_color=color.gray, text_size=size.small)
table.cell(t, 1, 2, str.tostring(age) + " bars", text_color=color.silver, text_size=size.small, text_halign=text.align_center)
table.cell(t, 0, 3, "Conviction", text_color=color.gray, text_size=size.small)
table.cell(t, 1, 3, sbar + " " + str.tostring(math.round(s * 100)) + "%", text_color=s > 0.5 ? tc : color.gray, text_size=size.tiny, text_halign=text.align_center)
table.cell(t, 0, 4, "Efficiency", text_color=color.gray, text_size=size.small)
table.cell(t, 1, 4, er_label + " " + str.tostring(er_smooth, "#.##"), text_color=er_color, text_size=size.small, text_halign=text.align_center)
table.cell(t, 0, 5, "Vol Regime", text_color=color.gray, text_size=size.small)
table.cell(t, 1, 5, vol_label + " " + str.tostring(vol_ratio, "#.##"), text_color=vol_color, text_size=size.small, text_halign=text.align_center)
table.cell(t, 0, 6, "ATR %ile", text_color=color.gray, text_size=size.small)
table.cell(t, 1, 6, atr_pr_lbl + " " + str.tostring(math.round(atr_pctrank)) + "th", text_color=atr_pr_col, text_size=size.small, text_halign=text.align_center)
table.cell(t, 0, 7, "Adapt Factor", text_color=color.gray, text_size=size.small)
table.cell(t, 1, 7, str.tostring(adaptive_factor, "#.##") + " (base " + str.tostring(i_factor, "#.#") + ")", text_color=color.silver, text_size=size.small, text_halign=text.align_center)
table.cell(t, 0, 8, "Flip Score", text_color=color.gray, text_size=size.small)
table.cell(t, 1, 8, str.tostring(quality_pct) + " / 100 [" + quality_grade + "]", text_color=q_color, text_size=size.small, text_halign=text.align_center)
table.cell(t, 0, 9, "Exhaustion", text_color=color.gray, text_size=size.small)
table.cell(t, 1, 9, ex_label, text_color=ex_color, text_size=size.small, text_halign=text.align_center)
table.cell(t, 0, 10, "Distance", text_color=color.gray, text_size=size.small)
table.cell(t, 1, 10, str.tostring(dist_pct, "#.##") + "%", text_color=dist_pct > 3.0 ? color.orange : color.silver, text_size=size.small, text_halign=text.align_center)
table.cell(t, 0, 11, "Long Flips", text_color=color.gray, text_size=size.small)
table.cell(t, 1, 11, str.tostring(bull_ct), text_color=i_bull, text_size=size.small, text_halign=text.align_center)
table.cell(t, 0, 12, "Short Flips", text_color=color.gray, text_size=size.small)
table.cell(t, 1, 12, str.tostring(bear_ct), text_color=i_bear, text_size=size.small, text_halign=text.align_center)
// ═══════════════════════════════════════════════════════════════
// ALERTS
// ═══════════════════════════════════════════════════════════════
alertcondition(flip_up, "Long Signal", "SuperTrendy: LONG — {{ticker}} {{interval}} @ {{close}}")
alertcondition(flip_down, "Short Signal", "SuperTrendy: SHORT — {{ticker}} {{interval}} @ {{close}}")
alertcondition(any_flip, "Any Flip", "SuperTrendy: FLIP — {{ticker}} {{interval}} @ {{close}}")
A36_V4_300BAR_MULTI_REGIME_FIXTURE_v1)內含 300 根 [ts, open, high, low, close, volume] 輸入棒、全部確認翻轉標籤、最終 11 行儀表板,以及第 13, 14, 25, 50, ..., 299 棒之精確浮點數基準(A36 之 v4_indicator_server.js 與 v4_ftnn_indicator.py 在此 300 棒上 max_abs_diff = 0.000000000000e+00):
{
"fixture_name": "A36_V4_300BAR_MULTI_REGIME_FIXTURE_v1",
"params": {
"atrLen": 14,
"baseFactor": 3.5,
"erLen": 10,
"confirmBars": 2,
"volSmaLen": 50,
"erEmaLen": 3,
"rocLen": 5
},
"input_bars_ts_o_h_l_c_v": [
[
1732338000000,
22100.0,
22126.6,
22080.4,
22114.0,
6600
],
[
1732338060000,
22114.0,
22147.69,
22097.62,
22129.2,
7078
],
[
1732338120000,
22129.2,
22164.53,
22113.69,
22145.56,
7545
],
[
1732338180000,
22145.56,
22176.63,
22126.03,
22163.04,
7991
],
[
1732338240000,
22163.04,
22199.46,
22145.86,
22181.56,
8406
],
[
1732338300000,
22181.56,
22220.32,
22166.97,
22201.01,
8781
],
[
1732338360000,
22201.01,
22235.84,
22181.69,
22221.28,
9106
],
[
1732338420000,
22221.28,
22259.42,
22203.4,
22242.22,
9375
],
[
1732338480000,
22242.22,
22283.21,
22228.6,
22263.68,
9582
],
[
1732338540000,
22263.68,
22300.97,
22244.7,
22285.49,
9722
],
[
1732338600000,
22285.49,
22323.88,
22267.02,
22307.47,
9791
],
[
1732338660000,
22307.47,
22349.04,
22294.84,
22329.44,
9789
],
[
1732338720000,
22329.44,
22367.59,
22310.93,
22351.23,
9716
],
[
1732338780000,
22351.23,
22388.2,
22332.28,
22372.66,
9572
],
[
1732338840000,
22372.66,
22413.1,
22359.1,
22393.57,
9362
],
[
1732338900000,
22393.57,
22430.94,
22375.65,
22413.79,
9089
],
[
1732338960000,
22413.79,
22447.81,
22394.49,
22433.19,
8761
],
[
1732339020000,
22433.19,
22470.98,
22418.66,
22451.65,
8384
],
[
1732339080000,
22451.65,
22486.93,
22434.43,
22469.07,
7967
],
[
1732339140000,
22469.07,
22499.02,
22449.55,
22485.37,
7519
],
[
1732339200000,
22485.37,
22519.49,
22469.91,
22500.5,
7051
],
[
1732339260000,
22500.5,
22532.89,
22484.07,
22514.43,
6573
],
[
1732339320000,
22514.43,
22539.83,
22494.83,
22527.17,
6095
],
[
1732339380000,
22527.17,
22557.26,
22510.84,
22538.74,
5628
],
[
1732339440000,
22538.74,
22568.14,
22523.17,
22549.2,
5183
],
[
1732339500000,
22549.2,
22572.16,
22529.66,
22558.63,
4771
],
[
1732339560000,
22558.63,
22585.07,
22541.5,
22567.13,
4399
],
[
1732339620000,
22567.13,
22594.11,
22552.49,
22574.82,
4076
],
[
1732339680000,
22574.82,
22596.35,
22555.48,
22581.85,
3810
],
[
1732339740000,
22581.85,
22605.62,
22564.01,
22588.37,
3607
],
[
1732339800000,
22588.37,
22614.07,
22574.69,
22594.55,
3471
],
[
1732339860000,
22594.55,
22616.0,
22575.55,
22600.57,
3406
],
[
1732339920000,
22600.57,
22623.06,
22582.13,
22606.6,
3412
],
[
1732339980000,
22606.6,
22632.42,
22593.91,
22612.82,
3489
],
[
1732340040000,
22612.82,
22635.71,
22594.28,
22619.41,
3637
],
[
1732340100000,
22619.41,
22642.14,
22600.48,
22626.54,
3851
],
[
1732340160000,
22626.54,
22653.9,
22613.04,
22634.36,
4127
],
[
1732340220000,
22634.36,
22660.11,
22616.4,
22643.01,
4458
],
[
1732340280000,
22643.01,
22667.27,
22623.72,
22652.6,
4837
],
[
1732340340000,
22652.6,
22682.59,
22638.13,
22663.24,
5256
],
[
1732340400000,
22663.24,
22692.82,
22645.97,
22675.0,
5705
],
[
1732340460000,
22675.0,
22701.65,
22655.49,
22687.94,
6175
],
[
1732340520000,
22687.94,
22721.09,
22672.54,
22702.07,
6653
],
[
1732340580000,
22702.07,
22735.82,
22685.58,
22717.4,
7131
],
[
1732340640000,
22717.4,
22746.61,
22697.8,
22733.89,
7596
],
[
1732340700000,
22733.89,
22770.05,
22717.61,
22751.49,
8040
],
[
1732340760000,
22751.49,
22789.03,
22735.86,
22770.12,
8451
],
[
1732340820000,
22770.12,
22803.14,
22750.57,
22789.67,
8820
],
[
1732340880000,
22789.67,
22828.0,
22772.59,
22810.02,
9139
],
[
1732340940000,
22810.02,
22850.31,
22795.32,
22831.03,
9402
],
[
1732341000000,
22831.03,
22866.97,
22811.68,
22852.53,
9601
],
[
1732341060000,
22852.53,
22891.65,
22834.73,
22874.36,
9733
],
[
1732341120000,
22874.36,
22915.86,
22860.62,
22896.35,
9795
],
[
1732341180000,
22896.35,
22933.68,
22877.32,
22918.31,
9785
],
[
1732341240000,
22918.31,
22956.58,
22899.9,
22940.07,
9703
],
[
1732341300000,
22940.07,
22981.05,
22927.32,
22961.45,
9552
],
[
1732341360000,
22961.45,
22998.54,
22942.88,
22982.29,
9334
],
[
1732341420000,
22982.29,
23018.08,
22963.39,
23002.43,
9055
],
[
1732341480000,
23002.43,
23041.28,
22989.0,
23021.73,
8721
],
[
1732341540000,
23021.73,
23057.14,
23003.73,
23040.08,
8339
],
[
1732341600000,
23040.08,
23072.11,
23020.81,
23057.38,
7918
],
[
1732341660000,
23057.38,
23092.91,
23042.97,
23073.55,
7468
],
[
1732341720000,
23073.55,
23106.32,
23056.24,
23088.55,
6998
],
[
1732341780000,
23088.55,
23116.12,
23069.05,
23102.35,
6519
],
[
1732341840000,
23102.35,
23134.0,
23087.01,
23114.96,
6042
],
[
1732341900000,
23114.96,
23144.79,
23098.42,
23126.4,
5577
],
[
1732341960000,
23126.4,
23149.53,
23106.8,
23136.74,
5135
],
[
1732342020000,
23136.74,
23164.65,
23120.52,
23146.06,
4727
],
[
1732342080000,
23146.06,
23173.35,
23130.38,
23154.46,
4360
],
[
1732342140000,
23154.46,
23175.47,
23134.91,
23162.07,
4043
],
[
1732342200000,
23162.07,
23187.05,
23145.04,
23169.03,
3784
],
[
1732342260000,
23169.03,
23194.76,
23154.27,
23175.5,
3589
],
[
1732342320000,
23175.5,
23196.03,
23156.13,
23181.65,
3461
],
[
1732342380000,
23181.65,
23205.0,
23163.9,
23187.66,
3403
],
[
1732342440000,
23187.66,
23213.2,
23173.86,
23193.7,
3417
],
[
1732342500000,
23193.7,
23215.27,
23174.65,
23199.96,
3503
],
[
1732342560000,
23199.96,
23223.17,
23181.59,
23206.61,
3658
],
[
1732342620000,
23206.61,
23233.41,
23193.79,
23213.81,
3879
],
[
1732342680000,
23213.81,
23237.91,
23195.21,
23221.71,
4161
],
[
1732342740000,
23221.71,
23246.17,
23202.84,
23230.46,
4498
],
[
1732342800000,
23230.46,
23254.21,
23194.47,
23210.71,
8901
],
[
1732342860000,
23210.71,
23231.36,
23183.05,
23204.95,
3305
],
[
1732342920000,
23204.95,
23235.06,
23181.58,
23217.1,
5859
],
[
1732342980000,
23217.1,
23262.43,
23199.68,
23238.9,
9718
],
[
1732343040000,
23238.9,
23277.05,
23217.82,
23255.52,
7649
],
[
1732343100000,
23255.52,
23272.47,
23231.85,
23255.67,
1058
],
[
1732343160000,
23255.67,
23278.82,
23220.68,
23239.24,
7572
],
[
1732343220000,
23239.24,
23261.53,
23197.27,
23217.41,
9733
],
[
1732343280000,
23217.41,
23233.01,
23181.23,
23205.02,
5955
],
[
1732343340000,
23205.02,
23233.11,
23185.38,
23210.5,
3192
],
[
1732343400000,
23210.5,
23253.02,
23191.39,
23230.12,
8849
],
[
1732343460000,
23230.12,
23266.74,
23206.37,
23250.54,
9169
],
[
1732343520000,
23250.54,
23279.8,
23229.92,
23257.87,
3933
],
[
1732343580000,
23257.87,
23281.23,
23229.13,
23247.13,
5297
],
[
1732343640000,
23247.13,
23264.51,
23202.08,
23225.62,
9605
],
[
1732343700000,
23225.62,
23246.73,
23186.46,
23207.97,
8061
],
[
1732343760000,
23207.97,
23231.63,
23189.35,
23206.18,
1715
],
[
1732343820000,
23206.18,
23240.0,
23183.02,
23221.47,
7117
],
[
1732343880000,
23221.47,
23263.61,
23199.21,
23243.44,
9789
],
[
1732343940000,
23243.44,
23280.94,
23227.8,
23257.15,
6485
],
[
1732344000000,
23257.15,
23276.75,
23230.65,
23253.28,
2549
],
[
1732344060000,
23253.28,
23272.42,
23211.57,
23234.45,
8530
],
[
1732344120000,
23234.45,
23258.21,
23197.31,
23213.47,
9390
],
[
1732344180000,
23213.47,
23234.07,
23182.66,
23204.61,
4544
],
[
1732344240000,
23204.61,
23231.92,
23181.26,
23213.89,
4711
],
[
1732344300000,
23213.89,
23258.55,
23196.54,
23235.0,
9444
],
[
1732344360000,
23235.0,
23275.07,
23213.86,
23253.59,
8434
],
[
1732344420000,
23253.59,
23273.88,
23229.94,
23257.01,
2368
],
[
1732344480000,
23257.01,
23280.19,
23224.45,
23242.94,
6627
],
[
1732344540000,
23242.94,
23265.18,
23200.75,
23220.95,
9796
],
[
1732344600000,
23220.95,
23236.63,
23182.2,
23205.99,
6984
],
[
1732344660000,
23205.99,
23230.88,
23186.42,
23208.23,
1897
],
[
1732344720000,
23208.23,
23249.01,
23189.05,
23226.15,
8169
],
[
1732344780000,
23226.15,
23263.69,
23202.39,
23247.56,
9565
],
[
1732344840000,
23247.56,
23279.87,
23226.99,
23257.9,
5136
],
[
1732344900000,
23257.9,
23281.24,
23232.07,
23250.14,
4105
],
[
1732344960000,
23250.14,
23267.45,
23205.99,
23229.55,
9235
],
[
1732345020000,
23229.55,
23250.71,
23188.69,
23210.14,
8765
],
[
1732345080000,
23210.14,
23233.79,
23188.19,
23205.1,
3014
],
[
1732345140000,
23205.1,
23236.33,
23181.91,
23217.87,
6106
],
[
1732345200000,
23217.87,
23260.0,
23195.65,
23239.76,
9754
],
[
1732345260000,
23239.76,
23279.67,
23224.05,
23255.88,
7449
],
[
1732345320000,
23255.88,
23275.42,
23232.61,
23255.28,
1241
],
[
1732345380000,
23255.28,
23274.49,
23215.51,
23238.36,
7768
],
[
1732345440000,
23238.36,
23262.12,
23200.54,
23216.63,
9692
],
[
1732345500000,
23216.63,
23237.17,
23182.87,
23204.87,
5705
],
[
1732345560000,
23204.87,
23229.17,
23181.55,
23211.07,
3481
],
[
1732345620000,
23211.07,
23254.59,
23193.79,
23231.02,
8980
],
[
1732345680000,
23231.02,
23272.58,
23209.83,
23251.15,
9052
],
[
1732345740000,
23251.15,
23274.71,
23227.51,
23257.77,
3648
],
[
1732345800000,
23257.77,
23280.98,
23227.96,
23246.38,
5556
],
[
1732345860000,
23246.38,
23268.58,
23204.45,
23224.72,
9663
],
[
1732345920000,
23224.72,
23240.47,
23183.73,
23207.52,
7878
],
[
1732345980000,
23207.52,
23230.21,
23186.97,
23206.48,
1416
],
[
1732346040000,
23206.48,
23245.13,
23187.24,
23222.3,
7329
],
[
1732346100000,
23222.3,
23260.28,
23198.53,
23244.23,
9770
],
[
1732346160000,
23244.23,
23279.37,
23223.72,
23257.35,
6247
],
[
1732346220000,
23257.35,
23280.66,
23234.6,
23252.74,
2843
],
[
1732346280000,
23252.74,
23269.98,
23209.96,
23233.54,
8681
],
[
1732346340000,
23233.54,
23254.76,
23191.4,
23212.8,
9295
],
[
1732346400000,
23212.8,
23236.43,
23187.65,
23204.63,
4268
],
[
1732346460000,
23204.63,
23232.97,
23181.41,
23214.58,
4981
],
[
1732346520000,
23214.58,
23256.19,
23192.4,
23235.89,
9523
],
[
1732346580000,
23235.89,
23277.85,
23220.1,
23254.06,
8269
],
[
1732346640000,
23254.06,
23276.21,
23231.36,
23256.74,
2071
],
[
1732346700000,
23256.74,
23276.02,
23219.29,
23242.1,
6854
],
[
1732346760000,
23242.1,
23265.87,
23204.09,
23220.1,
9799
],
[
1732346820000,
23220.1,
23240.58,
23183.66,
23205.7,
6760
],
[
1732346880000,
23205.7,
23226.87,
23182.4,
23208.69,
2195
],
[
1732346940000,
23208.69,
23250.62,
23191.49,
23227.04,
8339
],
[
1732347000000,
23227.04,
23263.51,
23178.56,
23214.8,
5894
],
[
1732347060000,
23214.8,
23243.83,
23162.48,
23202.78,
5806
],
[
1732347120000,
23202.78,
23242.41,
23158.93,
23190.24,
6015
],
[
1732347180000,
23190.24,
23228.03,
23141.79,
23176.46,
6510
],
[
1732347240000,
23176.46,
23203.46,
23120.24,
23160.81,
7258
],
[
1732347300000,
23160.81,
23199.57,
23109.61,
23142.77,
8215
],
[
1732347360000,
23142.77,
23181.66,
23089.03,
23121.97,
9320
],
[
1732347420000,
23121.97,
23149.22,
23057.66,
23098.21,
10504
],
[
1732347480000,
23098.21,
23135.85,
23036.59,
23071.47,
11694
],
[
1732347540000,
23071.47,
23111.19,
23010.86,
23041.93,
12816
],
[
1732347600000,
23041.93,
23071.21,
22969.68,
23009.93,
13801
],
[
1732347660000,
23009.93,
23046.21,
22939.54,
22975.96,
14586
],
[
1732347720000,
22975.96,
23016.25,
22911.56,
22940.65,
15124
],
[
1732347780000,
22940.65,
22971.9,
22865.04,
22904.7,
15380
],
[
1732347840000,
22904.7,
22939.43,
22831.1,
22868.85,
15339
],
[
1732347900000,
22868.85,
22909.42,
22806.78,
22833.84,
15003
],
[
1732347960000,
22833.84,
22866.95,
22761.56,
22800.35,
14394
],
[
1732348020000,
22800.35,
22833.35,
22730.12,
22768.98,
13548
],
[
1732348080000,
22768.98,
22809.54,
22712.99,
22740.18,
12519
],
[
1732348140000,
22740.18,
22775.01,
22676.57,
22714.25,
11371
],
[
1732348200000,
22714.25,
22745.38,
22651.61,
22691.31,
10175
],
[
1732348260000,
22691.31,
22731.57,
22642.07,
22671.29,
9006
],
[
1732348320000,
22671.29,
22707.67,
22617.62,
22653.95,
7935
],
[
1732348380000,
22653.95,
22683.11,
22598.6,
22638.87,
7030
],
[
1732348440000,
22638.87,
22678.55,
22594.31,
22625.5,
6347
],
[
1732348500000,
22625.5,
22663.22,
22578.4,
22613.18,
5928
],
[
1732348560000,
22613.18,
22640.31,
22560.62,
22601.18,
5800
],
[
1732348620000,
22601.18,
22640.01,
22555.7,
22588.75,
5970
],
[
1732348680000,
22588.75,
22627.57,
22542.13,
22575.18,
6429
],
[
1732348740000,
22575.18,
22602.31,
22519.25,
22559.81,
7146
],
[
1732348800000,
22559.81,
22597.53,
22507.33,
22542.11,
8078
],
[
1732348860000,
22542.11,
22581.79,
22490.5,
22521.69,
9167
],
[
1732348920000,
22521.69,
22550.85,
22458.06,
22498.33,
10345
],
[
1732348980000,
22498.33,
22534.71,
22435.65,
22471.98,
11539
],
[
1732349040000,
22471.98,
22512.24,
22413.57,
22442.79,
12674
],
[
1732349100000,
22442.79,
22473.92,
22371.39,
22411.09,
13680
],
[
1732349160000,
22411.09,
22445.92,
22339.67,
22377.35,
14495
],
[
1732349220000,
22377.35,
22417.91,
22314.99,
22342.18,
15068
],
[
1732349280000,
22342.18,
22375.18,
22267.41,
22306.27,
15363
],
[
1732349340000,
22306.27,
22339.38,
22231.58,
22270.37,
15361
],
[
1732349400000,
22270.37,
22310.94,
22208.15,
22235.21,
15064
],
[
1732349460000,
22235.21,
22269.94,
22163.73,
22201.49,
14489
],
[
1732349520000,
22201.49,
22232.74,
22130.15,
22169.81,
13672
],
[
1732349580000,
22169.81,
22210.1,
22111.56,
22140.65,
12664
],
[
1732349640000,
22140.65,
22176.93,
22077.91,
22114.33,
11528
],
[
1732349700000,
22114.33,
22143.61,
22050.74,
22090.99,
10334
],
[
1732349760000,
22090.99,
22130.71,
22039.53,
22070.6,
9157
],
[
1732349820000,
22070.6,
22108.24,
22018.05,
22052.93,
8069
],
[
1732349880000,
22052.93,
22080.18,
21997.03,
22037.58,
7138
],
[
1732349940000,
22037.58,
22076.47,
21991.08,
22024.02,
6423
],
[
1732350000000,
22024.02,
22062.78,
21978.44,
22011.6,
5968
],
[
1732350060000,
22011.6,
22038.6,
21959.03,
21999.6,
5800
],
[
1732350120000,
21999.6,
22037.39,
21952.6,
21987.27,
5931
],
[
1732350180000,
21987.27,
22026.9,
21942.58,
21973.89,
6352
],
[
1732350240000,
21973.89,
22002.92,
21918.5,
21958.8,
7037
],
[
1732350300000,
21958.8,
21995.27,
21905.2,
21941.44,
7944
],
[
1732350360000,
21941.44,
21981.67,
21892.06,
21921.4,
9016
],
[
1732350420000,
21921.4,
21952.41,
21858.68,
21898.43,
10186
],
[
1732350480000,
21898.43,
21933.36,
21834.87,
21872.47,
11382
],
[
1732350540000,
21872.47,
21913.02,
21816.33,
21843.65,
12529
],
[
1732350600000,
21843.65,
21876.53,
21773.34,
21812.26,
13557
],
[
1732350660000,
21812.26,
21845.48,
21740.03,
21778.76,
14400
],
[
1732350720000,
21778.76,
21819.34,
21716.81,
21743.74,
15007
],
[
1732350780000,
21743.74,
21778.36,
21670.06,
21707.89,
15340
],
[
1732350840000,
21707.89,
21739.26,
21632.33,
21671.94,
15379
],
[
1732350900000,
21671.94,
21712.25,
21607.67,
21636.64,
15120
],
[
1732350960000,
21636.64,
21672.83,
21566.18,
21602.69,
14580
],
[
1732351020000,
21602.69,
21632.1,
21530.49,
21570.71,
13793
],
[
1732351080000,
21570.71,
21610.48,
21510.25,
21541.19,
12807
],
[
1732351140000,
21541.19,
21578.75,
21479.5,
21514.48,
11684
],
[
1732351200000,
21514.48,
21554.26,
21493.51,
21540.1,
11248
],
[
1732351260000,
21540.1,
21585.35,
21523.12,
21565.21,
11043
],
[
1732351320000,
21565.21,
21609.63,
21548.0,
21589.61,
10759
],
[
1732351380000,
21589.61,
21627.02,
21568.62,
21613.12,
10405
],
[
1732351440000,
21613.12,
21655.19,
21595.24,
21635.6,
9992
],
[
1732351500000,
21635.6,
21677.42,
21619.35,
21656.94,
9535
],
[
1732351560000,
21656.94,
21692.01,
21636.08,
21677.06,
9048
],
[
1732351620000,
21677.06,
21714.83,
21658.36,
21695.92,
8545
],
[
1732351680000,
21695.92,
21734.32,
21680.68,
21713.53,
8045
],
[
1732351740000,
21713.53,
21745.91,
21692.95,
21729.94,
7563
],
[
1732351800000,
21729.94,
21763.35,
21710.53,
21745.23,
7114
],
[
1732351860000,
21745.23,
21780.48,
21731.03,
21759.51,
6713
],
[
1732351920000,
21759.51,
21789.89,
21739.35,
21772.94,
6373
],
[
1732351980000,
21772.94,
21802.94,
21752.94,
21785.7,
6105
],
[
1732352040000,
21785.7,
21818.99,
21771.84,
21798.0,
5918
],
[
1732352100000,
21798.0,
21827.89,
21778.39,
21810.04,
5817
],
[
1732352160000,
21810.04,
21838.35,
21789.58,
21822.06,
5806
],
[
1732352220000,
21822.06,
21855.14,
21807.14,
21834.28,
5886
],
[
1732352280000,
21834.28,
21865.58,
21815.35,
21846.91,
6053
],
[
1732352340000,
21846.91,
21875.45,
21826.12,
21860.17,
6302
],
[
1732352400000,
21860.17,
21894.83,
21844.23,
21874.24,
6626
],
[
1732352460000,
21874.24,
21908.66,
21856.09,
21889.27,
7013
],
[
1732352520000,
21889.27,
21919.63,
21868.31,
21905.4,
7452
],
[
1732352580000,
21905.4,
21942.9,
21888.48,
21922.72,
7928
],
[
1732352640000,
21922.72,
21961.26,
21905.45,
21941.28,
8425
],
[
1732352700000,
21941.28,
21974.93,
21920.29,
21961.1,
8928
],
[
1732352760000,
21961.1,
22001.78,
21943.27,
21982.15,
9421
],
[
1732352820000,
21982.15,
22024.82,
21965.83,
22004.37,
9887
],
[
1732352880000,
22004.37,
22042.54,
21983.5,
22027.65,
10311
],
[
1732352940000,
22027.65,
22070.8,
22009.0,
22051.85,
10680
],
[
1732353000000,
22051.85,
22097.59,
22036.54,
22076.81,
10982
],
[
1732353060000,
22076.81,
22118.24,
22056.21,
22102.33,
11207
],
[
1732353120000,
22102.33,
22146.37,
22082.96,
22128.2,
11347
],
[
1732353180000,
22128.2,
22175.16,
22113.94,
22154.2,
11399
],
[
1732353240000,
22154.2,
22196.99,
22134.01,
22180.1,
11361
],
[
1732353300000,
22180.1,
22222.98,
22160.13,
22205.68,
11233
],
[
1732353360000,
22205.68,
22251.72,
22191.88,
22230.73,
11020
],
[
1732353420000,
22230.73,
22272.85,
22211.09,
22255.05,
10729
],
[
1732353480000,
22255.05,
22294.82,
22234.61,
22278.47,
10369
],
[
1732353540000,
22278.47,
22321.73,
22263.62,
22300.85,
9951
],
[
1732353600000,
22300.85,
22340.7,
22281.87,
22322.08,
9491
],
[
1732353660000,
22322.08,
22357.42,
22301.31,
22342.08,
9001
],
[
1732353720000,
22342.08,
22381.44,
22326.2,
22360.83,
8498
],
[
1732353780000,
22360.83,
22397.68,
22342.63,
22378.33,
7999
],
[
1732353840000,
22378.33,
22408.93,
22357.37,
22394.63,
7519
],
[
1732353900000,
22394.63,
22430.03,
22377.77,
22409.82,
7074
],
[
1732353960000,
22409.82,
22443.97,
22392.49,
22424.02,
6678
],
[
1732354020000,
22424.02,
22451.15,
22403.02,
22437.38,
6345
],
[
1732354080000,
22437.38,
22469.75,
22419.61,
22450.09,
6084
],
[
1732354140000,
22450.09,
22482.78,
22433.71,
22462.35,
5904
],
[
1732354200000,
22462.35,
22489.2,
22441.47,
22474.38,
5812
],
[
1732354260000,
22474.38,
22505.41,
22455.78,
22486.41,
5810
],
[
1732354320000,
22486.41,
22519.41,
22471.04,
22498.65,
5897
],
[
1732354380000,
22498.65,
22527.18,
22478.03,
22511.33,
6073
],
[
1732354440000,
22511.33,
22542.87,
22492.0,
22524.65,
6329
],
[
1732354500000,
22524.65,
22559.75,
22510.32,
22538.8,
6659
],
[
1732354560000,
22538.8,
22570.76,
22518.58,
22553.93,
7052
],
[
1732354620000,
22553.93,
22587.53,
22534.0,
22570.17,
7495
],
[
1732354680000,
22570.17,
22608.6,
22556.44,
22587.6,
7973
],
[
1732354740000,
22587.6,
22624.03,
22567.92,
22606.28,
8472
],
[
1732354800000,
22606.28,
22642.63,
22585.87,
22626.22,
8975
],
[
1732354860000,
22626.22,
22668.28,
22611.43,
22647.39,
9466
],
[
1732354920000,
22647.39,
22688.29,
22628.37,
22669.71,
9928
],
[
1732354980000,
22669.71,
22708.48,
22648.96,
22693.08,
10348
],
[
1732355040000,
22693.08,
22737.99,
22677.26,
22717.36,
10711
],
[
1732355100000,
22717.36,
22761.68,
22699.11,
22742.38,
11006
],
[
1732355160000,
22742.38,
22782.3,
22721.43,
22767.94,
11224
],
[
1732355220000,
22767.94,
22814.06,
22751.14,
22793.83,
11356
],
[
1732355280000,
22793.83,
22839.75,
22776.45,
22819.83,
11399
],
[
1732355340000,
22819.83,
22859.41,
22798.83,
22845.71,
11352
],
[
1732355400000,
22845.71,
22890.95,
22827.99,
22871.25,
11216
],
[
1732355460000,
22871.25,
22916.64,
22854.81,
22896.24,
10996
],
[
1732355520000,
22896.24,
22935.24,
22875.35,
22920.49,
10698
],
[
1732355580000,
22920.49,
22962.86,
22901.94,
22943.82,
10332
],
[
1732355640000,
22943.82,
22986.85,
22928.38,
22966.1,
9910
],
[
1732355700000,
22966.1,
23003.01,
22945.46,
22987.22,
9446
],
[
1732355760000,
22987.22,
23025.39,
22967.94,
23007.11,
8954
],
[
1732355820000,
23007.11,
23046.69,
22992.72,
23025.74,
8451
],
[
1732355880000,
23025.74,
23059.89,
23005.49,
23043.12,
7953
],
[
1732355940000,
23043.12,
23076.72,
23023.22,
23059.31,
7476
]
],
"expected_labels": [
{
"barIndex": 158,
"time": 1732347480000,
"y": 23303.4148781909,
"close": 23071.47,
"direction": "SHORT",
"directionZh": "做空",
"grade": "A",
"quality": 74,
"yloc": "abovebar",
"style": "label_down",
"color": "#ff3d3d",
"textColor": "#ffffff",
"textEn": "SHORT [A]\n23071",
"textZh": "做空 [A級]\n23071",
"text": "做空 [A級]\n23071"
},
{
"barIndex": 240,
"time": 1732352400000,
"y": 21707.835103156493,
"close": 21874.24,
"direction": "LONG",
"directionZh": "做多",
"grade": "A",
"quality": 82,
"yloc": "belowbar",
"style": "label_up",
"color": "#00c076",
"textColor": "#ffffff",
"textEn": "LONG [A]\n21874",
"textZh": "做多 [A級]\n21874",
"text": "做多 [A級]\n21874"
}
],
"expected_latest": {
"direction": "LONG",
"directionZh": "做多",
"st": 22848.45383843578,
"close": 23059.31,
"age": 59,
"convictionPct": 99,
"erSmooth": 1,
"erState": "TRENDING",
"erStateZh": "順勢趨勢",
"volRatio": 1.0031761482309627,
"volState": "NORMAL",
"volStateZh": "波動正常",
"adaptiveFactor": 3.5111165188083695,
"adaptiveConfirm": 1,
"hasFlipped": true,
"flipQuality": 82,
"flipGrade": "A",
"distancePct": 0.9144079400650804,
"bullFlips": 1,
"bearFlips": 1,
"flipUp": false,
"flipDown": false,
"anyFlip": false
},
"expected_dashboard_rows": [
{
"row": 0,
"key": "header",
"labelEn": "SUPERTREND",
"labelZh": "V4 超級趨勢",
"valueEn": "F:3.51 C:1",
"valueZh": "乘數:3.51 確認:1棒",
"color": "#ffffff"
},
{
"row": 1,
"key": "direction",
"labelEn": "Direction",
"labelZh": "當前方向",
"valueEn": "LONG",
"valueZh": "做多 (LONG)",
"color": "#00c076"
},
{
"row": 2,
"key": "age",
"labelEn": "Age",
"labelZh": "趨勢棒數",
"valueEn": "59 bars",
"valueZh": "59 棒",
"color": "#b2b5be"
},
{
"row": 3,
"key": "conviction",
"labelEn": "Conviction",
"labelZh": "趨勢信念",
"valueEn": "██████████ 99%",
"valueZh": "██████████ 99%",
"color": "#00c076"
},
{
"row": 4,
"key": "efficiency",
"labelEn": "Efficiency",
"labelZh": "趨勢效率",
"valueEn": "TRENDING 1.00",
"valueZh": "順勢趨勢 1.00",
"color": "#00c076"
},
{
"row": 5,
"key": "vol_regime",
"labelEn": "Vol Regime",
"labelZh": "波動體制",
"valueEn": "NORMAL 1.00",
"valueZh": "波動正常 1.00",
"color": "#b2b5be"
},
{
"row": 6,
"key": "adapt_factor",
"labelEn": "Adapt Factor",
"labelZh": "動態乘數",
"valueEn": "3.51 (base 3.5)",
"valueZh": "3.51 (基準 3.5)",
"color": "#b2b5be"
},
{
"row": 7,
"key": "last_flip",
"labelEn": "Last Flip",
"labelZh": "最近翻轉",
"valueEn": "82 / 100 [A]",
"valueZh": "82 / 100 [A級]",
"color": "#00c076"
},
{
"row": 8,
"key": "distance",
"labelEn": "Distance",
"labelZh": "偏離距離",
"valueEn": "0.91%",
"valueZh": "0.91%",
"color": "#b2b5be"
},
{
"row": 9,
"key": "long_flips",
"labelEn": "Long Flips",
"labelZh": "做多翻轉數",
"valueEn": "1",
"valueZh": "1 次",
"color": "#00c076"
},
{
"row": 10,
"key": "short_flips",
"labelEn": "Short Flips",
"labelZh": "做空翻轉數",
"valueEn": "1",
"valueZh": "1 次",
"color": "#ff3d3d"
}
],
"expected_checkpoints": [
{
"index": 13,
"st": 22172.902499999997,
"erSmooth": 0.9375,
"volRatio": 1,
"adaptiveFactor": 3.5,
"adaptiveConfirm": 1,
"lockedBull": true,
"qualityPct": 97,
"qualityGrade": "A",
"s": 0.47979166666666667
},
{
"index": 14,
"st": 22198.64375,
"erSmooth": 0.96875,
"volRatio": 1,
"adaptiveFactor": 3.5,
"adaptiveConfirm": 1,
"lockedBull": true,
"qualityPct": 98,
"qualityGrade": "A",
"s": 0.5015625
},
{
"index": 25,
"st": 22373.840429204145,
"erSmooth": 0.9999847412109375,
"volRatio": 1,
"adaptiveFactor": 3.5,
"adaptiveConfirm": 1,
"lockedBull": true,
"qualityPct": 92,
"qualityGrade": "A",
"s": 0.6316613260904949
},
{
"index": 50,
"st": 22668.21926869028,
"erSmooth": 0.9999999999995453,
"volRatio": 1,
"adaptiveFactor": 3.5,
"adaptiveConfirm": 1,
"lockedBull": true,
"qualityPct": 100,
"qualityGrade": "A",
"s": 0.9024999999998409
},
{
"index": 75,
"st": 23043.9042255097,
"erSmooth": 1,
"volRatio": 0.9458386932827726,
"adaptiveFactor": 3.310435426489704,
"adaptiveConfirm": 1,
"lockedBull": true,
"qualityPct": 85,
"qualityGrade": "A",
"s": 1
},
{
"index": 100,
"st": 23084.72412853179,
"erSmooth": 0.21504095234914444,
"volRatio": 1.0632372450907908,
"adaptiveFactor": 3.7213303578177674,
"adaptiveConfirm": 4,
"lockedBull": true,
"qualityPct": 47,
"qualityGrade": "C",
"s": 0.7252643333222005
},
{
"index": 125,
"st": 23084.72412853179,
"erSmooth": 0.26423150366668097,
"volRatio": 1.0640606088227467,
"adaptiveFactor": 3.7242121308796134,
"adaptiveConfirm": 3,
"lockedBull": true,
"qualityPct": 48,
"qualityGrade": "C",
"s": 0.7424810262833383
},
{
"index": 150,
"st": 23084.72412853179,
"erSmooth": 0.1188223873202572,
"volRatio": 1.0441964822322678,
"adaptiveFactor": 3.6546876878129373,
"adaptiveConfirm": 4,
"lockedBull": true,
"qualityPct": 39,
"qualityGrade": "C",
"s": 0.69158783556209
},
{
"index": 175,
"st": 23029.662816463868,
"erSmooth": 0.9999980093715842,
"volRatio": 1.3208392674422638,
"adaptiveFactor": 4.622937436047923,
"adaptiveConfirm": 1,
"lockedBull": false,
"qualityPct": 79,
"qualityGrade": "A",
"s": 0.5341659699467212
},
{
"index": 200,
"st": 22378.00425483056,
"erSmooth": 0.9999999999999407,
"volRatio": 1.0936573200295574,
"adaptiveFactor": 3.827800620103451,
"adaptiveConfirm": 1,
"lockedBull": false,
"qualityPct": 86,
"qualityGrade": "A",
"s": 0.8049999999999792
},
{
"index": 225,
"st": 21867.422207875705,
"erSmooth": 0.1931376148974494,
"volRatio": 0.9121210095086867,
"adaptiveFactor": 3.1924235332804036,
"adaptiveConfirm": 4,
"lockedBull": false,
"qualityPct": 51,
"qualityGrade": "B",
"s": 0.7175981652141074
},
{
"index": 250,
"st": 21911.00483605996,
"erSmooth": 0.9999998985777647,
"volRatio": 0.7476491242787674,
"adaptiveFactor": 2.625,
"adaptiveConfirm": 1,
"lockedBull": true,
"qualityPct": 92,
"qualityGrade": "A",
"s": 0.458333297835551
},
{
"index": 275,
"st": 22373.278746303477,
"erSmooth": 0.999999999999997,
"volRatio": 0.8621975679735788,
"adaptiveFactor": 3.017691487907526,
"adaptiveConfirm": 1,
"lockedBull": true,
"qualityPct": 88,
"qualityGrade": "A",
"s": 0.7291666666666656
},
{
"index": 299,
"st": 22848.45383843578,
"erSmooth": 1,
"volRatio": 1.0031761482309627,
"adaptiveFactor": 3.5111165188083695,
"adaptiveConfirm": 1,
"lockedBull": true,
"qualityPct": 96,
"qualityGrade": "A",
"s": 0.9891666666666666
}
]
}