大伊人青草狠狠久久-大伊香蕉精品视频在线-大伊香蕉精品一区视频在线-大伊香蕉在线精品不卡视频-大伊香蕉在线精品视频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  點擊這里給我發消息進行 有償 編寫!不貴!點擊查看價格!


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

相關文章

    沒有相關內容
主站蜘蛛池模板: 久久尹人香蕉国产免费天天 | 青青青国产在线手机免费观看 | 欧美亚洲国产人成aaa | 嫩草嫩草55av| 真实国产乱子伦精品免费 | 成人欧美一区在线视频在线观看 | 青青国产成人久久激情911 | 国产欧美一区二区三区在线看 | 亚洲美女免费视频 | 色日本在线| 国产美女白丝袜精品_a不卡 | 久久国产精品国产自线拍免费 | 亚洲欧美综合一区 | 丁香婷婷影音先锋5566 | 青青热在线观看视频精品 | 国产精品手机网站 | 亚洲激情视频在线播放 | 亚洲欧美日本国产综合在线 | 久久久久国产一级毛片高清片 | 久久手机在线视频 | 久久9966e这里只有精品 | 日韩在线一区二区三区免费视频 | 成人小视频在线观看免费 | 国产成人综合在线视频 | 国产欧美一区二区三区免费看 | 久久久在线 | 免费久久精品 | 精品成人一区二区三区免费视频 | 久久久久久在线 | 亚洲第一毛片 | 欧美综合图区亚欧综合图区 | 哪个网站能看毛片 | 一级毛片一级毛片一级毛片 | 在线看国产精品 | 99在线精品视频免费观里 | 日日摸夜夜添夜夜添一区二区 | 一极毛片 | 99久久亚洲综合精品网站 | 久久久精品在观看999 | 一级特黄aa大片一又好看 | 午夜毛片 |