From 979036b157ac87d3b6f81574471640f8b94bdd7a Mon Sep 17 00:00:00 2001 From: Hadi Khazaee Asl Date: Tue, 4 Jun 2024 00:10:03 +0330 Subject: [PATCH] last ... --- .vscode/vscode-kanban.json | 40 +++++++++++----------- Classes/x-saherelm.x121.provider.class.mq5 | 22 +++++++++++- Helpers/x-saherelm.xct.helper.mq5 | 2 +- 3 files changed, 42 insertions(+), 22 deletions(-) diff --git a/.vscode/vscode-kanban.json b/.vscode/vscode-kanban.json index feebf1f0..6abf9a65 100644 --- a/.vscode/vscode-kanban.json +++ b/.vscode/vscode-kanban.json @@ -57,16 +57,6 @@ "references": [], "title": "add XHULL/XSSLC/XAMA/XTM Indicators also to X121MarketCycle Calss" }, - { - "assignedTo": { - "name": "Hadi Khazaee Asl" - }, - "category": "XTrade", - "creation_time": "2024-05-30T22:23:48.918Z", - "id": "68", - "references": [], - "title": "fix cc and ct indicator issues ..." - }, { "assignedTo": { "name": "Hadi Khazaee Asl" @@ -109,6 +99,16 @@ "references": [], "title": "Move Support and Resistance Pivots Finders inside X121Market Class" }, + { + "assignedTo": { + "name": "Hadi Khazaee Asl" + }, + "category": "XMQL", + "creation_time": "2024-06-01T00:58:06.730Z", + "id": "73", + "references": [], + "title": "R&D about indicator Class implementation ..." + }, { "assignedTo": { "name": "Hadi Khazaee Asl" @@ -122,16 +122,6 @@ "id": "72", "references": [], "title": "R&D about Volume Profiling" - }, - { - "assignedTo": { - "name": "Hadi Khazaee Asl" - }, - "category": "XMQL", - "creation_time": "2024-06-01T00:58:06.730Z", - "id": "73", - "references": [], - "title": "R&D about indicator Class implementation ..." } ], "testing": [ @@ -148,6 +138,16 @@ "id": "62", "references": [], "title": "Cleanup all Old Indicator" + }, + { + "assignedTo": { + "name": "Hadi Khazaee Asl" + }, + "category": "XTrade", + "creation_time": "2024-05-30T22:23:48.918Z", + "id": "68", + "references": [], + "title": "fix cc and ct indicator issues ..." } ], "done": [ diff --git a/Classes/x-saherelm.x121.provider.class.mq5 b/Classes/x-saherelm.x121.provider.class.mq5 index 2f8a8af6..8ac9d6fe 100644 --- a/Classes/x-saherelm.x121.provider.class.mq5 +++ b/Classes/x-saherelm.x121.provider.class.mq5 @@ -41,6 +41,9 @@ #include "../Classes/x-saherelm.xprovider.class.mq5" #include "../Classes/x-saherelm.x121.xmcycle.class.mq5" +// +#include "../Classes/Indicators/x-saherelm.mid.class.mq5" + // // Definitions ... @@ -804,6 +807,10 @@ public: // // Props ... + // + XSCMidInputs midInputs; + XSCMid *mid; + // XSCXCCHelper *ccHelper; // Candle Clear XSCXCTHelper *ctHelper; // Candle Timer @@ -828,6 +835,10 @@ public: ccHelper = new XSCXCCHelper(); ctHelper = new XSCXCTHelper(); + // + midInputs.Init(); + mid = new XSCMid(symbol, period); + // // Instantiate X121 Market Cycles Classes ... cMarket = new XSCX121Market(); @@ -918,6 +929,15 @@ public: return result; } + // + result = mid.Init( + midInputs // + ); + if (!result) + { + return result; + } + // mInputs = inputs; @@ -2815,7 +2835,7 @@ private: // Generate Summary ... string summary = conditions.GenerateSummary( true, // Only Summary ... - true // Only Cycles Summary ... + true // Only Cycles Summary ... ); Comment(summary); diff --git a/Helpers/x-saherelm.xct.helper.mq5 b/Helpers/x-saherelm.xct.helper.mq5 index a7e87696..315857a4 100644 --- a/Helpers/x-saherelm.xct.helper.mq5 +++ b/Helpers/x-saherelm.xct.helper.mq5 @@ -76,7 +76,7 @@ struct XCTInputs // // Presentation ... - showCandleTime = false; + showCandleTime = true; } //