攻擊比(紅)攻擊流量公式、源碼[通達信公式]
相關標簽:
資金流入:=SUM(IF(C>REF(C,1),C*V,0),FROMOPEN),STICK,COLORRED;
資金流出:=-SUM(IF(C<REF(C,1),C*V,0),FROMOPEN),STICK,COLOR00FF00;
資金出入:=資金流入+資金流出,COLORSTICK;
DRAWBAND(資金出入,RGB(200,50,200),0,RGB(0,100,0));
資金流量:資金出入,COLORFFFFFF,LINETHICK1;
資金比(黃):資金出入/SUM(V,FROMOPEN),COLOR00FFFF,LINETHICK1;
攻擊量:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22));
攻擊量A:=SUM(IF(C>REF(C,1),攻擊量*C*V*10,0),FROMOPEN),COLOR0000FF,LINETHICK0;
攻擊量B:=-SUM(IF(C<REF(C,1),攻擊量*C*V*10,0),FROMOPEN),COLOR00FF00,LINETHICK0;
攻擊流量:攻擊量A+攻擊量B,COLORSTICK;
攻擊流量線:攻擊流量,COLORYELLOW,LINETHICK1;
攻擊比(紅):攻擊流量/SUM(V,FROMOPEN),COLORRED,LINETHICK1;
{STICKLINE(資金流量A>0,資金流量A,0,1,0),COLOR0000FF;
STICKLINE(資金流量B<0,資金流量B,0,1,0),COLORFF0000;}
BGTYU:=IF(DATE<=1150530,1,0);
GHYJKU:=BETWEEN((DCLOSE*BGTYU)/(SUM(AMOUNT,BARSCOUNT((DCLOSE*BGTYU)))/SUM(VOL*100,BARSCOUNT((DCLOSE*BGTYU)))),1.05,0.95);
VBNH:=IF(GHYJKU=0,MA((DCLOSE*BGTYU),BARSCOUNT((DCLOSE*BGTYU))),(SUM(AMOUNT,BARSCOUNT((DCLOSE*BGTYU)))/SUM(VOL*100,BARSCOUNT((DCLOSE*BGTYU)))));
二十☆:=EXPMA((DCLOSE/VBNH),20),COLORRED,LINETHICK1;
六十:=EXPMA((DCLOSE/VBNH),60),COLORLIGREEN,LINETHICK1;
DRAWICON(CROSS(EXPMA((DCLOSE/VBNH),60),EXPMA((DCLOSE/VBNH),120)),EXPMA((DCLOSE/VBNH),60)*1,1);
DRAWICON(CROSS(EXPMA((DCLOSE/VBNH),20),1.02),1,18);
0,POINTDOT;
DRAWTEXT_FIX(C>O,0.01,0.9,0,' www.kzuj.com.cn '),COLORRED;
DRAWTEXT_FIX(C>O,1,1,0,'程序化交易模型'),COLORRED;
有思路,想編寫各種指標公式,程序化交易模型,選股公式,預警公式的朋友
可聯系技術人員 QQ: 511411198 進行 有償 編寫!(不貴!點擊查看價格!)
相關文章
-
沒有相關內容