一、独特性强势主力选股指标公式
VAR1:=IF((HHV(ABS(((HHV(CLOSE,6)/LLV(CLOSE,6))-1)),6)>(10/100)),3,6);
VAR11:=IF((MINUTE=5),VAR1*48,IF((MINUTE=15),VAR1*16,IF((MINUTE=30),VAR1*8,IF((MINUTE=60),VAR1*4,VAR1))));
VAR12:=IF(VOL=0,MA(CLOSE,VAR11),((SUM(AMOUNT,VAR11)/SUM(VOL,VAR11))/100));
VAR13:=MA(C,5)>REF(MA(C,5),1) AND REF(C>O OR CO OR C
VAR14:=REF(MA(C,5)[O OR CO OR C
]VAR15:=C>O AND REF(C>O,1) AND REF(C1.02,2) AND REF(O/C<1.08,46);
VAR16:=IF(CROSS(CLOSE,REF(VAR12,1)),REF(VAR12,1),0);
VAR17:=HHV((VAR16>0),(BARSLAST(IF(CROSS(REF(VAR12,1),CLOSE),REF(VAR12,1),0)>0)+1));
VAR18:=VAR17>REF(VAR17,1) AND CROSS(EMA(CLOSE,3),EMA(CLOSE,21));
强势主力:VAR13 AND VAR14 AND VAR15 AND VAR18;
二、通达信黑马线趋势指标公式
A1:3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1);
黑马线:EMA(A1,5),LINETHICK2,COLOR6600FF;
A2:=(黑马线-REF(黑马线,1))/REF(黑马线,1)*100;
A3:=EMA(C,5);
A4:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
趋势线:(MA(3*SMA(A4,6,1)-2*SMA(SMA(A4,5,1),5,1),2)),LINETHICK2,COLORYELLOW;
A5:=(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))*100;
DRAWTEXT(FILTER(REF(黑马线,1)>90 AND A2<0,7),黑马线,'跑'),COLOR00FF00;
DRAWTEXT(CROSS(A1,黑马线)AND 黑马线
DRAWTEXT(CROSS(黑马线,A5)AND 趋势线<80,黑马线,'追涨');
DRAWTEXT(CROSS(趋势线,0)AND 黑马线<40,5,'大黑马');
底部:(A2<-10 AND A2>REF(A2,1))*25,COLORRED;
DRAWICON(底部 AND A3>REF(A3,1),25,4);
机会来临:REF(IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,30,0),1),COLORF00FF0;
大势已去:IF(CROSS(黑马线,A1)AND 黑马线>70 AND 趋势线>80,90,100),COLORFF0000;