MODE_TICKVALUE错误! - 页 4

 
superbem:

问题是,经纪人不能配置所有,软件留下了不向客户显示某些数据的选项......

我不知道为什么这里有些人认为这个软件是完美的。

它远非完美...但这并不能改变MODE_TICKVALUE在经纪商那边是可以配置的这一事实。
 
在metatrader的下一个修正版本中,MODE_TICKVALUE不应该在经纪人那边配置。
 
我相信在我们说话的时候,MetaQuotes正在召开关于这个问题的董事会会议。不要抱太大希望。
 

superbem:

marketinfo MODE_TICKVALUE没有为金属、指数和cfd提供存款货币的价值。只为外汇工作。

double PointValuePerLot() { // Value in account currency of a Point of Symbol.
    /* In tester I had a sale: open=1.35883 close=1.35736 (0.00147)
     * gain$=97.32/6.62 lots/147 points=$0.10/point or $1.00/pip.
     * IBFX demo/mini       EURUSD TICKVALUE=0.1 MAXLOT=50 LOTSIZE=10,000
     * IBFX demo/standard   EURUSD TICKVALUE=1.0 MAXLOT=50 LOTSIZE=100,000
     *                                  $1.00/point or $10.00/pip.
     *
     * https://forum.mql4.com/33975 CB: MODE_TICKSIZE will usually return the
     * same value as MODE_POINT (or Point for the current symbol), however, an
     * example of where to use MODE_TICKSIZE would be as part of a ratio with
     * MODE_TICKVALUE when performing money management calculations which need
     * to take account of the pair and the account currency. The reason I use
     * this ratio is that although TV and TS may constantly be returned as
     * something like 7.00 and 0.00001 respectively, I've seen this
     * (intermittently) change to 14.00 and 0.00002 respectively (just example
     * tick values to illustrate). */
    return(  MarketInfo(Symbol(), MODE_TICKVALUE)
           / MarketInfo(Symbol(), MODE_TICKSIZE) ); // Not Point.
}