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

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

[原創]currentbar [金字塔]

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

     

  • 金字塔客服: 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樓的回復,你試試函數barpos效果

 

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

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


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

相關文章

    沒有相關內容
主站蜘蛛池模板: 伊人焦久影院 | 小香蕉影院 | 99久久99久久久精品齐齐鬼色 | 国产精品久久福利新婚之夜 | 成人免费高清视频 | 高清欧美日本视频免费观看 | 久久精品国产亚洲精品 | 伊人丁香狠狠色综合久久 | 两个人高清视频图片中文字幕 | 国产一级影视 | 男人与牛做爰的视频 | 亚洲福利一区二区三区 | 999国产视频 | 久草免费新视频 | 亚洲国产精品ⅴa在线观看 亚洲国产精品aa在线看 | 色综合久久亚洲国产日韩 | 水浒传删减剧情在线观看 | 日韩欧美h| 高清一级毛片一本到免费观看 | 欧美猛操 | 四虎成人免费视频 | 精品四虎 | 四虎影视成人永久在线播放 | 99这里只有精品视频 | 奇米第七色 | 国产亚洲精品久久久久久无 | 亚洲综合中文 | 国产成人综合网在线观看 | 欧美一级毛片免费看视频 | 日本一级在线播放线观看视频 | 欧美日韩亚洲精品一区 | 久9热精品视频在线观看 | 四虎在线视频观看 | 色老头老太做爰视频在线观看 | 国产大陆亚洲精品国产 | 成人a毛片在线看免费全部播放 | 久久色国产 | 老司机午夜精品视频播放 | 中文字幕日本在线观看 | 国产精品久草 | 91精品国产综合久久欧美 |