ut-bot-signal-alerts/tests/mql4/UTBotDump.mq4
Allan Niñal Allan Niñal ba67514176 UT Bot Signal Alerts: free MT5 and MT4 indicator source, Python reference, tests and README
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 16:07:00 +08:00
25 lines
1.1 KiB
MQL4
//+------------------------------------------------------------------+
//| UTBotDump.mq4 |
//| Copyright 2026, Allan Niñal |
//| https://www.allanninal.dev/mql5 |
//+------------------------------------------------------------------+
//| Test EA (not shipped): dumps the MT4 UT Bot buffers and checks |
//| repainting in the Strategy Tester, via IndTest4/Dump4.mqh. |
//+------------------------------------------------------------------+
// SPDX-License-Identifier: LicenseRef-PolyForm-Noncommercial-1.0.0 (see LICENSE)
#property strict
input double InpKey = 1.0;
input int InpATR = 10;
input bool InpHeikin = false;
input bool InpUseEMA = false;
input int InpEMA = 200;
double IndValue(const int buf,const int shift)
{
return(iCustom(NULL,0,"UTBotAlerts\\UTBotAlerts",InpKey,InpATR,InpHeikin,InpUseEMA,InpEMA,true,true,0.3,
false,false,"alert.wav",false,false,buf,shift));
}
#include <IndTest4/Dump4.mqh>
//+------------------------------------------------------------------+