价格比率 compares two closes as A ÷ B (TradingView Ratio style). Market A defaults to the automation primary; Market B is observe-only. When the ratio (or its rolling z-score) meets compare/threshold, it fires buy or sell.
When to use
- Enter when the primary is strong or weak versus a reference
- Confirm breakouts with relative outperformance
- As a filter: allow a pending signal only when the ratio agrees with the pending side
Different from Pairs Spread multi-leg price ratio (basis) (A÷B − 1).
What you’ll set
Add 价格比率 under entry/exit/increase/decrease/reversal or filters.
- Market A (empty = strategy primary)
- Market B (symbol required)
- Mode: 原始(A÷B) or 比率 Z 分数
- Window (bars) for z-score
- Compare / Threshold / Side when true
Example
USDBRLUSDT vs EWZUSDT, mode 原始(A÷B), ratio > 0.15, side buy.