INVITE-ONLY SCRIPT
Zaktualizowano

SuperTrend V · AI Buy/Sell超级趋势 V · AI 买卖 + 止盈提示

274
简介 / Overview

中文:
本指标在经典 SuperTrend 上加入了体量价差(VPT)平滑与“参考均线”过滤,给出 AI 买入/卖出 信号(规则化的过滤逻辑,非机器学习),并在价格触及动态止盈通道时打出 “止盈” 圆点。每笔信号之间自动跟踪并标注 峰值收益(可显示杠杆倍数),用于回顾交易潜在的最大浮盈。适合趋势/波段交易与告警联动。

English:
This indicator enhances classic SuperTrend with VPT-style smoothing and a reference EMA filter to emit AI Buy/Sell signals (rule-based, not ML). It plots TP dots when price hits a dynamic take-profit channel and labels the Peak Profit reached between opposite signals (with optional leverage display). Designed for trend/swing trading and alerts.

使用方法 / How to Use

中文:

将指标加到任意品种图表(默认 15 分钟~4 小时均可)。

观察两条“参考均线”:红线=参考均线、蓝线=开盘均线。当红线在蓝线上方时偏多,反之偏空(图中填充区也会切色)。

AI 买入:价格向上穿越 SuperTrend 线,且收盘价位于蓝线之上;AI 卖出:价格向下穿越 SuperTrend 线,且收盘价位于蓝线之下。

出现 “止盈” 圆点(TP)代表价格触达动态带(基于线性回归+σ通道)。可作为分批止盈/加减仓的参考。

当下一次出现相反方向的 AI 信号时,会在本轮交易的峰值位置打出 “峰值收益 xx% (100x)” 标签,用于复盘。

需要自动提醒:在图表右键 → “添加告警”,选择本指标并挑选相应条件(见“告警条件”)。

English:

Add the indicator to any symbol/timeframe (15m–4h recommended).

Use the two reference EMAs (red = reference, blue = open EMA). Red above blue favors long bias and vice versa.

AI Buy: price crosses above the SuperTrend line and closes above the blue EMA. AI Sell: crosses below and closes below the blue EMA.

TP dots appear when price touches the dynamic channel (linear-regression VWAP ± σ). Use them for partial take-profit or scaling.

On the next opposite AI signal, a Peak Profit xx% (100x) label is placed at the highest/lowest excursion for review.

For alerts: Right-click chart → “Add Alert” → choose this script and a condition (see “Alert conditions”).

主要参数 / Key Inputs

中文:

参考时间框架(分钟):用于参考均线与平滑的更高周期(默认 720 分=12H)。

SuperTrend 乘数 / 周期:决定 ST 线的灵敏度与带宽;乘数越小越敏感。

止盈倍数(σ)、止盈窗口长度:决定 TP 圆点通道的宽度与回溯长度。

显示峰值收益标签、杠杆(仅用于文本显示):是否显示“峰值收益”,以及标签内显示的 x 倍数。

English:

Reference timeframe (minutes) for smoothing/EMAs (default 720 = 12H).

SuperTrend Multiplier / Period control sensitivity and band width.

TP Sigma, TP Window Length define the dynamic channel.

Show Peak Profit, Leverage (text only) toggle the label and x-multiplier text.

告警条件 / Alert Conditions

中文:买入、卖出、卖出止盈触发(低位 TP)、买入止盈触发(高位 TP)。

English: Buy, Sell, TP on Short (low band cross up), TP on Long (upper band cross down).

参数建议 / Tuning Tips

中文:

加密 15m:ST 乘数 1.0~1.5、周期 10~14;TP σ=2、窗口 100~200。

趋势强:可增大乘数/窗口,减少噪音;震荡多:减小乘数/窗口,提高敏感度但留意假信号。

English:

Crypto 15m: ST mult 1.0–1.5, period 10–14; TP σ=2, window 100–200.

Strong trend: increase mult/window to cut noise. Choppy: decrease for responsiveness (watch for whipsaw).

