您現(xiàn)在的位置:程序化交易>> 期貨公式>> 文華財經(jīng)>> 文華財經(jīng)知識>>正文內(nèi)容

ATR荊輪指標 [文華財經(jīng)]

:="" none;="" font-weight:="" 400;="" color:="" rgb(51,51,51);="" font-style:="" text-align:="" justify;="" orphans:="" 2;="" widows:="" letter-spacing:="" background-color:="" rgb(238,238,238);="" text-indent:="" font-variant-ligatures:="" font-variant-caps:="" -webkit-text-stroke-width:="" text-decoration-style:="" initial;="" text-decoration-color:="" initial'="" />:="" none;="" font-weight:="" 400;="" color:="" rgb(51,51,51);="" font-style:="" text-align:="" justify;="" orphans:="" 2;="" widows:="" letter-spacing:="" background-color:="" rgb(238,238,238);="" text-indent:="" font-variant-ligatures:="" font-variant-caps:="" -webkit-text-stroke-width:="" text-decoration-style:="" initial;="" text-decoration-color:="" initial'="" />  TR := MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));:="" none;="" font-weight:="" 400;="" color:="" rgb(51,51,51);="" font-style:="" text-align:="" justify;="" orphans:="" 2;="" widows:="" letter-spacing:="" background-color:="" rgb(238,238,238);="" text-indent:="" font-variant-ligatures:="" font-variant-caps:="" -webkit-text-stroke-width:="" text-decoration-style:="" initial;="" text-decoration-color:="" initial'="" />  ATR := MA(TR,N);:="" none;="" font-weight:="" 400;="" color:="" rgb(51,51,51);="" font-style:="" text-align:="" justify;="" orphans:="" 2;="" widows:="" letter-spacing:="" background-color:="" rgb(238,238,238);="" text-indent:="" font-variant-ligatures:="" font-variant-caps:="" -webkit-text-stroke-width:="" text-decoration-style:="" initial;="" text-decoration-color:="" initial'="" />:="" none;="" font-weight:="" 400;="" color:="" rgb(51,51,51);="" font-style:="" text-align:="" justify;="" orphans:="" 2;="" widows:="" letter-spacing:="" background-color:="" rgb(238,238,238);="" text-indent:="" font-variant-ligatures:="" font-variant-caps:="" -webkit-text-stroke-width:="" text-decoration-style:="" initial;="" text-decoration-color:="" initial'="" />  T:=BARSLAST(STARTDATE=DATE AND STARTTIME=TIME);:="" none;="" font-weight:="" 400;="" color:="" rgb(51,51,51);="" font-style:="" text-align:="" justify;="" orphans:="" 2;="" widows:="" letter-spacing:="" background-color:="" rgb(238,238,238);="" text-indent:="" font-variant-ligatures:="" font-variant-caps:="" -webkit-text-stroke-width:="" text-decoration-style:="" initial;="" text-decoration-color:="" initial'="" />  m1:=if(t<m,t+1,m);:="" none;="" font-weight:="" 400;="" color:="" rgb(51,51,51);="" font-style:="" text-align:="" justify;="" orphans:="" 2;="" widows:="" letter-spacing:="" background-color:="" rgb(238,238,238);="" text-indent:="" font-variant-ligatures:="" font-variant-caps:="" -webkit-text-stroke-width:="" text-decoration-style:="" initial;="" text-decoration-color:="" initial'="" />  多止:LLV(L,M1)+RATIO*ATR*(T);:="" none;="" font-weight:="" 400;="" color:="" rgb(51,51,51);="" font-style:="" text-align:="" justify;="" orphans:="" 2;="" widows:="" letter-spacing:="" background-color:="" rgb(238,238,238);="" text-indent:="" font-variant-ligatures:="" font-variant-caps:="" -webkit-text-stroke-width:="" text-decoration-style:="" initial;="" text-decoration-color:="" initial'="" />  空止:hhv(h,m1)-RATIO*ATR*(T);:="" none;="" font-weight:="" 400;="" color:="" rgb(51,51,51);="" font-style:="" text-align:="" justify;="" orphans:="" 2;="" widows:="" letter-spacing:="" background-color:="" rgb(238,238,238);="" text-indent:="" font-variant-ligatures:="" font-variant-caps:="" -webkit-text-stroke-width:="" text-decoration-style:="" initial;="" text-decoration-color:="" initial'="" />:="" none;="" font-weight:="" 400;="" color:="" rgb(51,51,51);="" font-style:="" text-align:="" justify;="" orphans:="" 2;="" widows:="" letter-spacing:="" background-color:="" rgb(238,238,238);="" text-indent:="" font-variant-ligatures:="" font-variant-caps:="" -webkit-text-stroke-width:="" text-decoration-style:="" initial;="" text-decoration-color:="" initial'="" />:="" none;="" font-weight:="" 400;="" color:="" rgb(51,51,51);="" font-style:="" text-align:="" justify;="" orphans:="" 2;="" widows:="" letter-spacing:="" background-color:="" rgb(238,238,238);="" text-indent:="" font-variant-ligatures:="" font-variant-caps:="" -webkit-text-stroke-width:="" text-decoration-style:="" initial;="" text-decoration-color:="" initial'="" />  參數(shù)::="" none;="" font-weight:="" 400;="" color:="" rgb(51,51,51);="" font-style:="" text-align:="" justify;="" orphans:="" 2;="" widows:="" letter-spacing:="" background-color:="" rgb(238,238,238);="" text-indent:="" font-variant-ligatures:="" font-variant-caps:="" -webkit-text-stroke-width:="" text-decoration-style:="" initial;="" text-decoration-color:="" initial'="" />:="" none;="" font-weight:="" 400;="" color:="" rgb(51,51,51);="" font-style:="" text-align:="" justify;="" orphans:="" 2;="" widows:="" letter-spacing:="" background-color:="" rgb(238,238,238);="" text-indent:="" font-variant-ligatures:="" font-variant-caps:="" -webkit-text-stroke-width:="" text-decoration-style:="" initial;="" text-decoration-color:="" initial'="" />  參數(shù)名 缺省 最大 最小 步長:="" none;="" font-weight:="" 400;="" color:="" rgb(51,51,51);="" font-style:="" text-align:="" justify;="" orphans:="" 2;="" widows:="" letter-spacing:="" background-color:="" rgb(238,238,238);="" text-indent:="" font-variant-ligatures:="" font-variant-caps:="" -webkit-text-stroke-width:="" text-decoration-style:="" initial;="" text-decoration-color:="" initial'="" />:="" none;="" font-weight:="" 400;="" color:="" rgb(51,51,51);="" font-style:="" text-align:="" justify;="" orphans:="" 2;="" widows:="" letter-spacing:="" background-color:="" rgb(238,238,238);="" text-indent:="" font-variant-ligatures:="" font-variant-caps:="" -webkit-text-stroke-width:="" text-decoration-style:="" initial;="" text-decoration-color:="" initial'="" />  stardate 1 999999 0 1:="" none;="" font-weight:="" 400;="" color:="" rgb(51,51,51);="" font-style:="" text-align:="" justify;="" orphans:="" 2;="" widows:="" letter-spacing:="" background-color:="" rgb(238,238,238);="" text-indent:="" font-variant-ligatures:="" font-variant-caps:="" -webkit-text-stroke-width:="" text-decoration-style:="" initial;="" text-decoration-color:="" initial'="" />:="" none;="" font-weight:="" 400;="" color:="" rgb(51,51,51);="" font-style:="" text-align:="" justify;="" orphans:="" 2;="" widows:="" letter-spacing:="" background-color:="" rgb(238,238,238);="" text-indent:="" font-variant-ligatures:="" font-variant-caps:="" -webkit-text-stroke-width:="" text-decoration-style:="" initial;="" text-decoration-color:="" initial'="" />  startime 0 999999 0 1:="" none;="" font-weight:="" 400;="" color:="" rgb(51,51,51);="" font-style:="" text-align:="" justify;="" orphans:="" 2;="" widows:="" letter-spacing:="" background-color:="" rgb(238,238,238);="" text-indent:="" font-variant-ligatures:="" font-variant-caps:="" -webkit-text-stroke-width:="" text-decoration-style:="" initial;="" text-decoration-color:="" initial'="" />:="" none;="" font-weight:="" 400;="" color:="" rgb(51,51,51);="" font-style:="" text-align:="" justify;="" orphans:="" 2;="" widows:="" letter-spacing:="" background-color:="" rgb(238,238,238);="" text-indent:="" font-variant-ligatures:="" font-variant-caps:="" -webkit-text-stroke-width:="" text-decoration-style:="" initial;="" text-decoration-color:="" initial'="" />  m 10 999999 0 1:="" none;="" font-weight:="" 400;="" color:="" rgb(51,51,51);="" font-style:="" text-align:="" justify;="" orphans:="" 2;="" widows:="" letter-spacing:="" background-color:="" rgb(238,238,238);="" text-indent:="" font-variant-ligatures:="" font-variant-caps:="" -webkit-text-stroke-width:="" text-decoration-style:="" initial;="" text-decoration-color:="" initial'="" /> ?

