expert loading succesfuly and being removed

 

im getting this in my journal:

2015.12.07 16:07:49.546    Expert scalper47 EURJPY,H1: loaded successfully
2015.12.07 16:07:49.156    Expert scalper47 EURJPY,H1: removed
2015.12.07 16:07:49.141    Expert scalper47 USDJPY,H1: loaded successfully
2015.12.07 16:07:48.751    Expert scalper47 USDJPY,H1: removed
2015.12.07 16:07:48.735    Expert scalper47 EURUSD,H1: loaded successfully
2015.12.07 16:07:48.345    Expert scalper47 EURUSD,H1: removed
2015.12.07 16:07:22.824    Expert scalper47 EURJPY,H1: loaded successfully
2015.12.07 16:07:22.434    Expert scalper47 EURJPY,H1: removed
2015.12.07 16:07:22.418    Expert scalper47 USDJPY,H1: loaded successfully
2015.12.07 16:07:22.028    Expert scalper47 USDJPY,H1: removed
2015.12.07 16:07:22.012    Expert scalper47 EURUSD,H1: loaded successfully
2015.12.07 16:07:21.622    Expert scalper47 EURUSD,H1: removed

I dont have any errors in my code. Any of you a idea what can that be? Im using the alpari demo account. I dont get that during simulations.

 
insub: I dont have any errors in my code.
  1. Just because it compiles doesn't mean you don't "have any errors"
  2. What are you returning in OnInit?
  3. Print the uninit reason in OnDeinit.
 
WHRoeder:
insub: I dont have any errors in my code.
  1. Just because it compiles doesn't mean you don't "have any errors"
  2. What are you returning in OnInit?
  3. Print the uninit reason in OnDeinit.

//+------------------------------------------------------------------+
//| Expert initialization function                                   |
//+------------------------------------------------------------------+
int OnInit()
  {
//---
   
//---
   return(INIT_SUCCEEDED);
  }
//+------------------------------------------------------------------+
//| Expert deinitialization function                                 |
//+------------------------------------------------------------------+
void OnDeinit(const int reason)
  {
  
//---
   
  }
 

I found out what it was. It was a stupid mistake of my. When the expert was running i changed something in the code a few times and compiled it. Then it removed and loaden the expert adviser in the currency windows it was running.

But thank you anyway for trying to help me.

Reason: