Why is it executing the function despite not calling it

 
It's executing the usemovetobreakeven() despite the code.

Here are the photos
 

Don't post pictures of code, they are too hard to read.

Please edit your (original) post and use the CODE button (Alt-S)! (For large amounts of code, attach it.)
          General rules and best pratices of the Forum. - General - MQL5 programming forum 2019.05.06
          Messages Editor

 
William Roeder:

Don't post pictures of code, they are too hard to read.

Please edit your (original) post and use the CODE button (Alt-S)! (For large amounts of code, attach it.)
          General rules and best pratices of the Forum. - General - MQL5 programming forum 2019.05.06
          Messages Editor

   //---CHECK MOVE TO BREAKEVEN FUNCTION---//  
   if (useMoveToBreakeven == true) 
   {
   breakEvenStopLoss();
   }  
   if (useMoveToBreakeven == false) 
   {
   Comment("\n","\n","\n","\n","\n","\n","Breakeven function is not activated");
   } 
   

 extern bool useMoveToBreakeven= false;


int OnInit()
it's executing the breakEvenStopLoss(), despite the value of the bool is false
 
Renz Carillo:

it's executing the breakEvenStopLoss(), despite the value of the bool is false

Then obviously the bool is set to true.

Check the input window on the chart, not the code.

 
Keith Watford:

Then obviously the bool is set to true.

Check the input window on the chart, not the code.

Thanks, i do get it now, it's not automaticaly upfating the input values despite changign the source code.