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

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

相關文章

    沒有相關內容
主站蜘蛛池模板: 久久久久久一级毛片免费无遮挡 | 日韩久久中文字幕 | 日日夜夜精品视频 | 亚洲成在人线免费视频 | 亚洲精品一区二区三区四区手机版 | 午夜视频精品 | 欧美大尺码毛片 | 四虎影视国产精品 | 四虎国产视频 | 国产成人一区二区三区在线播放 | 欧美资源站 | 看a网站| 亚洲午夜日韩高清一区 | 91尤物国产尤物福利 | 久久精品国产只有精品2020 | 精品国产欧美一区二区三区成人 | 国产精品www视频免费看 | 精品久久久久久久久久久 | 国产成人精品一区 | 第一福利视频 | 精品久久久久久久99热 | 四虎国产成人永久精品免费 | 亚洲综合精品一二三区在线 | 综合亚洲欧美日韩一区二区 | 日本在线播放一区 | 天天做天天看夜夜爽毛片 | 久久国产99| 亚欧有色亚欧乱色视频 | 欧美性性性性性色大片 | 久久精品影院一区二区三区 | 午夜私人影院在线观看 | 成人短视频视频在线观看网站 | 美国毛片一级e片黑人片 | 久久婷婷国产一区二区三区 | 天天干天天操天天爽 | 亚洲图片一区二区 | 久久91亚洲精品久久91综合 | 一级片aaaaaa| 精品国产91久久久久 | 亚洲国产高清精品线久久 | 欧洲成人在线 |