PROTECTED SOURCE SCRIPT
CBC Flip Strategy

The CBC Flip Strategy is a momentum-based trading system that identifies shifts in market control by monitoring price closes relative to previous bars' highs and lows: it flips to bullish mode when the close exceeds the prior high (indicating bulls in control) and enters a long position, or to bearish mode when the close falls below the prior low (indicating bears in control) and enters a short position, all while incorporating optional confluences like higher timeframe CBC alignment, RSI thresholds (above 50 + offset for longs, below 50 - offset for shorts), and EMA positioning (above for longs, below for shorts) to filter entries; trades are restricted to a user-defined session window and direction preferences, with exits handled via tick-based TP/SL, reversal on chart or higher timeframe CBC flips, and an optional flatten at a specified time to close all positions.
Number of Contracts: Adjust the quantity of contracts per trade (default: 1).
SL and TP Ticks: Set stop-loss (default: 12 ticks) and take-profit (default: 24 ticks) distances from entry.
Exit Strategy: Choose from TP/SL in ticks, exit on chart CBC flip (reverses on opposite signal), or exit on higher timeframe CBC flip.
Flatten All: Enable/disable flattening all positions at a customizable time (default: 16:00, with adjustable hour/minute).
Trading Session: Define the time window for allowing entries (default: 0800-1700).
Trade Direction: Select "Both" (longs and shorts), "Only Long", "Only Short", or "Towards Daily Open" (longs if below daily open, shorts if above).
Higher Timeframe CBC Confluence: Toggle use of HTF CBC alignment (default: enabled, with customizable HTF like "240").
RSI Confluence: Toggle RSI filter (default: enabled, with adjustable length=14, offset=20 for thresholds).
EMA Confluence: Toggle EMA filter (default: enabled, with adjustable length=200 for position relative to price).
Number of Contracts: Adjust the quantity of contracts per trade (default: 1).
SL and TP Ticks: Set stop-loss (default: 12 ticks) and take-profit (default: 24 ticks) distances from entry.
Exit Strategy: Choose from TP/SL in ticks, exit on chart CBC flip (reverses on opposite signal), or exit on higher timeframe CBC flip.
Flatten All: Enable/disable flattening all positions at a customizable time (default: 16:00, with adjustable hour/minute).
Trading Session: Define the time window for allowing entries (default: 0800-1700).
Trade Direction: Select "Both" (longs and shorts), "Only Long", "Only Short", or "Towards Daily Open" (longs if below daily open, shorts if above).
Higher Timeframe CBC Confluence: Toggle use of HTF CBC alignment (default: enabled, with customizable HTF like "240").
RSI Confluence: Toggle RSI filter (default: enabled, with adjustable length=14, offset=20 for thresholds).
EMA Confluence: Toggle EMA filter (default: enabled, with adjustable length=200 for position relative to price).
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。