Configuration
const smc = new SmartMoneyConcepts({
// Structure detection
swingsLengthInput: 50, // Bars to confirm swing pivots (default: 50)
equalHighsLowsLengthInput: 3, // Bars to confirm equal highs/lows
equalHighsLowsThresholdInput: 0.1, // Sensitivity (0-0.5)
// Order blocks
internalOrderBlocksSizeInput: 5, // Max internal OBs to track
swingOrderBlocksSizeInput: 5, // Max swing OBs to track
orderBlockFilterInput: 'Atr', // 'Atr' | 'Cumulative Mean Range'
orderBlockMitigationInput: 'Close', // 'Close' | 'High/Low'
// Volume
volumeThresholdInput: 1.2, // Volume spike threshold (multiplier)
requireVolumeConfirmation: false, // Require volume for signals
// ICT methodology
onlyTradeFreshOBs: true, // Only fresh (unmitigated) order blocks
maxOBMitigations: 1, // Max times an OB can be traded
enableCOSD: true, // Change of State of Delivery
classifyOrderBlocks: true, // HP vs Continuation OB classification
// Advanced OB validation
strict5CriteriaValidation: false, // All 5 ICT criteria for HP OBs
requireFVGForHP: false, // Require FVG for HP OBs
requireCOSDForHP: false, // Require COSD for HP OBs
// ATR-based OB size filtering
enableOBSizeFilter: false,
minOBSizeATRMultiplier: 0.3,
maxOBSizeATRMultiplier: 2.0,
// ATR period
atrPeriod: 200, // ATR calculation period
})