Download MetaTrader 5

What does it mean by , bool x=(a,b); ?

To add comments, please log in or register
Tsz Ho Chow
264
Tsz Ho Chow  

What does it mean by , bool x=(a,b); ? 

I am reading code . and i dont understand what's this about . a=true and b=false ? 

   if(CompareDoubles(sl,OrderStopLoss()) && 
      CompareDoubles(tp,OrderTakeProfit()))return true;

Thanks for answering 

nicholishen
1087
nicholishen  
Tsz Ho Chow:

What does it mean by , bool x=(a,b); ? 

I am reading code . and i dont understand what's this about . a=true and b=false ? 

Thanks for answering 

Compare Doubles implicitly returns true if the numbers are the same. How you should read this is if(true && true) return true
To add comments, please log in or register