int AccountStopoutMode( )
Returns the calculation mode for the Stop Out level. Calculation mode can
take the following values:
ストップ アウト レベルの計算モードを返します。計算モードは次の値をとることができます。
0 - calculation of percentage ratio between margin and equity;
0 - 証拠金から純資産までを百分率で計算。
1 - comparison of the free margin level to the absolute value.
1 - 余剰証拠金レベルを絶対値として比較します。
Sample:
サンプル:
int level=AccountStopoutLevel();
if(AccountStopoutMode()==0)
Print("StopOut level = ", level, "%");
else
Print("StopOut level = ", level, " ", AccountCurrency());
|