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

您現(xiàn)在的位置:程序化交易>> 期貨公式>> 金字塔等>> 金字塔知識>>正文內容

[原創(chuàng)]currentbar [金字塔]

  • 咨詢內容: 請問Easylanguage里的 CurrentBar 保留變量 在金字塔里對應的是什么函數(shù)或用法?

     

  • 金字塔客服: CurrentBar 請解釋下

     

  • 用戶回復: 看看是不是BARPOS

     

  • 網友回復: 就是easylanguage寫的代碼,想轉成金字塔。CurrentBar的easylanguage解釋是:

    Returns the number of the bar currently being evaluated.

    Each bar on a chart (after the number of bars specified by the Maximum number of bars referenced by a study, known as MaxBarsBack) is assigned a number, which is incremented by 1 with each successive bar. For example, if your MaxBarsBack is set to 10, the 11th bar is CurrentBar number 1, the 12th bar is CurrentBar number 2, and so on.

    Remarks

    CurrentBar can only be used to return the number of the current bar, for example, you cannot use:

    CurrentBar[n]

    ... to obtain the bar number of the bar n bars ago. However, you can obtain the number of the bar n bars ago (for example, 5) by using:

    CurrentBar - 5

    Also, the CurrentBar reserved word is the same as the user function BarNumber. The only difference is that you can use the BarNumber function to reference past bars:

    BarNumber[5]

    Examples

    You can use CurrentBar to determine how long ago a particular condition occurred:

    If Condition1 then
     Value1 = CurrentBar; 
    If CurrentBar > Value1 then
     Value2 = CurrentBar - Value1;

    Value2 would hold the number of bars ago Condition1 occurred.

     

  • 網友回復:

    看3樓的回復,你試試函數(shù)barpos效果

 

有思路,想編寫各種指標公式,程序化交易模型,選股公式,預警公式的朋友

可聯(lián)系技術人員 QQ: 511411198  點擊這里給我發(fā)消息進行 有償 編寫!不貴!點擊查看價格!


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

相關文章

    沒有相關內容
主站蜘蛛池模板: 日日骑夜夜操 | 奇米线在人线免费视频 | 国产一区二区三区四区在线观看 | 色综色天天综合网 | 99精品这里只有精品高清视频 | 国产精品久久久久乳精品爆 | 黄色片在线观看网站 | 九九热在线播放 | 综合伊人久久 | 中文字幕在线播放一区 | 久久精品国1国二国三 | 米奇777第四久久久99 | 中国男女全黄大片一级 | 天天草夜夜骑 | 国产亚洲午夜精品 | 国产 欧美 在线 | 久久大香伊蕉在人线观看热2 | 麻豆国产精品高中生视频 | 日日干日日干 | 四虎影院国产 | 青青久草在线视频 | 国产99在线 | 亚洲 | 天天操夜夜草 | 国产精品视频公开费视频 | 欧美成视频一theporn | 亚洲视频一区二区在线观看 | 欧美日本在线视频 | 亚洲 欧美精品 | 国产精品亚洲专一区二区三区 | 色综合久久综合网欧美综合网 | 人人狠狠综合久久亚洲婷婷 | jizz中国zz女女18 | 九九操| 天天色天天操综合网 | 亚洲综合色网站 | 18视频在线观看 | 免费看欧美理论片在线 | 中文字幕精品一区二区三区视频 | 国产日韩不卡免费精品视频 | 五月综合激情视频在线观看 | 日韩免费一级片 |