EA-Setka-2/Libs/CtrlPanel/CtrlPanel.mqh
super.admin a4b861dd93 convert
2025-05-30 14:50:44 +02:00

53 lines
No EOL
3.3 KiB
MQL5

#ifndef CTRL_PANEL_MQH
#define CTRL_PANEL_MQH
//+------------------------------------------------------------------+
//| CtrlPanel.mqh |
//| Copyright 2021, MetaQuotes Ltd. |
//| https://www.mql5.com |
//+------------------------------------------------------------------+
#property copyright "Copyright 2021, MetaQuotes Ltd."
#property link "https://www.mql5.com"
#include "localization\ru_ru.mqh"
#include "ctrlpanelbase.mqh"
#include "..\comment.mqh"
#include "ctrlpanellevels.mqh"
#include "Common\LBFFunction_V2.mqh"
#include "ctrlpanellogger.mqh"
#include "ctrlpanelcomment.mqh"
#include "paramgenerator.mqh"
#include "ctrlpanelsetinfo.mqh"
#include "ctrlpanelmini.mqh"
#include "ctrlpanelext.mqh"
#include "ctrlpanelfilterstate.mqh"
#include "graphfunction.mqh"
CCtrlPanelBase* CreateCtrlPanel()
{
switch (ShowComments)
{
case cp_filter_state:
return new CCtrlPanelFilterState();
case cp_set_info:
return new CCtrlPanelSetInfo();
case cp_mini:
return new CCtrlPanelMini("show_grid_lvl=true;show_stop_lvl=true;show_no_loss_lvl=true;show_first_order_lvl=true;show_no_first_order_lvl=true;");
case cp_ext:
return new CCtrlPanelExt("show_grid_lvl=true;show_stop_lvl=true;show_no_loss_lvl=true;show_first_order_lvl=true;show_no_first_order_lvl=true;");
case cp_tester_logger:
return new CCtrlPanelLogger();
default:
return new CCtrlPanelBase();
}
return NULL;
};
#endif