EasyAndFastMod/Common.mqh

44 satır
4,2 KiB
MQL5
Ham Kalıcı Bağlantı Normal Görünüm Geçmiş

2026-01-15 07:23:17 -05:00
<EFBFBD><EFBFBD>//+------------------------------------------------------------------+
//| Common.mqh |
//| Copyright 2022, MetaQuotes Ltd. |
//| http://www.mql5.com |
//+------------------------------------------------------------------+
#property copyright "Copyright 2021, MetaQuotes Ltd."
#property link "http://www.mql5.com"
//+------------------------------------------------------------------+
//| defines |
//+------------------------------------------------------------------+
// #define MacrosHello "Hello, world!"
// #define MacrosYear 2010
//+------------------------------------------------------------------+
//| DLL imports |
//+------------------------------------------------------------------+
// #import "user32.dll"
// int SendMessageA(int hWnd,int Msg,int wParam,int lParam);
// #import "my_expert.dll"
// int ExpertRecalculate(int wParam,int lParam);
// #import
//+------------------------------------------------------------------+
//| EX5 imports |
//+------------------------------------------------------------------+
// #import "stdlib.ex5"
// string ErrorDescription(int error_code);
// #import
//+------------------------------------------------------------------+
//+------------------------------------------------------------------+
//| EX5 imports |
//+------------------------------------------------------------------+
class CCommon {
public:
//--- 45=B8D8:0B>@ 8 =><5@ >:=0 3@0D8:0
static long m_chart_id;
static int m_subwin;
//--- 45=B8D8:0B>@ ?>A;54=53> A>740==>3> M;5<5=B0 C?@02;5=8O
static int m_last_id;
//--- #3>; 3@0D8:0 8 B>G:0 ?@82O7:8 >1J5:B>2
ENUM_BASE_CORNER m_corner;
ENUM_ANCHOR_POINT m_anchor;
};
//+------------------------------------------------------------------+