48 lines
907 B
Plaintext
48 lines
907 B
Plaintext
///////////////////////////////////////////////////////
|
|
//
|
|
// SaherElm IT Center MQL4 Draw Global Library
|
|
// ---------------------------------------------
|
|
// saherelm useful tools and definitions ...
|
|
//
|
|
//
|
|
// Maintainer:
|
|
// ------------
|
|
// Hadi Khazaee Asl (hadi_khazaee_asl@yahoo.com)
|
|
//
|
|
//////////////////////////////////////////////////////
|
|
#property library
|
|
#property copyright "Copyright 2023, SaherElm IT Center"
|
|
#property link "https://www.saherelm.ir"
|
|
#property version "1.00"
|
|
#property strict
|
|
|
|
//
|
|
// Log Tag ...
|
|
static string logTag = "";
|
|
|
|
//
|
|
// Enable or Disable Logging ...
|
|
static bool enableLogging = false;
|
|
|
|
//
|
|
// Start Log Messages ...
|
|
//
|
|
|
|
//
|
|
// Logging a Message, specified for this EA ...
|
|
// using provided LogTag ...
|
|
void LogMessage(string message) {
|
|
//
|
|
if (!enableLogging) {
|
|
return;
|
|
}
|
|
|
|
//
|
|
Print(logTag, " > ", message);
|
|
}
|
|
|
|
//
|
|
// End Log Messages ...
|
|
//
|
|
|