?

?來源:程序化99

  • 文華技術人員:?參考:
    STARTDATE:=200102;
    STARTTIME:=0900;
    M:=10;
    N:=10;
    RATIO:=1;
    TR := MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
    ATR := MA(TR,N);
    T:=BARSLAST(STARTDATE=DATE AND STARTTIME=TIME);
    M1:=IF(T<M,T+1,M);
    多止:LLV(L,M1)+RATIO*ATR*(T);
    空止:HHV(H,M1)-RATIO*ATR*(T);

    ?

    ?來源: www.tumamayizhan.com

  • 文華客服: ?謝謝!

    ?

  • 網(wǎng)友回復: ?帶入之后沒有顯示??我哪里出錯?

    ?

  • 網(wǎng)友回復: ?需要加載到小周期上查看的,您也可以調(diào)整下時間
    比如200102就是2020年1月2日,0900就是9點




    文件名:12.jpg

  •  

    有思路,想編寫各種指標公式,交易模型,選股公式,還原公式的朋友

    可聯(lián)系技術人員 QQ: 262069696  點擊在線交流或微信號:cxh99cxh99  進行 有償收費 編寫!

    怎么收費,代編流程等詳情請點擊閱讀!

    (注:由于人數(shù)限制,QQ或微信請選擇方便的一個聯(lián)系我們就行,加好友時請簡單備注下您的需求,否則無法通過。謝謝您!)


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

    相關文章

      沒有相關內(nèi)容
    主站蜘蛛池模板: 亚洲图片欧美在线| 嫩草影院在线免费观看| 国产亚洲人成无码网在线观看| 久久久久波多野结衣高潮| 精品水蜜桃久久久久久久| 国产精品久久久福利| 久久久婷婷五月亚洲97号色 | 蝌蚪久热精品视频在线观看| 成人试看120秒体验区| 人人干人人干人人干| 婷婷综合五月天| 日本一区二区三区四区公司| 亚洲成人网在线观看| 里番全彩acg★无翼娜美| 日本精品高清一区二区| 免费福利视频导航| xxxxwww日本在线| 手机在线观看精品国产片| 亚洲乱码一二三四区国产| 羞羞漫画在线成人漫画阅读免费| 大伊香蕉精品一区视频在线| 九九免费观看全部免费视频| 羞羞视频在线观看网站| 国产欧美日韩综合精品一区二区| 中文字幕亚洲综合久久| 暖暖直播在线观看| 免费大片av手机看片| 欧洲97色综合成人网| 成人动漫在线播放| 久久综合久久综合久久| 精品一区二区三区无卡乱码| 国产精品欧美一区二区三区| 久久久久久亚洲精品中文字幕| 熟妇人妻一区二区三区四区| 国产在线ts人妖免费视频| 69视频免费观看l| 无码av岛国片在线播放| 亚洲欧洲中文日韩久久av乱码| 色综合网站国产麻豆| 国产高清不卡无码视频| 久久久久高潮毛片免费全部播放 |