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提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。