交易提示 / Trading Notes

中文:AI 标签仅为规则化过滤,不代表模型预测;建议结合更大周期方向与量能确认。止盈圆点可做分批减仓,切勿仅依赖单一信号。

English: “AI” labels are rule-based filters, not ML predictions. Combine with higher-TF bias/volume. Use TP dots for scaling; avoid single-signal decisions.
Informacje o Wersji
本指标在经典 SuperTrend 的基础上加入更高周期的参考均线过滤(红/蓝 EMA)与 VPT 平滑,输出更干净的 AI 买入/卖出 提示,并提供三种可切换的止盈:σ 通道(线性回归±σ,价格回落/回升到带边触发)、ATR 阶梯(从入场价按 ATR×倍数设置 TP1/TP2/TP3,每级只触发一次)、回撤跟踪(持仓期间记录峰/谷,回撤达到设定百分比触发);每笔在出现相反方向信号时,还会自动在峰值处打出 “峰值收益 X%(100x)” 标签便于复盘。使用办法:将脚本加到图表→根据品种/周期调整 参考时间框架(默认 720 分=12H)、SuperTrend 乘数/周期(乘数/周期小=更灵敏,大=更稳健)→在“止盈模式”选择 回撤跟踪(建议 2.5%–4%)或 ATR 阶梯(ATR 长度 14、倍数 1.0/1.5/2.0;适合分批减仓),若保留 σ 通道 作参考可将 σ 设 1.2–1.5、窗口 80–150→右键图表“添加告警”,选择本指标并勾选 买入/卖出/止盈触发 等条件;参数示例(加密 15m):乘数 1.0–1.5、周期 10–14、参考 720 分,回撤 3% 或 ATR 14;1.0/1.5/2.0,σ=1.4 窗口 100。注意事项:本脚本为指标而非交易策略,不会自动下单;止盈触发依赖当根波动,建议以收盘确认并用回放验证;ATR 阶梯以高/低价判断,尖刺可能提前触发,实盘需考虑滑点与手续费;为降低重绘,核心交叉使用 st_line[1] 与收盘价,但极端行情仍可能出现差异;若图上元素过多可关闭部分标记(平台 max_labels_count 上限 500);不同市场/周期对参数敏感,先在目标品种做多周期验证再实盘使用。

English (Overview · How to use · Notes in one paragraph):
This indicator enhances classic SuperTrend with a higher-TF reference EMA filter (red/blue) and VPT smoothing to produce cleaner AI Buy/Sell hints, and adds three switchable take-profit modes: Sigma Channel (linear-regression ±σ; triggers on reversion to band), ATR Ladder (TP1/TP2/TP3 at entry ± ATR×multipliers, each fires once), and Drawdown Trailing (track HH/LL while in position and trigger after a configured pullback); when the next opposite signal appears it stamps a “Peak Profit X% (100x)” label for review. How to use: add the script → tune Reference TF (default 720 min = 12H) and SuperTrend Mult/Period (smaller = more responsive, larger = smoother) → pick a TP mode: Drawdown (try 2.5–4%) or ATR Ladder (ATR 14 with 1.0/1.5/2.0 for staged exits); keep Sigma as context by using σ=1.2–1.5 and window 80–150 → right-click chart → Add Alert → choose this indicator and the desired conditions (Buy/Sell/TP triggers). Example defaults for crypto 15m: Mult 1.0–1.5, Period 10–14, Ref TF 720, Drawdown 3% or ATR 14;1.0/1.5/2.0, Sigma 1.4 window 100. Notes: this is an indicator, not an execution strategy; TP events are bar-volatility dependent—prefer close-bar confirmation and validate in Replay; ATR ladder uses high/low so wicks may fire early—account for fees/slippage; core crosses use st_line[1] to mitigate repaint yet extreme moves can differ; hide markers if the chart gets heavy (TradingView max_labels_count limit 500); parameters are regime-sensitive—tune per symbol/timeframe before going live.

Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.