人人爽天天爽夜夜爽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

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

相關文章

    沒有相關內容
主站蜘蛛池模板: 亚洲乱码尤物193yw在线播放 | 国产国语一级a毛片高清视频 | 激情综合网五月 | 色欧美亚洲| 国产成人精品免费2021 | 久久久久亚洲视频 | 日本中文字幕视频 | 亚洲综合色秘密影院秘密影院 | 久久精品国产波多野结衣 | 成人夜夜| 最近中文字幕完整国语 | 免费在线观看a | 六月丁香在线播放 | 国产91亚洲精品 | 一区二区三区精品视频 | 亚洲综合一区二区三区四区 | 亚洲高清在线视频 | 一区二区三区免费在线观看 | 小明永久视频免费播放 | 99精品全国免费观看视频.. | 亚洲人成网址 | 日韩在线二区全免费 | 精品综合久久久久久8888 | 在线观看成年人免费视频 | 亚洲综合涩 | 在线免费观看亚洲视频 | 日本三级黄视频 | 亚洲国产高清在线 | 黄色青青草 | 免费人成在线观看视频播放 | 日韩精品毛片 | 亚洲欧美第一 | 国产精品日日爱 | 国产成人一区二区 | 狠狠色狠狠干 | 亚洲网视频 | 永久免费的啪啪免费的网址 | 在线精品亚洲欧洲第一页 | 色综合天天综合中文网 | 欧美大成色www永久网站婷 | 日韩拍拍拍 |