您現在的位置:程序化交易>> 期貨公式>> (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

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

相關文章

    沒有相關內容
主站蜘蛛池模板: 国产嫩草影院在线观看| 小时代1免费观看完整版| 亚洲黄网在线观看| 香蕉久久夜色精品升级完成| 在线观看亚洲精品国产| 中文字幕无线码免费人妻| 欧美人与动zozo| 催眠美丽人妇系列| 色综合蜜桃视频在线观看| 国产精品国产三级国产在线观看| 一区二区福利视频| 日本在线视频网址| 亚洲免费在线观看视频| 特级毛片a级毛片免费播放| 国产999在线观看| 狠狠色噜噜狠狠狠狠69| 国内揄拍国内精品| 一区二区电影网| 无码人妻一区二区三区av| 亚洲AV无码乱码在线观看富二代| 污污视频免费观看网站| 加勒比一本大道香蕉在线视频| 青青青国产免费线在| 国产精品久久久久久影视| 99精品视频在线观看免费| 成人精品免费视频大全app| 久久精品国产清自在天天线| 欧美日韩色黄大片在线视频| 免费国产成人高清视频网站| 色www视频永久免费男的天堂| 国产成人无码精品一区在线观看 | 黄色毛片免费网站| 国产美女a做受大片观看| www.com日本| 成全视频在线观看免费看| 久久成人福利视频| 樱花视频入口在线观看| 亚洲欧美国产精品| 爱我久久国产精品| 免费特级黄毛片| 美女内射无套日韩免费播放|