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

老師,幫忙改成一個指標 [文華財經(jīng)]

  • 咨詢內(nèi)容: ?M:=DUALVOLUME('M');N:=DUALVOLUME('N');DRAWCOLUMNCHART(N,SCALE>=0.5,M>=0);?V1:SCALE*V,NODRAW;V2:(1-SCALE)*V,NODRAW;NBA:=BARSLAST(DATE<>REF(DATE,1))+1;AY:=BACKSET(ISLASTBAR,HHVBARS(V1,NBA)+1),NODRAW;BY:=BACKSET(ISLASTBAR,HHVBARS(V2,NBA)+1),NODRAW;DRAWCOLORKLINE(CROSS(AY,0.5),COLORMAGENTA,0);DRAWCOLORKLINE(CROSS(BY,0.5),COLORCYAN,0);DRAWSL(ISLASTBAR&&NOT(EXIST(C>VALUEWHEN(CROSS(AY,0.5),H),DAYBARPOS)),VALUEWHEN(CROSS(AY,0.5),H),0,-BARSLAST(CROSS(AY,0.5)),0,COLORMAGENTA),LINETHICK5;//DRAWHORIZONTALLINE(,H,COLORMAGENTA),LINETHICK5;DRAWSL(ISLASTBAR&&NOT(EXIST(C<VALUEWHEN(CROSS(BY,0.5),L),DAYBARPOS)),VALUEWHEN(CROSS(BY,0.5),L),0,-BARSLAST(CROSS(BY,0.5)),0,COLORCYAN),LINETHICK5;//DRAWHORIZONTALLINE(,L,COLORCYAN),LINETHICK5;DRAWSL(ISLASTBAR&&EXIST(C>VALUEWHEN(CROSS(AY,0.5),H),DAYBARPOS),VALUEWHEN(CROSS(AY,0.5),H),0,-BARSLAST(CROSS(AY,0.5)),0,COLORMAGENTA),DOT;DRAWSL(ISLASTBAR&&EXIST(C<VALUEWHEN(CROSS(BY,0.5),L),DAYBARPOS),VALUEWHEN(CROSS(BY,0.5),L),0,-BARSLAST(CROSS(BY,0.5)),0,COLORCYAN),DOT;

    N:=DAYBARPOS;X:=LLVBARS(L,N);K1:=IF(X>=1,LLV(L,X),100000);K2:=IF(X<(N-1),REF(LLV(L,REFX1(N-1-X,10000)),X+1),100000);低點:=LLV(L,N);次低點:=MIN(K1,K2);T2:=BACKSET(ISLASTBAR,BARSLAST(L=REFX1(次低點,50))+1);CROSS(T2&&次低點>2000,0.5),ICON(1,'ICO1');
    T:=HHVBARS(H,N);B1:=IF(T>=1,HHV(H,T),0);B2:=IF(T<N-1,REF(HHV(H,REFX1(N-1-T,10000)),T+1),0);高點:=HHV(H,N);次高點:=MAX(B1,B2);
    G2:=BACKSET(ISLASTBAR,BARSLAST(H=REFX1(次高點,50))+1);CROSS(G2&&次高點>2000,0.5),ICON(1,'ICO1');
    和成一個幅圖指標,有重復(fù)定義
    ?

    ?

    ?來源:程序化99

  • 文華技術(shù)人員: ?參考:
    ?M:=DUALVOLUME(''; N:=DUALVOLUME(''; DRAWCOLUMNCHART(N,SCALE>=0.5,M>=0); ?V1:SCALE*V,NODRAW; V2:(1-SCALE)*V,NODRAW; NBA:=BARSLAST(DATE<>REF(DATE,1))+1; AY:=BACKSET(ISLASTBAR,HHVBARS(V1,NBA)+1),NODRAW; BY:=BACKSET(ISLASTBAR,HHVBARS(V2,NBA)+1),NODRAW; DRAWCOLORKLINE(CROSS(AY,0.5),COLORMAGENTA,0); DRAWCOLORKLINE(CROSS(BY,0.5),COLORCYAN,0); DRAWSL(ISLASTBAR&&NOT(EXIST(C>VALUEWHEN(CROSS(AY,0.5),H),DAYBARPOS)),VALUEWHEN(CROSS(AY,0.5),H),0,-BARSLAST(CROSS(AY,0.5)),0,COLORMAGENTA),LINETHICK5; //DRAWHORIZONTALLINE(,H,COLORMAGENTA),LINETHICK5; DRAWSL(ISLASTBAR&&NOT(EXIST(C<VALUEWHEN(CROSS(BY,0.5),L),DAYBARPOS)),VALUEWHEN(CROSS(BY,0.5),L),0,-BARSLAST(CROSS(BY,0.5)),0,COLORCYAN),LINETHICK5; //DRAWHORIZONTALLINE(,L,COLORCYAN),LINETHICK5; DRAWSL(ISLASTBAR&&EXIST(C>VALUEWHEN(CROSS(AY,0.5),H),DAYBARPOS),VALUEWHEN(CROSS(AY,0.5),H),0,-BARSLAST(CROSS(AY,0.5)),0,COLORMAGENTA),DOT; DRAWSL(ISLASTBAR&&EXIST(C<VALUEWHEN(CROSS(BY,0.5),L),DAYBARPOS),VALUEWHEN(CROSS(BY,0.5),L),0,-BARSLAST(CROSS(BY,0.5)),0,COLORCYAN),DOT;
    N1:=DAYBARPOS; X:=LLVBARS(L,N1); K1:=IF(X>=1,LLV(L,X),100000); K2:=IF(X<(N1-1),REF(LLV(L,REFX1(N1-1-X,10000)),X+1),100000); 低點:=LLV(L,N1); 次低點:=MIN(K1,K2); T2:=BACKSET(ISLASTBAR,BARSLAST(L=REFX1(次低點,50))+1); CROSS(T2&&次低點>2000,0.5),ICON(1,'CO1';
    T:=HHVBARS(H,N1); B1:=IF(T>=1,HHV(H,T),0); B2:=IF(T<N1-1,REF(HHV(H,REFX1(N1-1-T,10000)),T+1),0); 高點:=HHV(H,N1); 次高點:=MAX(B1,B2);
    G2:=BACKSET(ISLASTBAR,BARSLAST(H=REFX1(次高點,50))+1); CROSS(G2&&次高點>2000,0.5),ICON(1,'CO1';

 

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

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


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

相關(guān)文章

    沒有相關(guān)內(nèi)容
主站蜘蛛池模板: 国产精品美脚玉足脚交欧美| 日韩a级一片在线观看| 成人a视频高清在线观看| 免费观看一级毛片| 欧美手机在线视频| 日本丶国产丶欧美色综合| 动漫痴汉电车1~6集在线| 人人玩人人添人人澡mp4| 天天操天天干天天拍| 久久午夜无码鲁丝片秋霞| 美女的尿口免费| 国模欢欢炮交150视频| 九九精品国产亚洲AV日韩| 色一情一乱一伦一区二区三欧美| 好大灬好硬灬好爽灬| 亚洲成a人v欧美综合天| 精品综合久久久久久8888| 国产视频福利一区| 久久国产精品麻豆映画| 男性gay黄免费网站| 国产精品久久久久电影| 中文字幕版免费电影网站| 爆乳美女脱内衣18禁裸露网站| 国产人妖视频一区二区| jizzjizz日本护士| 榴莲榴莲榴莲榴莲官网| 四虎影视884a精品国产四虎| 99久久精品全部| 日韩av激情在线观看| 亚洲成av人片在线观看无码| 精品一区二区三区色花堂| 国产亚洲欧美久久精品| 日本理论片www视频| 国产麻豆剧果冻传媒一区 | 无码一区二区三区免费| 九九热视频在线播放| 欧美性生活网址| 又湿又紧又大又爽a视频| 337p粉嫩胞高清视频在线| 日本a免费观看| 亚洲第一极品精品无码久久 |