大伊人青草狠狠久久-大伊香蕉精品视频在线-大伊香蕉精品一区视频在线-大伊香蕉在线精品不卡视频-大伊香蕉在线精品视频75-大伊香蕉在线精品视频人碰人

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

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

相關文章

    沒有相關內容
主站蜘蛛池模板: 日韩社区| 久久久精品2018免费观看 | 高清在线一区二区三区亚洲综合 | 色99色| 国产欧美一区二区久久 | 亚洲国产美女精品久久 | 青青久久国产成人免费网站 | 亚洲日产2021三区在线 | 四虎影院在线免费播放 | 精品国产看高清国产毛片 | 国产精品视频免费在线观看 | 91福利视频免费观看 | 色综合天天综合中文网 | 天天干天天夜 | 久久福利小视频 | 精品国产一区二区三区四区不 | 午夜探花 | 综合另类小说色区色噜噜 | 日韩精品一区二区三区高清 | 男人的天堂久久精品激情 | 99热播在线观看 | 免费性视频 | 日本免费不卡一区 | 国产精品免费一区二区三区四区 | 96精彩视频在线观看 | www.日日操 | 99国产欧美久久精品 | 日韩毛片网 | 中文字幕一区二区三区永久 | 波多野结衣精品一区二区三区 | 久久一日本道色综合久久m 久久一色本道亚洲 | 杨幂国产精品福利在线观看 | 国产精品免费久久久免费 | 亚洲爱爱天堂 | 亚洲成在人线免费视频 | 九九热精品 | 一级成人a免费视频 | 久久99精品国产免费观看 | 欧美91 | 日韩欧美国产偷亚洲清高 | 欧美成人免费一区在线播放 |