您現在的位置:程序化交易>> 期貨公式>> (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.youjizz.com国产| 亚洲乱码无限2021芒果| 蜜桃成熟时仙子| 国产超碰人人爽人人做人人添| 久久96国产精品久久久| 欧美午夜电影在线观看| 免费看成人aa片无码视频吃奶| 香蕉久久成人网| 国产精品网站在线观看免费传媒| 一级片在线免费看| 日韩乱码人妻无码中文字幕久久| 亚洲欧洲日韩国产| 精品乱码久久久久久中文字幕| 国产女人水真多18毛片18精品| 777爽死你无码免费看一二区| 性一交一乱一伧老太| 久久精品一区二区三区av| 欧美日韩精品一区二区三区在线 | 在线观看视频免费123| 中文字幕日韩一区二区不卡| 日韩精品欧美视频| 亚洲欧洲日产国码二区首页| 福利视频第一页| 国产一区二区三区在线观看影院 | 欧美成人性色区| 免费人成在线观看网站品爱网日本 | 精品国产一区二区三区无码| 国产亚洲一区二区三区在线 | 亚洲狠狠狠一区二区三区| 精品久久久无码人妻中文字幕豆芽| 国产乱人伦真实精品视频| 精品一区二区视频在线观看| 国产精品泄火熟女| 99久久国产免费福利| 好大灬好硬灬好爽灬| 中文在线日本免费永久18近| 日韩一级黄色影片| 亚洲av无码专区国产乱码不卡| 欧美日韩一区二区不卡三区| 亚洲色大成网站www永久| 精品一区二区三区在线观看视频|