FDPanel/FDPanel.mq5
super.admin 4891ef2477 convert
2025-05-30 14:54:39 +02:00

97 lines
3.6 KiB
MQL5

//+------------------------------------------------------------------+
//| FDPanel.mq5 |
//| Copyright Jan 2021, Alexey Vochanskiy |
//| https://www.mql5.com/ru/users/vdev |
//+------------------------------------------------------------------+
#property strict
#include "Include/InpVars.mqh"
#include "Include/PivotLine.mqh"
#include "Include/FDSymbolInfo.mqh"
//+------------------------------------------------------------------+
//| Expert initialization function |
//+------------------------------------------------------------------+
int OnInit()
{
EventSetTimer(60);
// Print("SYMBOL_CALC_MODE_FOREX = ", (int)SYMBOL_CALC_MODE_FOREX, " SYMBOL_CALC_MODE_CFD = ", (int)SYMBOL_CALC_MODE_CFD);
return(INIT_SUCCEEDED);
}
//+------------------------------------------------------------------+
//| Expert deinitialization function |
//+------------------------------------------------------------------+
void OnDeinit(const int reason)
{
EventKillTimer();
}
//+------------------------------------------------------------------+
//| Expert tick function |
//+------------------------------------------------------------------+
void OnTick()
{
}
//+------------------------------------------------------------------+
//| Timer function |
//+------------------------------------------------------------------+
void OnTimer()
{
}
//+------------------------------------------------------------------+
//| Trade function |
//+------------------------------------------------------------------+
void OnTrade()
{
}
//+------------------------------------------------------------------+
//| TradeTransaction function |
//+------------------------------------------------------------------+
#ifdef __MQL5__
void OnTradeTransaction(const MqlTradeTransaction& trans,
const MqlTradeRequest& request,
const MqlTradeResult& result)
{
}
#endif
//+------------------------------------------------------------------+
//| Tester function |
//+------------------------------------------------------------------+
double OnTester()
{
double ret = 0.0;
return(ret);
}
//+------------------------------------------------------------------+
//| TesterInit function |
//+------------------------------------------------------------------+
void OnTesterInit()
{
}
//+------------------------------------------------------------------+
//| TesterPass function |
//+------------------------------------------------------------------+
void OnTesterPass()
{
}
//+------------------------------------------------------------------+
//| TesterDeinit function |
//+------------------------------------------------------------------+
void OnTesterDeinit()
{
}
//+------------------------------------------------------------------+
//| BookEvent function |
//+------------------------------------------------------------------+
void OnBookEvent(const string &symbol)
{
}
//+------------------------------------------------------------------+