Download MetaTrader 5

Difference between !OrderCalcMargin and OrderCalcMargin

To add comments, please log in or register
amkey
18
amkey  

Can anyone tell me what is the difference between !OrderCalcMargin and OrderCalcMargin? What is the purpose of the exclamation market infront?

Cheers 

Documentation on MQL5: Trade Functions / OrderCalcMargin
Documentation on MQL5: Trade Functions / OrderCalcMargin
  • www.mql5.com
Trade Functions / OrderCalcMargin - Documentation on MQL5
phi nuts
2184
phi nuts  
amkey:

Can anyone tell me what is the difference between !OrderCalcMargin and OrderCalcMargin? What is the purpose of the exclamation market infront?

Cheers 

The exclamation marker is a logical negation NOT for boolean operation (click that). In simple word, the exclamation marker mean boolean false.

bool Global_Warming == true;

if (! Global_Warming ) //--- read : if Global_Warming equal false ==>> if (Global_Warming == false)
   {
   Print ("Global warming is not true");
   }

So question to you, " What is the return type of OrderCalcMargin

To add comments, please log in or register