TF-altProjekte/Experts/Test/Zwischen.mqh
super.admin 84cd1a7ab0 convert
2025-05-30 16:31:33 +02:00

48 lines
1.7 KiB
MQL5

//+------------------------------------------------------------------+
//| Zwischen.mqh |
//| Thorsten Fischer Copyright 2019 |
//| https://www.tfsystem.de |
//+------------------------------------------------------------------+
#property copyright "Thorsten Fischer Copyright 2019"
#property link "https://www.tfsystem.de"
#property version "1.00"
#property strict
#include <TF-Class\TFObject.mqh>
#include "TestGUI.mqh"
//#include <Charts\Chart.mqh>
class CZwischen : public CTFObject
{
private:
CTestGUI testgui;
//CChart charttest;
public:
CZwischen();
~CZwischen();
virtual int OnInitEvent(void);
virtual void Destroy(const int aReason=0);
};
CZwischen::CZwischen()
{
}
CZwischen::~CZwischen()
{
}
//+------------------------------------------------------------------+
//| |
//+------------------------------------------------------------------+
int CZwischen::OnInitEvent(void)
{
if (!testgui.Create())
return(INIT_FAILED);
return(INIT_SUCCEEDED);
}
//+------------------------------------------------------------------+
//| |
//+------------------------------------------------------------------+
void CZwischen::Destroy(const int aReason=0)
{
testgui.Destroy(aReason);
Print(DeInitReasonText(aReason)); // Reason als Text ausgeben
}
//+------------------------------------------------------------------+