AlgoTraderNQGC - We Coded It: TheStrat CC Setup — Strategy by AlgoTraderNQGC

By AlgoTraderNQGC

Performance Metrics

Description

We Coded It is a series where we take a trading idea someone has shared publicly, code its rules as written, and publish the code so anyone can test it.This one is a TheStrat "CC" (continuation candle) setup. Its two rule sheets were shared publicly by Trader Mike on 24 Nov 2026: a 1-hour model and a 15-minute model. We coded both from those sheets. The author did not write or review this script. The defaults are the rules as posted. Every extra filter is off until you turn it on.What it doesIt looks for a higher-timeframe candle that closes beyond the prior candle's low (or high, for longs). That candle's low becomes the target. In the next candle it waits for a lower-timeframe "failed 2" against the move. Then it enters for a 1:1 trade: the stop is as far from entry as the target.How it works (bearish shown, bullish mirrored)1. CC candle: a closed candle on the CC timeframe closes below the prior candle's low. Its low is the target (PT). The 1-hour model ignores outside bars; the 15-minute model accepts them, as its sheet says.2. The PT must stay untouched from the next candle's open until entry.3. Failed 2: in the first two lower-timeframe bars of that next candle, a bar takes out the previous bar's high and closes red.4. Entry: - 1-hour model: after the failed 2, wait for a 1-minute bearish fair value gap, then a 1-minute close below the latest confirmed 1-minute swing low. Enter at the next bar's open. - 15-minute model: at the failed 2's close, enter at market if 1:1 fits with the stop above the failed 2's high. Otherwise place a limit at the 1:1 price, cancelled at the candle's end or if the PT trades first.5. Exit at the stop or the target. Everything is flat at 16:30 New York time on NQ (16:45 on GC), and 30 minutes before an early close.Models: CC60 = 1h candle with a 15m failed 2 (the posted Model 1, the default). CC15 = 15m candle with a 5m failed 2 (the posted 15-minute model). CC5 = 5m candle with a 1m failed 2. CC5 is our own extension one step down the same ladder, and it is not in the posted rules.How to use it- Use a 1-minute chart. The script builds the 5m, 15m, 1h and 4h candles itself from the 1-minute bars, so the chart timeframe must be 1 minute. A red banner shows if it isn't.- Choose the model in "Model". Leave everything else at its default to see the rules as posted.- Where the rule sheets leave a choice open, the default is the most literal reading. The other readings are inputs: "strong close" (R1), what "closes lower" means (R2), accepting an outside candle in the 1-hour model, a stop floor at the failed 2's extreme (R4), the entry method (R5) and exiting when the candle ends (R6).- The "Rescue" groups are filters we tested ourselves. Each is off by default, and turning one on is not part of the posted rules: - a minimum or maximum target distance; - target distance against ATR; - full timeframe continuity (D, W and M opens); - three candle-range filters.- Roll and early-close dates are in "Session calendar". Add future dates before they arrive.Properties (defaults used for the report)- Initial capital 50,000. Order size 1 contract on every trade, so results read cleanly in R.- Commission 0.50 per contract per side, which is a $1 round trip on micro Nasdaq (MNQ). For micro gold (MGC), set 0.75 in Properties.- Slippage 1 tick on market and stop fills. Limit fills get no slippage, which is how TradingView treats limit orders.- Margin 0 for longs and shorts. Futures margin is a fixed amount per contract, not a share of the contract's notional value, and 1 contract on a 50,000 account never hits a margin limit. With TradingView's percent-of-notional margin, NQ and GC entries would be rejected without a warning.- Pyramiding 0, so only one position is open at a time. Limit fills use the "verify price for limit orders" setting of 1 tick. Calculations run on bar close; no tick or order-fill recalculation.What we foundOver three years of 1-minute data with these costs, the rules as written won close to half of their 1:1 trades on micro Nasdaq and micro gold. That is about what a coin flip does at 1:1, and both lost money after costs. None of the filters we tried could be told apart from luck. Run the report yourself on the symbol and dates you trade.Limitations- This is our reading of rule sheets meant for discretionary traders. "Strong close" and "ample room" for the stop are open to interpretation. The inputs above cover the readings we considered, but not every possible one.- The script holds one position at a time. A trader taking every overlapping signal by hand would see more trades.- It was built and tested on CME Nasdaq and COMEX gold futures 1-minute data. Results will differ on other symbols, timeframes and data feeds. Continuous-contract rolls change prices around roll dates.- The 1-minute history TradingView loads depends on your plan and on Deep Backtesting.This script is for research and education. It is not investment advice and not a recommendation to trade. Backtest results are hypothetical: they were simulated with the benefit of hindsight, do not represent actual trading, and do not predict future results. Futures trading carries substantial risk of loss.

Browse all 5,900+ TradingView Pine Script strategies

View on TradingView