From b37b694810ff57d7762e154db66a49630952a5e1 Mon Sep 17 00:00:00 2001 From: kenorb Date: Sun, 23 Jul 2023 15:56:16 +0100 Subject: [PATCH] EA: Adds db export to test --- tests/EATest.mq5 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/EATest.mq5 b/tests/EATest.mq5 index 80de95d28..5ce9c1352 100644 --- a/tests/EATest.mq5 +++ b/tests/EATest.mq5 @@ -109,6 +109,12 @@ void OnTick() { * Implements OnDeinit(). */ void OnDeinit(const int reason) { + // Run data export via task. + TaskActionEntry _task_run_export(EA_ACTION_EXPORT_DATA); + ea1.Run(_task_run_export); + ea2.Run(_task_run_export); + ea3.Run(_task_run_export); + // Clean up. delete ea1; delete ea2; delete ea3;