人人爽天天爽夜夜爽qc-人人爽天天爽夜夜爽曰-人人天天爱天天做天天摸-人人天天夜夜-色网站在线-色网站在线看

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

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

相關文章

    沒有相關內容
主站蜘蛛池模板: 男女免费爽爽爽在线视频 | www.伊人久久 | 免费中文字幕 | 亚洲日本va | 国产欧美成人免费观看视频 | 日本人与亚洲人hd | 亚洲精品网址 | 国产成人三级 | 成人午夜久久精品 | 日韩欧美高清视频 | 中日韩精品视频在线观看 | 最近中文2019字幕第二页 | 激情综合亚洲欧美日韩 | 伊人网视频在线观看 | 亚洲欧美日韩另类在线一 | 日韩一区二区三区在线播放 | 播放一级黄色片 | 精品久久中文久久久 | 99成人免费视频 | 精品国语国产在线对白 | 成人精品一区二区三区 | 亚洲一级毛片免费在线观看 | 性美国xxxxx免费 | 人人人人爽 | 日本亚洲欧美国产日韩ay高清 | 日本一区二区中文字幕 | 嫩草影院懂你的影院 | 五月天久久婷婷 | 黄视频网站在线看 | 狠狠色伊人亚洲综合网站色 | 日本中文字幕一区二区 | 日日添日日摸 | 国产精品久久久久久 | 怡红院欧美 | 搞黄视频网站 | 国产高清在线精品一区二区三区 | 免费一级欧美在线观看视频片 | 日韩欧美视频一区二区三区 | 亚洲成年人影院 | 国产精品免费大片一区二区 | 国产一卡二卡三卡 |