From d29102df54e4c8d6f119a94730355bdb366228b8 Mon Sep 17 00:00:00 2001 From: Hadi Khazaee Asl Date: Mon, 17 Jun 2024 22:48:32 +0330 Subject: [PATCH] last ... --- .vscode/vscode-kanban.json | 29 +++++++++++++-------------- Classes/x-saherelm.x121.setup.xea.mq5 | 4 ++-- Experts/x-saherelm.x121.ea.mq5 | 20 +++++++++--------- 3 files changed, 26 insertions(+), 27 deletions(-) diff --git a/.vscode/vscode-kanban.json b/.vscode/vscode-kanban.json index 16aa7c39..8a6ddf84 100644 --- a/.vscode/vscode-kanban.json +++ b/.vscode/vscode-kanban.json @@ -1,20 +1,6 @@ { "todo": [], - "in-progress": [ - { - "assignedTo": { - "name": "Hadi Khazaee Asl" - }, - "creation_time": "2024-06-17T00:01:04.987Z", - "description": { - "content": "- Max Number;\n- Voluem Multiplier;\n- Max Volume;\n- Support on Distance;", - "mime": "text/markdown" - }, - "id": "81", - "references": [], - "title": "Fix Allow Supports ..." - } - ], + "in-progress": [], "testing": [ { "assignedTo": { @@ -50,6 +36,19 @@ "id": "79", "references": [], "title": "Fix Max Allowed Trade on Only SUpport Signals" + }, + { + "assignedTo": { + "name": "Hadi Khazaee Asl" + }, + "creation_time": "2024-06-17T00:01:04.987Z", + "description": { + "content": "- Max Number;\n- Voluem Multiplier;\n- Max Volume;\n- Support on Distance;", + "mime": "text/markdown" + }, + "id": "81", + "references": [], + "title": "Fix Allow Supports ..." } ], "done": [ diff --git a/Classes/x-saherelm.x121.setup.xea.mq5 b/Classes/x-saherelm.x121.setup.xea.mq5 index cc534490..838a68e6 100644 --- a/Classes/x-saherelm.x121.setup.xea.mq5 +++ b/Classes/x-saherelm.x121.setup.xea.mq5 @@ -811,8 +811,8 @@ struct XTradeInfo X_ORDER_MODE_MARKET, rEntry, rVolume, - rSL, // SL ... - rTP // TP ... + 0, // rSL, // SL ... + 0 // rTP // TP ... ); if (result) { diff --git a/Experts/x-saherelm.x121.ea.mq5 b/Experts/x-saherelm.x121.ea.mq5 index 271a82fe..c296a88a 100644 --- a/Experts/x-saherelm.x121.ea.mq5 +++ b/Experts/x-saherelm.x121.ea.mq5 @@ -58,18 +58,18 @@ input bool x121EAIgnoreTP = false; // Ignore Calculated TP // // Protection ... input group "Signalling"; -input int x121EAStartSignallingHoure = -1; // Start Signalling at Specific Time -input int x121EAEndSignallingHoure = -1; // End Signalling at Specific Time -input int x121EACloseOnSpecificTime = -1; // Close All Trades in Specific Time -input bool x121EACloseOnOpposit = false; // Close all Positions on Opposit +input int x121EAStartSignallingHoure = 0; // Start Signalling at Specific Time +input int x121EAEndSignallingHoure = 22; // End Signalling at Specific Time +input int x121EACloseOnSpecificTime = -1; // Close All Trades in Specific Time +input bool x121EACloseOnOpposit = false; // Close all Positions on Opposit // input group "Trailling"; -input bool x121EAAllowTrailStop = true; // Enable Trailling Stop Losses -input double x121EAFirstTrailDistance = 60; // Start Trailling Distance -input double x121EAFirstTrailPoint = 50; // First Stop Trail -input double x121EANextTrailDistance = 25; // Next Trailling Distance -input double x121EANextTrailPoint = 10; // Next Trailling Step +input bool x121EAAllowTrailStop = true; // Enable Trailling Stop Losses +input double x121EAFirstTrailDistance = 110; // Start Trailling Distance +input double x121EAFirstTrailPoint = 60; // First Stop Trail +input double x121EANextTrailDistance = 60; // Next Trailling Distance +input double x121EANextTrailPoint = 20; // Next Trailling Step // input group "Supporting"; @@ -89,7 +89,7 @@ input double x121EAMaxAllowedGridVolume = 0.8; // Max Allowed Grid Signals Volum // input group "Recovery"; -input bool x121EAAllowRecovery = false; // Allow Recovery Signals +input bool x121EAAllowRecovery = true; // Allow Recovery Signals input int x121EAMaxNumberOfRecoveries = 2; // Max Number of Recovery Signals input double x121EARecoveryDistance = 100; // Recovery Distance input double x121EARecoveryVolumeMultiplier = 2; // Recovery Volume Multiplier