分時副圖公式如下:
CTA3:=MAX(CTA1-CTA,CTA-CTA2)*0.1;CTA8:=過濾器(C,239)>0,NODRAW;CTA8J:=SUM(CTA8,0),NODRAW;CTA8A:=CONST(CTA8J),NODRAW;流通:CAPITAL*100/100000000,NODRAW;主力買入:=SUM(IF(C>REF(C,1),V,0),FROMOPEN),STICK,COLORRED;主力賣出:=-SUM(IF(C<REF(C,1),V,0),FROMOPEN),STICK,COLOR00FF00;主力買賣:=主力買入+主力賣出,COLORSTICK;CTA35:=(50-CTA16)*CTA15/CTA17+CTA14;DRAWBAND(主力買賣,RGB(150,0,150),0,RGB(0,100,0));資金流量:主力買賣,COLORFFFFFF,LINETHICK1;資金比:主力買賣/SUM(V,FROMOPEN)*100,COLOR00FFFF,LINETHICK1;資金流量比:=IF(資金比>=0,(資金比+100)/2,100-ABS((資金比-100)/2));CTA37:=((HSL*0.50+REF(HSL,1)*0.33)+(REF(HSL,2)*0.17))*SUM(C,FROMOPEN)/FROMOPEN;CTA37A:=SUM(IF(C>REF(C,1),CTA37*V,0),FROMOPEN),COLOR0000FF,LINETHICK0;CTA37B:=-SUM(IF(C<REF(C,1),CTA37*V,0),FROMOPEN),COLOR00FF00,LINETHICK0;攻擊流量:CTA37A+CTA37B,COLORSTICK;攻擊線:攻擊流量,COLORYELLOW,LINETHICK1;攻擊比:攻擊流量/SUM(V,FROMOPEN)*100,COLORRED,LINETHICK1;資金攻擊度:=IF(攻擊比>=0,(攻擊比+50),100-ABS((攻擊比-50)));DRAWRECTREL(110,10,400,90,RGB(0,75,200));DRAWRECTREL(110,10,250,90,RGB(0,250,50));DRAWRECTREL(110,10,100+CONST(資金流量比*300/100),90,RGB(200,50,0));DRAWTEXT_FIX(1,0.000,0.00,0,STRCAT(STRCAT('【資金流量比】',CON2STR(資金流量比,2)),'%買')),COLORYELLOW;DRAWRECTREL(610,10,900,90,RGB(0,75,200));DRAWRECTREL(610,10,750,90,RGB(0,250,50));DRAWRECTREL(610,10,600+CONST(資金攻擊度*300/100),90,RGB(175,50,0));DRAWTEXT_FIX(1,0.500,0.00,0,STRCAT(STRCAT('【資金攻擊度】',CON2STR(資金攻擊度,2)),'%買')),COLORYELLOW;CTA38:=MA(量,5),COLORWHITE;CTA39:=SUM(C*V,TT)/SUM(V,TT);CTA40:=MA(V,5)>REF(MA(V,5),1) AND REF(MA(V,5),1)>REF(MA(V,5),2);CTA41:= C>=REF(C,1) 且 REF(C,1)>REF(C,2);CTA42:=C>CTA39 且 V>MA(V,5);CTA46:=(C/DYNAINFO(3)-1)*100<=2.50;CTA47:=CTA40 和 CTA41 和 CTA42 和 CTA43 和 CTA44 和 CTA45 和 CTA46;CTA48:=REF(C,VV-1),NODRAW;起爆收益:(DYNAINFO(7)-CTA48)/CTA48*100,NODRAW;CTA49:=REF(時間/10000,VV),NODRAW;DRAWICON(CTA50>=2,CTA31,13);CTA52:=IF(周期=0,EMA(收盤價,900),DRAWNULL);CTA53:=SUM(C*V,240)/SUM(V,240),COLORYELLOW,LINETHICK2;CTA54:=IF(日期<=1150530,1,0);CTA55:=BETWEEN((收盤*CTA54)/(SUM(金額,柱數(shù)((收盤*CTA54)))/SUM(成交量*100,柱數(shù)((收盤*CTA54)))),1.05,0.95);CTA56:=IF(CTA55=0,MA((收盤*CTA54),柱數(shù)((收盤*CTA54))),(SUM(金額,柱數(shù)((收盤*CTA54)))/SUM(成交量*100,柱數(shù)( (關(guān)閉*CTA54)))));CTA57:=EXPMA((CLOSE/CTA56),20),彩色,LINETHICK1;CTA58:=EXPMA((CLOSE/CTA56),60),COLORLIGREEN,LINETHICK1;CTA59:=BARSLAST(時間=100000);CTA60:=REF(HHV(C,0),CTA59+1);FVV:=REF(HHV(V,0),CTA59+1);ZF:=CTA60/DYNAINFO(3)<1.05;XG1:=CROSS(C,CTA60) AND V>FVV AND ZF,COLORWHITE;CTA591:=BARSLAST(時間=110000);CTA601:=REF(HHV(C,0),CTA591+1);FVV1:=REF(HHV(V,0),CTA591+1);ZF1:=CTA601/DYNAINFO(3)<1.05;XG2:=CROSS(C,CTA601) AND V>FVV1 AND ZF1,COLORYELLOW;首次突破價:=REF(C,VT-1),NODRAW;歐歐量化突破:(DYNAINFO(7)-首次突破價)/首次突破價*100,NODRAW;拉升量:=IF(C>REF(C,1),VOL,0);昨晚拉升CTA30值:=CONST(FINDHIGH(拉升量,FROMOPEN,240,1)),LINETHICK1,COLORMAGENTA;今拉升量CTA30值:=CONST(REF(HHV(拉升量,FROMOPEN),0)),COLORYELLOW,NODRAW;攻擊強度:=今拉升CTA30值/昨拉升CTA30值,NODRAW;DRAWTEXT(CTA47,CTA31+CTA36*0.65,'∠起爆'),COLORGREEN;
新建副圖指標,復制粘貼,分時圖副圖指標,右鍵選擇指標
風險提示:本指標公式僅作為知識分享,模擬測試不構(gòu)成任何投資建議,不作投資參考。
本站僅提供存儲服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請
點擊舉報。