Forum

OverExpose Currency

Context: I am trading on 28 different currency pairs I am trying to create a function where you cant buy or sell two of the same currency at the same time. E.g. buy eur/usd and buy eur/jpy not possible because eur is overexposed. Does the code work? void OverExposureCurrencyPairs(){ string

Does my EA require a magic number?

If I only have one EA run accross 28 diferent pair on the daily chart only? I have checking of symbol aleardy ,do I still need to implement a magic number

execution mode

When looking at ENUM_SYMBOL_TRADE_EXECUTION there 4 different types: YMBOL_TRADE_EXECUTION_REQUEST Execution by request SYMBOL_TRADE_EXECUTION_INSTANT Instant execution SYMBOL_TRADE_EXECUTION_MARKET Market execution SYMBOL_TRADE_EXECUTION_EXCHANGE Exchange execution Just wondering what the