support 发表于 2023-3-25 14:02:34

AccountStopoutMode( )账户强制平仓模式【账户信息篇-MQL4函数】

int AccountStopoutMode( )
对于强制平仓的计算模式。

计算模式值如下:
0 - 计算保证金和净值之间的百分比;
1 - 比较自由保证金水平和绝对值。

示例:

int level=AccountStopoutLevel();
if(AccountStopoutMode()==0)
   Print("强制平仓= ",水平, "%");
else
   Print("<span style='display: inline !important; float: none; background-color: rgb(247, 247, 247); color: rgb(68, 68, 68); font-family: Tahoma,Helvetica,"SimSun",sans-serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; overflow-wrap: break-word; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;'>强制平仓</span>= ", 水平, " ", AccountCurrency());

luck88 发表于 2023-7-10 10:40:19

:o

木兮 发表于 2023-9-2 10:15:34

:P

yitang 发表于 2023-12-4 10:16:21

:loveliness:
页: [1]
查看完整版本: AccountStopoutMode( )账户强制平仓模式【账户信息篇-MQL4函数】