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

帝那波利趨勢代碼 [金字塔]

  • 咨詢內容:

     

    {UP}
    C>=Ref(Mov(C,3,S),-3) AND
    (Mov( CLOSE, 8.3896, E) - Mov( CLOSE, 17.5185, E))>=
    (PREV+(0.199*((Mov( CLOSE, 8.3896, E) - Mov( CLOSE, 17.5185, E))-PREV))) AND
    (Mov( CLOSE, 8.3896, E) - Mov( CLOSE, 17.5185, E))>=
    Ref((Mov( CLOSE, 8.3896, E) - Mov( CLOSE, 17.5185, E)),-1)

     

    {DOWN};
    C<=Ref(Mov(C,3,S),-3) AND
    (Mov( CLOSE, 8.3896, E) - Mov( CLOSE, 17.5185, E))<=
    (PREV+(0.199*((Mov( CLOSE, 8.3896, E) - Mov( CLOSE, 17.5185, E))-PREV))) AND
    (Mov( CLOSE, 8.3896, E) - Mov( CLOSE, 17.5185, E))<=
    Ref((Mov( CLOSE, 8.3896, E) - Mov( CLOSE, 17.5185, E)),-1){jimt};

     

  • 金字塔客服: 樓主的MOV函數和PREV和E都是什么意思,看不懂 [此貼子已經被作者于2011-3-7 16:03:05編輯過]

     

  • 用戶回復:

    MOV就是移動平均線,最后是E的話是EMA的意思,是S的話是SMA的意思,這個是確定的

     

    PREV是類似公式重復計算前一根的意思

     

     

    [此貼子已經被作者于2011-3-7 16:53:19編輯過]

     

  • 網友回復: Metastock的語法

     

  • 網友回復:

    PREV
    The PREV constant allows you to create self-referencing formulas.  A self referencing formula is one that is able to reference the "previous" period's value of itself.
    For example, the following is an example of a self referencing formula:
    ((H+L+C)/3) + PREV
    This simple formula divides the high, low, and closing prices by 3 and then adds this value to yesterday's value of the ((H+L+C)/3).
    The calculation of the popular indicator On Balance Volume illustrates the use of the PREV function.

    (if(c>ref(c,-1),1,-1)*volume)+PREV
    Although On Balance Volume can be calculated without the use of the PREV function, an exponential moving average cannot (other than using the mov() function).  The following formula shows how a 18% exponential moving average (approximately 10-periods) is calculated using the PREV function.
    (close*0.18)+(PREV*0.82)


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

相關文章

    沒有相關內容
主站蜘蛛池模板: 成人爽爽激情在线观看| 毛片a级毛片免费观看免下载 | 一本久久a久久精品亚洲| 日韩在线观看中文字幕| 亚洲免费在线看| 正在播放高级会所丰满女技师| 免费精品久久久久久中文字幕| 老师你的兔子好软水好多的车视频| 国产成人啪精品午夜在线播放| 香蕉视频污网站| 国产美女一级做受在线观看| av无码精品一区二区三区四区| 小小影视日本动漫观看免费| 中文天堂在线观看| 日本三级吃奶乳视频在线播放| 久久综久久美利坚合众国| 欧美三级在线看中文字幕| 亚洲日韩一区二区三区| 波多野结无码高清中文| 亚洲视频在线观看一区| 看黄网站在线看| 北条麻妃久久99精品| 美女扒开内裤羞羞网站| 园田美樱中文字幕在线看一区| 草草久久久无码国产专区| 国产伦子系列视频6| 韩国一级毛片在线观看| 国产国产成年年人免费看片| 麻豆影视视频高清在线观看| 国产成人精品免费视频大全可播放的| 婷婷色在线播放| 国产欧美视频高清va在线观看| h视频在线观看免费观看| 国产精品欧美福利久久| 91亚洲精品第一综合不卡播放| 国精产品一品二品国精品69xx | 4480新视觉yy理论片| 国产麻豆剧果冻传媒一区| 97色伦图片97综合影院| 国语做受对白xxxxx在线| 99久久99久久精品国产片果冻 |