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

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

相關文章

    沒有相關內容
主站蜘蛛池模板: 中文亚洲字幕 | 深夜影院在线观看 | 国精品一区二区三区 | 伊在人亚洲香蕉精品播放 | 国内自拍网红在线综合 | 久久久精品波多野结衣 | 欧美一级高清毛片aaa | 99久久做夜夜爱天天做精品 | 国产精品夜夜春夜夜爽久久 | 日日操操操 | 欧美一区二区在线视频 | 欧美深夜影院 | 69精品久久久久 | 精品成人免费播放国产片 | 澳门成人免费永久视频 | 伊人精品 | 99热这里只有精品首页精品 | 免费精品精品国产欧美在线 | 香蕉人精品视频多人免费永久视频 | 亚洲另在线日韩综合色 | 日韩精品一区二区三区乱码 | 夜夜春夜夜爽久久 | 欧美老妇免费做爰视频 | 国产毛片哪里有 | 国内精品久久影视 | 国产福利午夜自产拍视频在线 | 农村妇女高清毛片一级 | 国产精品久久网 | 欧美一区二区在线观看 | 国产成人免费高清在线观看 | 高清不卡一区二区 | 国产一区二区三区在线免费观看 | 国产精品视频福利 | 国产精品资源 | 日本精品高清一区二区不卡 | a级片网址 | 日本中文一二区有码在线观看 | 越猛烈欧美xx00动态图免费 | 日韩欧美中文在线 | 91在线免费公开视频 | 中国一级毛片视频 |