Download MetaTrader 5

Indicators appear to be baked into EA

To add comments, please log in or register
Alex
80
Alex  

Hi,

 

I have an EA which I added a few indicators to (CiFractals, CiAO, CiAC) and now I would like to remove some of them. I have commented out the code that references the indicators, but it appears that no matter what I try all of the indicators are still there. I've even tried going back to the most basic EA structure but all of the indicators still appear. Below is a copy of the basic EA skeleton

#property version   "1.00"


int OnInit() {

  ulong magic_id = 2011;


  return INIT_SUCCEEDED;

}


void OnDeinit(const int reason) {

}


void OnTick(void) {

}


void  OnTradeTransaction(

  const MqlTradeTransaction& trans,

  const MqlTradeRequest& request,

  const MqlTradeResult& result

) {

}


void OnTimer(void) {

}


Alex
80
Alex  
If I change the name of the EA and re-compile it works as expected. Is there something I'm missing?
Mohammad Soubra
27414
Mohammad Soubra  
Alex:
If I change the name of the EA and re-compile it works as expected. Is there something I'm missing?
Did u receive any error messages????
To add comments, please log in or register