INVITE-ONLY SCRIPT
SFP + Binance Hedge Direct (Full)

RSI SFP + Binance Direct Auto-Trading (Hedge Mode)
RSI SFP + 币安直连自动交易脚本 (双向持仓模式)
🇨🇳 中文说明 (Chinese)
简介 / Introduction 这是一个专为 Binance Futures Signal Bot(币安合约信号机器人) 深度定制的 RSI SFP(假突破)策略脚本。它移除了对第三方中间商(如 WunderTrading)的依赖,实现了 TradingView 到币安的毫秒级直连下单,极大降低了滑点。
核心功能 / Key Features
SFP 针尖策略: 基于 RSI 背离 + 前高/前低假突破(Swing Failure Pattern)捕捉反转机会。支持 "触碰即入场" 或 "收线确认" 模式。
币安直连 (Binance Direct): 内置符合币安 Hedge Mode (双向持仓) 标准的 JSON 生成器。支持自动挂入 TP/SL (止盈止损) 单。
智能资金管理: 无需手动计算总金额。只需输入 本金 (Margin) 和 杠杆 (Leverage),脚本自动计算总名义价值 (Notional Value) 并发送给交易所。
多重过滤系统: 集成 布林带 (Bollinger Bands) 和 成交量 (Volume) 过滤器,有效过滤震荡中的假信号。
双重报警支持:
机器人端: 发送标准 JSON 指令,包含开单、金额、止盈止损价。
手机端: 通过隐藏绘图输出,支持发送清晰易读的文本消息(如 "BTC Long, Entry: 95000, TP: 96000")。
设置指南 / Setup Guide
参数设置:
在 🤖 Bot Connection 中填入币安提供的 signalId 和 uid。
在 Position & Money 中设置您的单笔本金和杠杆(如 1000 U, 100x)。
币安设置:
在币安创建信号机器人时,务必选择 Order Size 单位为 USDT。
报警设置 (双报警模式):
自动交易: 创建报警 -> 选择 Any alert() function call -> 填入 Webhook URL -> 消息框留空。
手机提醒: 创建报警 -> 选择 Bullish/Bearish Reversal -> 填入 {{plot("Alert_Entry")}} 等占位符 -> 发送到 App。
🇺🇸 English Description
Introduction This is a specialized RSI SFP (Swing Failure Pattern) strategy script tailored for the Binance Futures Signal Bot. It eliminates the need for third-party middleware (like WunderTrading), enabling direct, low-latency execution from TradingView to Binance with minimal slippage.
Key Features
SFP Strategy: Captures reversals based on RSI Divergence + Structure False Breakouts (Wick-based). Supports "Touch Only" or "Close Return" entry modes.
Binance Direct Integration: Built-in JSON generator strictly compliant with Binance Hedge Mode. Automatically attaches TP/SL (Take Profit & Stop Loss) orders directly to the entry signal.
Smart Money Management: No need to calculate position sizes manually. Simply input your Margin (USDT) and Leverage. The script auto-calculates the Total Notional Value to send to the exchange.
Advanced Filtering: Integrated Bollinger Bands and Volume filters to reduce false signals during choppy markets.
Dual Alert System:
For Bot: Sends raw JSON commands with execution details.
For Phone: Uses hidden plots to allow clean, human-readable text alerts (e.g., "BTC Long, Entry: $...", "TP: $...").
Setup Guide
Script Settings:
Paste your Binance signalId and uid in the 🤖 Bot Connection section.
Set your Margin and Leverage in Position & Money (e.g., 1000 USDT, 100x).
Binance Settings:
When creating the Signal Bot on Binance, ensure Order Size unit is set to USDT.
Alert Setup (Double-Alert Method):
For Auto-Trading: Create Alert -> Select Any alert() function call -> Check Webhook -> Leave Message empty.
For Phone Notification: Create Alert -> Select Bullish/Bearish Reversal -> Use placeholders like {{plot("Alert_Entry")}} -> Notify on App.
⚠️ Risk Warning
This script automates high-leverage trading. Ensure your Binance Futures account is set to Hedge Mode before running. Use at your own risk.
RSI SFP + 币安直连自动交易脚本 (双向持仓模式)
🇨🇳 中文说明 (Chinese)
简介 / Introduction 这是一个专为 Binance Futures Signal Bot(币安合约信号机器人) 深度定制的 RSI SFP(假突破)策略脚本。它移除了对第三方中间商(如 WunderTrading)的依赖,实现了 TradingView 到币安的毫秒级直连下单,极大降低了滑点。
核心功能 / Key Features
SFP 针尖策略: 基于 RSI 背离 + 前高/前低假突破(Swing Failure Pattern)捕捉反转机会。支持 "触碰即入场" 或 "收线确认" 模式。
币安直连 (Binance Direct): 内置符合币安 Hedge Mode (双向持仓) 标准的 JSON 生成器。支持自动挂入 TP/SL (止盈止损) 单。
智能资金管理: 无需手动计算总金额。只需输入 本金 (Margin) 和 杠杆 (Leverage),脚本自动计算总名义价值 (Notional Value) 并发送给交易所。
多重过滤系统: 集成 布林带 (Bollinger Bands) 和 成交量 (Volume) 过滤器,有效过滤震荡中的假信号。
双重报警支持:
机器人端: 发送标准 JSON 指令,包含开单、金额、止盈止损价。
手机端: 通过隐藏绘图输出,支持发送清晰易读的文本消息(如 "BTC Long, Entry: 95000, TP: 96000")。
设置指南 / Setup Guide
参数设置:
在 🤖 Bot Connection 中填入币安提供的 signalId 和 uid。
在 Position & Money 中设置您的单笔本金和杠杆(如 1000 U, 100x)。
币安设置:
在币安创建信号机器人时,务必选择 Order Size 单位为 USDT。
报警设置 (双报警模式):
自动交易: 创建报警 -> 选择 Any alert() function call -> 填入 Webhook URL -> 消息框留空。
手机提醒: 创建报警 -> 选择 Bullish/Bearish Reversal -> 填入 {{plot("Alert_Entry")}} 等占位符 -> 发送到 App。
🇺🇸 English Description
Introduction This is a specialized RSI SFP (Swing Failure Pattern) strategy script tailored for the Binance Futures Signal Bot. It eliminates the need for third-party middleware (like WunderTrading), enabling direct, low-latency execution from TradingView to Binance with minimal slippage.
Key Features
SFP Strategy: Captures reversals based on RSI Divergence + Structure False Breakouts (Wick-based). Supports "Touch Only" or "Close Return" entry modes.
Binance Direct Integration: Built-in JSON generator strictly compliant with Binance Hedge Mode. Automatically attaches TP/SL (Take Profit & Stop Loss) orders directly to the entry signal.
Smart Money Management: No need to calculate position sizes manually. Simply input your Margin (USDT) and Leverage. The script auto-calculates the Total Notional Value to send to the exchange.
Advanced Filtering: Integrated Bollinger Bands and Volume filters to reduce false signals during choppy markets.
Dual Alert System:
For Bot: Sends raw JSON commands with execution details.
For Phone: Uses hidden plots to allow clean, human-readable text alerts (e.g., "BTC Long, Entry: $...", "TP: $...").
Setup Guide
Script Settings:
Paste your Binance signalId and uid in the 🤖 Bot Connection section.
Set your Margin and Leverage in Position & Money (e.g., 1000 USDT, 100x).
Binance Settings:
When creating the Signal Bot on Binance, ensure Order Size unit is set to USDT.
Alert Setup (Double-Alert Method):
For Auto-Trading: Create Alert -> Select Any alert() function call -> Check Webhook -> Leave Message empty.
For Phone Notification: Create Alert -> Select Bullish/Bearish Reversal -> Use placeholders like {{plot("Alert_Entry")}} -> Notify on App.
⚠️ Risk Warning
This script automates high-leverage trading. Ensure your Binance Futures account is set to Hedge Mode before running. Use at your own risk.
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。