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

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

相關文章

    沒有相關內容
主站蜘蛛池模板: 午夜国产理论 | 中国女人free性hd国浯 | 黄漫视频网站 | 成人黄色在线观看视频 | 手机福利视频一区二区 | 高清欧美一区二区三区 | 大陆黄色网 | 一级做a爱片特黄在线观看 一级做a爱片就在线看 | 激情婷婷成人亚洲综合 | 在线观看国产wwwa级羞羞视频 | 日韩一区二区三区视频 | 国产一级特黄高清免费大片dvd | 亚洲成人在线免费观看 | 一区二区三区日韩免费播放 | 女黄人东京手机福利视频 | 午夜爽爽爽视频 | 我要看黄色一级片 | 国产黄色免费观看 | 国产不卡a| 亚洲午夜精品在线 | 大jjjj免费看视频 | 老色批在线播放视频网站免费 | 国产日韩精品欧美一区喷水 | china精品对白普通话 | 亚洲视频一二区 | 国产精品久久久久久久专区 | 日日夜夜影院 | 成人午夜免费视频 | 色爱区综合激情五月综合色 | 中文字幕免费高清视频 | 亚洲成人免费网址 | 波多野结衣中出在线 | 免费在线视频成人 | 中国一级做a爱片免费 | 久久99国产亚洲高清观看首页 | 看全色黄大色黄大片毛片 | 性a视频 | 国产成人免费永久播放视频平台 | 九九视频热 | 免费污污视频在线观看 | 视频三区精品中文字幕 |