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());
复制代码
|