31 lines
1,019 B
MQL5
31 lines
1,019 B
MQL5
//+------------------------------------------------------------------+
| |||
//| EAConfig.mqh |
| |||
//| Copyright 2025, MetaQuotes Ltd. |
| |||
//| https://www.mql5.com |
| |||
//+------------------------------------------------------------------+
| |||
#property copyright "Copyright 2025, MetaQuotes Ltd."
| |||
#property link "https://www.mql5.com"
| |||
#property version "1.00"
| |||
| |||
#include "SymbolConfig.mqh"
| |||
#include "IndicatorConfig.mqh"
| |||
| |||
struct EAConfig
| |||
{
| |||
ulong magicNumber;
| |||
ulong Slippage;
| |||
| |||
int tradeDuration;
| |||
int maxOpenPositions;
| |||
int maxPendingOrders;
| |||
| |||
bool asSeries;
| |||
| |||
double RiskPercent;
| |||
double MaxPercent;
| |||
| |||
string comment;
| |||
CArrayList<IndicatorConfig>* indConfigs;
| |||
CArrayList<SymbolConfig> tfConfigs;
| |||
};
| |||
//+------------------------------------------------------------------+
|