OPEN-SOURCE SCRIPT
已更新 Inverted USDT.D

Signal Logic at a Glance
Exits happen automatically if price crosses EMA200 in the opposite direction, or whenever any SAR cross occurs (strict stop on your “risky” trades).
The indicator’s core logic uses a 200-period EMA crossover on USDT.D (and optionally VIX) to define the primary trend—price crossing above the EMA closes shorts and opens longs, while crossing below does the opposite—and then layers on “risky” entries whenever the Parabolic SAR flips within that trend (SAR dot appearing below price in an uptrend for add-on longs, above price in a downtrend for add-on shorts). All positions—main and risky—are closed automatically if price crosses the EMA against your trade or any SAR cross occurs. An invert toggle flips every entry/exit rule, letting you trade the opposite signals, and identical logic runs in parallel on VIX to offer complementary or hedged signals.
Step-by-Step Usage Example
1. Set your timeframe (e.g., Daily or 4H).
2. Watch for the Main Long label (green arrow up).
3. When it appears, the strategy will close any short and open a new long.
4. Optionally, use a Sar Long label as a signal to add to your position.
5. Stay in the trade while price remains above EMA200.
6. Exit on either a Main Short or when SAR flips against you.
Tips for Real-World Trading
• Turn on alerts for each label type so you never miss a signal.
• Use the built-in Strategy Tester to optimize your SAR parameters and position sizing.
• Combine with a fixed stop-loss or take-profit discipline off-chart.
• Experiment with the Invert Signal toggle in different market regimes.
Exits happen automatically if price crosses EMA200 in the opposite direction, or whenever any SAR cross occurs (strict stop on your “risky” trades).
The indicator’s core logic uses a 200-period EMA crossover on USDT.D (and optionally VIX) to define the primary trend—price crossing above the EMA closes shorts and opens longs, while crossing below does the opposite—and then layers on “risky” entries whenever the Parabolic SAR flips within that trend (SAR dot appearing below price in an uptrend for add-on longs, above price in a downtrend for add-on shorts). All positions—main and risky—are closed automatically if price crosses the EMA against your trade or any SAR cross occurs. An invert toggle flips every entry/exit rule, letting you trade the opposite signals, and identical logic runs in parallel on VIX to offer complementary or hedged signals.
Step-by-Step Usage Example
1. Set your timeframe (e.g., Daily or 4H).
2. Watch for the Main Long label (green arrow up).
3. When it appears, the strategy will close any short and open a new long.
4. Optionally, use a Sar Long label as a signal to add to your position.
5. Stay in the trade while price remains above EMA200.
6. Exit on either a Main Short or when SAR flips against you.
Tips for Real-World Trading
• Turn on alerts for each label type so you never miss a signal.
• Use the built-in Strategy Tester to optimize your SAR parameters and position sizing.
• Combine with a fixed stop-loss or take-profit discipline off-chart.
• Experiment with the Invert Signal toggle in different market regimes.
發行說明
fixed the candle toggle開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。