TradeATC class - page 2

 

The Sample EA is updated.

These 3 files,
ExpertMultiSymbol.mqh
ExpertTradeATC.mqh
TradeATC_v103.mqh
are combined now in 1 file,
ExpertMultiSymbolATC2011.mqh.

Some files still using m_symbol.LotsMax() are modified to m_symbol.LotsLimit().
MoneyFixedLotATC.mqh
MoneyFixedRiskATC.mqh
MoneySizeOptimizedATC.mqh

Now using OnChartEvent() instead OnTimer(), we need iSpy.mq5 in MQL5\Indicators folder.


 
The error found in automatic test.
Invalid pointer access in 'ExpertMultiSymbolATC2011.mqh' (2064,8)
OnChartEvent critical error

Fixed one below, or just add below before the line 2064 if you already downloaded.

   if(m_symbol==NULL) if((m_symbol=new CSymbolInfo)==NULL) return(false);



Reason: