大伊人青草狠狠久久-大伊香蕉精品视频在线-大伊香蕉精品一区视频在线-大伊香蕉在线精品不卡视频-大伊香蕉在线精品视频75-大伊香蕉在线精品视频人碰人

您現在的位置:程序化交易>> 期貨公式>> (MC)multicharts>> MC知識>>正文內容

entryprice [MultiCharts MC]

  • 咨詢內容:

    講師   您好

     

    我想請問關於entryprice的問題, 如果我的掛單都使用停止單, 那麼在跳空時會發生掛單價和實際成交價不同的情況, 因此

    我想要在code里面去print我的實際成交價是多少, 因此我使用entryprice, 但是如果我有兩筆以上的未平倉, 我想要知道最近一次進場的進場價格

    而不是第一筆進場的價格, 請問我該怎麼寫?

     

    謝謝


     

  • MC技術部:

    僅能自行紀錄了!它的功能僅能抓到第一筆未平倉的值..


    第2篇

     

  • MC技術部:

    MC7 的指令才能支援多次進場的取用,若你有使用MC7 ,HELP中有說明

     

     

    PosTradeEntryPrice

     

    Returns an absolute numerical value, indicating the execution price of trade entry order.

     

    Usage

    PosTradeEntryPrice(PosAgo,TradeNumber)

    Where: PosAgo - a numerical expression, specifying the position:

                  0 - open position;

                  1 - one position back (the last position closed);

                  2 - two positions back, etc.

                 TradeNumber - a numerical expression, specifying the number of trade (zero-based).


     

    Notes

    This function can only be used in signals.

    To retrieve the total number of trades in specified position use PosTradeCount

     

    Example

    PosTradeEntryPrice(0,1) will return a value of 100.2 for the second trade of the open position, if this trade was opened by the order filled at 100.2.

     

    編輯文章 by 客服一號 2011-12-16 14:18:32

     

  • MC客服:

    MC7 的指令才能支援多次進場的取用,若你有使用MC7 ,HELP中有說明

     

     

    PosTradeEntryPrice

     

    Returns an absolute numerical value, indicating the execution price of trade entry order.

     

    Usage

    PosTradeEntryPrice(PosAgo,TradeNumber)

    Where: PosAgo - a numerical expression, specifying the position:

                  0 - open position;

                  1 - one position back (the last position closed);

                  2 - two positions back, etc.

                 TradeNumber - a numerical expression, specifying the number of trade (zero-based).


     

    Notes

    This function can only be used in signals.

    To retrieve the total number of trades in specified position use PosTradeCount

     

    Example

    PosTradeEntryPrice(0,1) will return a value of 100.2 for the second trade of the open position, if this trade was opened by the order filled at 100.2.

     

    編輯文章 by 客服一號 2011-12-16 14:18:32

【字體: 】【打印文章】【查看評論

相關文章

    沒有相關內容
主站蜘蛛池模板: 奇米影视7777久久精品 | 手机看片日韩日韩韩 | 免费一级欧美大片在线观看 | 天天射网 | 亚洲欧美日本另类 | 99热热久久这里只有精品166 | 久久三级视频 | 国产在线播放一区 | 毛片毛片毛片毛片毛片 | 午夜影院一区二区三区 | 狠狠色狠狠色综合久久第一次 | 欧美亚洲精品一区二三 | 国产网址在线观看 | 国产亚洲人成a在线v网站 | 99资源| 玖玖福利| 亚洲精品一区二区久久 | 五月婷综合 | 中文字幕在线精品视频万部 | 五月精品| 国产激情影院 | 国产成人永久免费视 | 欧美国产精品日韩在线 | 久在草影院 | 天天舔天天插 | 天天曰天天干天天操 | 激情综合网五月婷婷 | 手机看片日韩国产 | sihu影院永久在线影院 | 成人国产三级在线播放 | 免费国产a国产片高清不卡 免费国产阿v视频在线观看 | 网站一级片 | 中国jizz18免费 | 青青青草视频在线 | 丁香狠狠 | 久久在线观看免费视频 | 毛片不卡一区二区三区 | 视频福利网 | 3d动漫精品成人一区二区三 | 日韩毛片在线 | 亚洲综合伊人色一区 |