大伊人青草狠狠久久-大伊香蕉精品视频在线-大伊香蕉精品一区视频在线-大伊香蕉在线精品不卡视频-大伊香蕉在线精品视频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

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

相關文章

    沒有相關內容
主站蜘蛛池模板: 久草视频播放 | 男人天堂999| 中国大陆高清aⅴ毛片 | 在线播放波多野结衣 | 精品免费在线视频 | 国产亚洲精品久久麻豆 | 五月婷中文| 国产偷国产偷亚洲高清在线 | 久久精品日本免费线 | 四虎永久网址影院 | 久cao在线观看视频 久re这里只有精品最新地址 | 精品国产国产综合精品 | 狠狠色噜噜狠狠狠97影音先锋 | 日本爱爱视频网站 | 亚洲国产精品成人午夜在线观看 | 亚洲精品天堂自在久久77 | 国产欧美精品国产国产专区 | 最新亚洲精品国自产在线 | 在线激情网址 | 久草久热 | 亚洲欧美日韩国产综合专区 | 亚洲视频一二三 | 亚洲伊人久久综合影院2021 | 中文字幕在线视频一区 | 网站久久 | 亚洲欧美日本在线观看 | 国产97色在线 | 亚洲 | 亚洲人成激情在线播放 | 日本在线小视频 | 久久精品亚洲 | 国产五月色综合 | 欧美性生交xxxxx久久久 | 日本高清一级片 | 夜夜穞狠狠穞 | 中文字幕一区婷婷久久 | 日韩高清在线日韩大片观看网址 | 免费中文字幕在线 | 久久国产免费福利永久 | 国产在线观看a | 在线综合 亚洲 欧美中文字幕 | 日本中文字幕永久在线 |