32 lines
1 KiB
MQL5
32 lines
1 KiB
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 "IndicatorConfig.mqh"
| |||
#include "SymbolConfig.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>* symbolConfigs;
| |||
};
| |||
//+------------------------------------------------------------------+
|