人人爽天天爽夜夜爽qc-人人爽天天爽夜夜爽曰-人人天天爱天天做天天摸-人人天天夜夜-色网站在线-色网站在线看

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

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

  • 咨詢內(nèi)容: 請(qǐng)問Easylanguage里的 CurrentBar 保留變量 在金字塔里對(duì)應(yīng)的是什么函數(shù)或用法?

     

  • 金字塔客服: CurrentBar 請(qǐng)解釋下

     

  • 用戶回復(fù): 看看是不是BARPOS

     

  • 網(wǎng)友回復(fù): 就是easylanguage寫的代碼,想轉(zhuǎn)成金字塔。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.

     

  • 網(wǎng)友回復(fù):

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

 

有思路,想編寫各種指標(biāo)公式,程序化交易模型,選股公式,預(yù)警公式的朋友

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


【字體: 】【打印文章】【查看評(píng)論

相關(guān)文章

    沒有相關(guān)內(nèi)容
主站蜘蛛池模板: 美女h片 | 免费观看毛片视频 | 日韩一区二区三区在线视频 | 日本国产亚洲 | xxxx成年视频免费 | 日韩美aaa特级毛片 日韩毛片免费在线观看 | 久久久久国产一级毛片高清板 | 韩国午夜理伦三级在线观看仙踪林 | 日本欧美一区二区三区不卡视频 | 人人爽天天碰天天躁夜夜躁 | 狠狠综合久久久久综合 | 天天躁狠狠躁夜夜躁 | 日本不卡二区 | 亚洲三级黄 | 波多野结衣在线中文字幕 | 婷婷人人爽人人做人人添 | 337p色噜噜人体大胆欧美 | 精品国产亚洲一区二区在线3d | 国产日韩欧美中文 | 特级a毛片 | 香港三级日本三级三级人妇99 | 欧美亚洲国产精品 | 日本三级香港三级人妇 m | 日韩一区视频在线 | 手机看片a永久免费看大片 手机看片91精品一区 | 青青草国产免费一区二区 | 亚洲精品欧美精品日韩精品 | 黑丝足| 精品一区久久 | 欧美一a一片一级一片 | 黄色小视频在线免费观看 | 中文字幕1区2区 | 亚洲欧美日韩中字综合 | 一级黄色免费看 | 欧美日韩在线一本卡 | 成人精品亚洲 | 嫩草在线视频www免费观看 | 日本人乱人乱亲乱色视频观看 | 欧美xxxxxxx人妖极品 | 午夜小福利 | 国产中日韩一区二区三区 |