diff --git a/Experts/x-saherelm.xfima.backtester.ea.mq5 b/Experts/x-saherelm.xfima.backtester.ea.mq5 index 4623dd3f..b216dff3 100644 --- a/Experts/x-saherelm.xfima.backtester.ea.mq5 +++ b/Experts/x-saherelm.xfima.backtester.ea.mq5 @@ -52,6 +52,7 @@ input bool eaPushAlerts = false; // Push Alerts input bool eaTerminalAlerts = false; // Terminal Alerts // +// Configurations ... input group "Configuration"; input bool eaProcessAllTicks = false; // Process All Ticks input double eaSignallerR2R = 2.0; // Risk To Reward Ratio @@ -387,7 +388,7 @@ int OnInit() // Configure XFIMA POI Detector / Drawer ... detectorConfig.Default(); detectorConfig.OffDetectors(); - detectorConfig.detectSwingTrend = true; + detectorConfig.detectSignalKeyBarPattern = true; marketStructureDrawerConfig.FullDraw(); marketStructureDrawerConfig.swingTrendRayLeft = false; @@ -488,7 +489,9 @@ void OnTick() eaDraws // ); } - if (HasDirection(marketStructure.trendDir)) + + // + if (HasDirection(marketStructure.signalKeyBarPatternDir)) { Print("Detected ..."); }