量价绝杀主图指标 破解公式源码分享 通达信介绍
量价绝杀主图指标 破解公式源码分享 通达信
强势线:EMA(CLOSE,57),COLORMAGENTA;
MA51:MA(CLOSE,51),COLORGREEN;
HJ_1:=DATETODAY(MAX(MACHINEDATE,DATE));
HJ_2:=10300+365;
HJ_3:=HJ_1>=HJ_2;
HJ_4:=LLV(LOW,5);
HJ_5:=HHV(HIGH,5);
HJ_6:=EMA((CLOSE-HJ_4)/(HJ_5-HJ_4)*100,4);
HJ_7:=EMA(CLOSE,3)-EMA(CLOSE,9);
HJ_8:=EMA(HJ_7,9);
HJ_9:=(HJ_7-HJ_8)*2;
HJ_10:=HJ_3=0 AND HHV(HIGH,15)/LOW>1.4 AND REF(HHV(HIGH,30),14)/REF(LLV(LOW,30),14)>1.8 AND (REF(HIGH,33)<REF(LOW,14) OR REF(HIGH,44)<REF(LOW,14)) AND COUNT(HIGH/REF(LOW,2)>1.091,10)<=1 AND REF(HJ_6,1)/HJ_6<1.32;
DRAWICON(HJ_10,HIGH*1.1,32);
DRAWTEXT(HJ_10,HIGH*1.1,5),COLORMAGENTA;
DRAWTEXT(HJ_10,HIGH*1.02,6),COLORMAGENTA;
DRAWNUMBER(HJ_10,LOW*0.9,LOW),COLORRED;
HJ_11:=HJ_10 AND REF(COUNT(HJ_10,3),1)=0;
DRAWICON(HJ_11,LOW*1,7);
DRAWTEXT(HJ_11,LOW*0.94,7),COLORRED;
HJ_12:=HJ_10;
HJ_13:=BARSLAST(HJ_12);
HJ_14:=1.1*REF(LOW,HJ_13);
目标:IF(HJ_13>=0 AND HJ_13<10,HJ_14,DRAWNULL),COLORYELLOW,LINETHICK2;
HJ_15:=HIGH/REF(LOW,HJ_13)>1.1 AND HJ_13<10 AND HJ_13>0;
HJ_16:=CLOSE<REF(LOW,BARSLAST(HJ_11)) AND BARSLAST(HJ_11)<10;
HJ_17:=HJ_16=1 AND REF(COUNT(HJ_16,9),1)=0;
DRAWICON(HJ_17,LOW*1,23);
DRAWTEXT(HJ_17,LOW*0.95,8),COLORYELLOW;
DRAWTEXT(HJ_17,LOW*0.9,9),COLORYELLOW;
DRAWTEXT(HJ_17,LOW*0.85,10),COLORYELLOW;
HJ_18:=HJ_15=1 AND REF(COUNT(HJ_15,9),1)=0 OR (COUNT(HJ_15,10)=0 AND BARSLAST(HJ_12)=10);
HJ_19:=COUNT(HJ_15,10)=0 AND BARSLAST(HJ_12)=10;
DRAWICON(HJ_19,HIGH*1.2,15);
DRAWTEXT(HJ_19,HIGH*1.2,11),COLORGREEN;
DRAWICON(HJ_18,HIGH*1.1,9);
HJ_20:=HJ_18;
HJ_21:=IF(BARSLAST(HJ_20)>=1 AND BARSLAST(HJ_20)<=18,REF(HHV(HIGH,BARSLAST(HJ_20)+1),1),0);
HJ_22:=HJ_21/LOW>=IF(LOW/REF(LOW,HJ_13)<1.15,1.098,1.1) AND HJ_9>0 AND REF(HJ_9,1)/HJ_9>1.75 AND COUNT(HJ_19,19)=0;
HJ_23:=HJ_3=0 AND HJ_22 AND COUNT(HJ_22,10)=1;
HJ_24:=HJ_21/LOW>=IF(LOW/REF(LOW,HJ_13)<1.15,1.098,1.1) AND COUNT(HJ_19,19)=0;
HJ_25:=HJ_3=0 AND HJ_24 AND COUNT(HJ_24,10)=1;
DRAWICON(HJ_25 AND LOW/REF(LOW,HJ_13)<1.6,LOW*1,7);
DRAWICON(HJ_25 AND LOW/REF(LOW,HJ_13)<1.6,LOW*0.95,7);
DRAWTEXT(HJ_23,LOW*0.95,12),COLORYELLOW;
DRAWTEXT(HJ_23,LOW*0.88,13),COLORYELLOW;
DRAWTEXT(HJ_23,LOW*0.81,7),COLORYELLOW;
DRAWTEXT(HJ_25,LOW*0.95,12),COLORRED;
DRAWTEXT(HJ_25,LOW*0.81,7),COLORRED;
HJ_26:=HJ_25;
HJ_27:=BARSLAST(HJ_26);
HJ_28:=REF(LOW,HJ_27)*1.16;
目标2:IF(HJ_27>=0 AND HJ_27<10,HJ_28,DRAWNULL),COLORMAGENTA,LINETHICK2;
HJ_29:=HIGH/REF(LOW,HJ_27)>=1.159 AND HJ_27<10 AND HJ_27>0;
HJ_30:=HJ_29=1 AND REF(COUNT(HJ_29,9),1)=0 OR (COUNT(HJ_29,10)=0 AND BARSLAST(HJ_26)=10);
DRAWICON(HJ_30,HIGH*1.05,8);
DRAWTEXT(HJ_30,HIGH*1.12,14),COLORCYAN;
DRAWTEXT(HJ_30,HIGH*1.08,15),COLORCYAN;
gd54538