Forum

Problem on load EA from config file when running portable mode

I'm trying to load a custom EA when running on portable mode, but I didn't manage to even load the EA in the chart. I managed to login, open the chart but for some reason even the examples EA like ExpertMACD.ex5 doesn't work. Anyone has a valid config file example or know how to solve the issue

Right way to calculate Trade Size

double margin = AccountInfoDouble ( ACCOUNT_BALANCE ); double tickValue = SymbolInfoDouble (pSymbol, SYMBOL_TRADE_TICK_VALUE ); double tradeSize = margin / tickValue; Initial money: 100,000 SYMBOL_TRADE_TICK_VALUE = 1 SYMBOL_TRADE_TICK_SIZE = 0,00001 Ask Price = 1.11225 Running the code above I'll

Why my optimization settings are hidden?

Could you explain why I could not optimize my indicator or EA