LWTG QCBP v1.0.10-Multi Instrument Trading — Strategy by lonewolftradinggroup
By lonewolftradinggroup
Performance Metrics
- Author: lonewolftradinggroup
- Symbol: CME_MINI:MES1!
- Timeframe: 5 minutes
- Net P&L: +1,267.75 USD (+5.07%)
- Win Rate: 76.0%
- Profit Factor: 1.524
- Max Drawdown: 362.50 USD (1.37%)
- Total Trades: 158
Description
// ============================================================// LWTG QCBP v1.0.10 - Instrument Preset System// Replicates all 9 confluences + RSI/ADX filters + dynamic exits// Instruments: MES(5m), MNQ(15m), SIL(5m), MGC(5m)// ALL CREDIT and IP for code goes to Aaron @ Quantcrawler.com// ============================================================// Preset System:// Select instrument from dropdown — one preset per instrument// Qty set independently via Contracts input (works for any count)// When TP2 > 0 and qty >= 2: ceil(qty/2) exit at TP1 with BE stop on remainder to TP2// ============================================================// Exit Logic:// TP1/SL1 mode: full position exits at TP1, protected by SL1// TP1/TP2 split mode: ceil(qty/2) exits at TP1, stop moves to BE,// remainder exits at TP2. SL1 active until TP1 hit.// ============================================================// ============================================================// ============================================================// RELEASE NOTES v1.0.10 — Removed Custom Settings, cleaned up groups// - Deleted Custom Settings (CUSTOM preset only) group entirely// - Removed CUSTOM from preset dropdown — four instruments only// - Developer Tuning group renamed to "DO NOT MODIFY" warning// - No logic changes// ============================================================// RELEASE NOTES v1.0.9 — Settings screen cleanup for distribution// - Advanced Trader Tuning group: WaveTrend OB/OS, Squeeze BB/KC lengths+mults// - Developer Tuning group: all other indicator params, optimizer overrides, diagnostics// - No logic changes// ============================================================// RELEASE NOTES v1.0.8 — One preset per instrument, standalone qty input// - Collapsed 3 contract-count blocks per instrument into 1// - Qty is now a standalone input in the Preset group (1–10 contracts)// - Dropdown reduced from 12 options to 4 (MES, MNQ, SIL, MGC)// - TP2 tested on MNQ and MGC — split exit hurts edge on both instruments// MNQ best TP2 result: PF=1.223 vs 1c baseline PF=2.905// MGC best TP2 result: PF=3.573 vs 1c baseline PF=9.270// All tp2 preset values locked at 0.0 — single exit wins across the board// TP2 infrastructure retained in code for future instrument testing// - Fixed bar-0 array.get crash in trade log (empty array guard)// ============================================================// RELEASE NOTES v1.0.7 — MYM removed, EMA exit removed, generic TP2 split// - Removed MYM instrument entirely (presets, resolvers, dropdown)// - Removed all EMA exit logic, inputs, calculations, and plots// (EMA confluences C1/C2 retained as entry signals — only exit logic removed)// - TP2 split now generic: ceil(qty/2) exits at TP1, remainder at TP2 with BE stop// Examples: 1c=full TP1, 2c=1+1, 3c=2+1, 4c=2+2, 5c=3+2// - MNQ 2c and MGC 2c have TP2=2.00 as starting sweep value// ============================================================// RELEASE NOTES v1.0.6 — TP2 Split Exit for MNQ 2c / MGC 2c// - Added p_tp2 preset parameter for MNQ 2c and MGC 2c presets// - MNQ 2c / MGC 2c: entry fires 2 contracts, exits 1 at TP1,// moves stop to breakeven on remaining 1c, exits at TP2// - All other presets unchanged (full position exits at TP1)// - Added i_ovr_tp2 optimizer override input for TP2 sweeping// - Added TP2 line to info panel when TP2 split is active// - Webhook alert updated to include tp2 field when applicable// ============================================================// RELEASE NOTES v1.0.5 — EMA Exit + SL2/TP2 Removal// - Added i_useEMAExit toggle (Filters group)// OFF (default): original TP1/SL1 fixed exit unchanged// ON: replaces TP1/TP2 with dynamic EMA-based exit// Long exit: close slowEMA OR fastEMA crosses above slowEMA// SL1 remains active as hard stop in both modes// - Removed all SL2/TP2 processing: preset values, p_ variables, strategy.exit legs,// trade line drawing, info panel rows, optimizer override inputs, custom inputs// - exitMode panel label updated to reflect active exit mode dynamically// ============================================================// - Fixed Pine typing/syntax issues in diagnostics helpers/variables to ensure compilation.// - Added OPTIONAL Confluence Timeline row + optional chart labels in the separate diagnostics panel.// ============================================================// - Added OPTIONAL 9-Confluence Heatmap pane (Bull/Bear lanes) for visual timing analysis.// - Added OPTIONAL separate Diagnostics Panel (table) with confluence checklist + score/filters.// - Added OPTIONAL Confluence Delay Detector: reports which confluence flipped most recently// on ANY bar where bullSignal/bearSignal becomes true (even if an entry is blocked).// - Added OPTIONAL Entry Debug Markers (small dots) at bullSignal/bearSignal bars.// - Trading engine (presets, p_* parameters, confluence logic, entries, exits) intentionally unchanged.// - Removed OPTIONAL 9-Confluence Heatmap pane (Moved to a standalone indicator).// - Changed colors & thickness on EMA's// ============================================================