Algorithmic trading
Breakout: Range Identification, Volume Confirmation, and Fakeout Filters
Intermediate11 min
Breakout strategies enter when price leaves a defined range or level. Some moves continue; others quickly return inside.
ReadA free research desk for intraday and swing traders in futures, stocks, ETFs and crypto, built around the AI you already use.
01 · Build
Connect Claude, GPT or any MCP assistant: while it works, EX7 draws the flowchart block by block and writes the code for your platform.
// EX7 export · research only//@version=6strategy("NQ ORB 30m + ADX", overlay = true, default_qty_type = strategy.fixed, default_qty_value = 1, process_orders_on_close = false)or_ready_30 = bar_min >= 600 and not na(or_run_hi_30)[adx_14_dip, adx_14_dim, adx_14] = ta.dmi(14, 14)long_setup = (close > or_hi_30)if strategy.position_size == 0 and can_enter strategy.entry("L", strategy.long) strategy.exit("L_x", "L", loss = sl_pts / syminfo.mintick, profit = tp_pts / syminfo.mintick)02 · Validate
The Judge replays your frozen rules through seven checks, counts every attempt you made, scores the idea from 0 to 100 and ranks it against your other ideas.
The Judge · 7 checks
Walk-forward: met.Tested on months it never saw
Costs: met.What's left after fees and slippage
Regimes: met.Holds in trending and choppy markets
Monte Carlo: met.Same trades, redrawn at random 40 times
Robustness: met.Nearby settings still work
Overfitting: not met.Every attempt counts against it
Tail risk: not met.Worst days heavier than normal
Score
64/100
Your rankingExample
HYPOTHETICAL PERFORMANCE RESULTS HAVE MANY INHERENT LIMITATIONS, SOME OF WHICH ARE DESCRIBED BELOW. NO REPRESENTATION IS BEING MADE THAT ANY ACCOUNT WILL OR IS LIKELY TO ACHIEVE PROFITS OR LOSSES SIMILAR TO THOSE SHOWN. IN FACT, THERE ARE FREQUENTLY SHARP DIFFERENCES BETWEEN HYPOTHETICAL PERFORMANCE RESULTS AND THE ACTUAL RESULTS SUBSEQUENTLY ACHIEVED BY ANY PARTICULAR TRADING PROGRAM.
ONE OF THE LIMITATIONS OF HYPOTHETICAL PERFORMANCE RESULTS IS THAT THEY ARE GENERALLY PREPARED WITH THE BENEFIT OF HINDSIGHT. IN ADDITION, HYPOTHETICAL TRADING DOES NOT INVOLVE FINANCIAL RISK, AND NO HYPOTHETICAL TRADING RECORD CAN COMPLETELY ACCOUNT FOR THE IMPACT OF FINANCIAL RISK IN ACTUAL TRADING. FOR EXAMPLE, THE ABILITY TO WITHSTAND LOSSES OR TO ADHERE TO A PARTICULAR TRADING PROGRAM IN SPITE OF TRADING LOSSES ARE MATERIAL POINTS WHICH CAN ALSO ADVERSELY AFFECT ACTUAL TRADING RESULTS. THERE ARE NUMEROUS OTHER FACTORS RELATED TO THE MARKETS IN GENERAL OR TO THE IMPLEMENTATION OF ANY SPECIFIC TRADING PROGRAM WHICH CANNOT BE FULLY ACCOUNTED FOR IN THE PREPARATION OF HYPOTHETICAL PERFORMANCE RESULTS AND ALL OF WHICH CAN ADVERSELY AFFECT ACTUAL TRADING RESULTS.
03 · Automate
Download it as Pine today; NinjaScript, Python and MQL5 files are next.
Your strategy
NQ ORB 30m + ADX6 blocks
nq-orb-30m-adx.pinePine
//@version=6 strategy.entry("L", strategy.long)nq-orb-30m-adx.csNinjaScript (C#)next
protected override void OnBarUpdate() EnterLong(Contracts, "L");nq-orb-30m-adx.pyPythonnext
import json return (C[i] > S["or_hi_30"][i])nq-orb-30m-adx.mq5MQL5next
#include <Trade/Trade.mqh>void OnTick()EX7 never places orders.
04 · The hub
What the desk holds besides the builder.
Philosophy
No signals to sell and no results to dress up: a desk where every idea is tested honestly and traders learn from each other.