小男孩‘自慰网亚洲一区二区,亚洲一级在线播放毛片,亚洲中文字幕av每天更新,黄aⅴ永久免费无码,91成人午夜在线精品,色网站免费在线观看,亚洲欧洲wwwww在线观看

分享

20230627 通達信“資金攻擊度分時”指標公式源碼分享,透析資金強度,能很好的銜接集合競價

 vfswjjx9wz3kz7 2023-06-27 發(fā)布于湖北

 

圖片

分時副圖公式如下:

CTA:=DYNAINFO(3);
CTA1:=DYNAINFO(5);
CTA2:=DYNAINFO(6);
CTA3:=MAX(CTA1-CTA,CTA-CTA2)*0.1;
CTA4:=CTA-CTA3*3.2;
CTA5:=CTA-CTA3*3.22;
CTA6:=CTA-1*CTA3*3.22;
CTA7:=CTA-5*CTA3*3.2;
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;
CTA9:=2400;
CTA10:=HHV(主力買賣,CTA9);
CTA11:=LLV(主力買賣,CTA9);
CTA30:=常量(CTA10),NODRAW;
CTA31:=常量(CTA11),NODRAW;
CTA12:=CTA30;
CTA13:=CTA31;
CTA14:=(CTA12+CTA13)/2;
CTA15:=CTA12-CTA13;
CTA16:=(100-0)/2*1.3;
CTA17:=(100-0)/1*1.3;
CTA35:=(50-CTA16)*CTA15/CTA17+CTA14;
CTA36:=CTA30-CTA31;
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;
量:=VOL,VOLSTICK;
CTA38:=MA(量,5),COLORWHITE;
TT:=柱數(shù)(C);
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);
CTA43:=V>=REF(V,1)*1;
CTA44:=C>=HHV(C,0);
CTA45:=V>=HHV(V,0);
CTA46:=(C/DYNAINFO(3)-1)*100<=2.50;
CTA47:=CTA40 和 CTA41 和 CTA42 和 CTA43 和 CTA44 和 CTA45 和 CTA46;
VV:=巴爾辛斯(CTA47)+1;
CTA48:=REF(C,VV-1),NODRAW;
起爆收益:(DYNAINFO(7)-CTA48)/CTA48*100,NODRAW;
CTA49:=REF(時間/10000,VV),NODRAW;
CTA50:=VV-1,NODRAW;
CTA51:=REF(VOL,VV-1);
DRAWICON(CTA50>=2,CTA31,13);
MMA30:=EMA(收盤價,30);
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;
突破:=XG1 或 XG2,彩色;
VT:=BARSSINCE(突破)+1;
首次突破價:=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;

新建副圖指標,復(fù)制粘貼,分時圖副圖指標,右鍵選擇指標

圖片

風(fēng)險提示:本指標公式僅作為知識分享,模擬測試不構(gòu)成任何投資建議,不作投資參考。

圖片
結(jié)尾
圖片

    本站是提供個人知識管理的網(wǎng)絡(luò)存儲空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點。請注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購買等信息,謹防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點擊一鍵舉報。
    轉(zhuǎn)藏 分享 獻花(0

    0條評論

    發(fā)表

    請遵守用戶 評論公約