From 2f87fb5e3fc38e26baafe35b96b70fe3e81c8fea Mon Sep 17 00:00:00 2001 From: "Nkondog A. Venceslas" Date: Sat, 26 Nov 2022 15:08:05 +0100 Subject: [PATCH] Muzzling the alligator; check if in test environment. --- Experts/Nkanven/MuzzlingAlligatorWatcher.mq5 | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Experts/Nkanven/MuzzlingAlligatorWatcher.mq5 b/Experts/Nkanven/MuzzlingAlligatorWatcher.mq5 index afc6986..f4f916a 100644 --- a/Experts/Nkanven/MuzzlingAlligatorWatcher.mq5 +++ b/Experts/Nkanven/MuzzlingAlligatorWatcher.mq5 @@ -128,7 +128,15 @@ void OnTick() } } } - Notify(comm); + + if(MQLInfoInteger(MQL_TESTER)) + { + Comment(comm); + } + else + { + Notify(comm); + } }