P:=60;Q:=30;
黑马选股公式:=AMOUNT/VOL/100;
黑马选股:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
通达信黑马选股:=SUM(AMOUNT,40)/黑马选股公式/100;
刚刚启动:=SUM(AMOUNT,80)/黑马选股公式/100;
超强版:=DMA(黑马选股,VOL/通达信黑马选股);
vvvd1:=DMA(黑马选股,VOL/刚刚启动);
vvvd2:=(CLOSE-超强版)/超强版*100;
vvvd3:=(CLOSE-vvvd1)/vvvd1*100;
vvvd4:1,COLORYELLOW,LINETHICK1;
vvvd5:5,,COLORFF6600;
vvvd6:-1,COLORGREEN,LINETHICK2;
vvvd7:-4,COLORCCFF33;
vvvd8:C,NODRAW;
DRAWTEXT(ISLASTBAR AND C,4,' '),COLOR0000BB;
DRAWTEXT(ISLASTBAR AND C,3,' '),COLOR0000BB;
DRAWTEXT(ISLASTBAR AND C,2,' '),COLOR0000BB;
DRAWTEXT(ISLASTBAR AND C,-1.5,' '),COLOR0000BB;
DRAWTEXT(ISLASTBAR AND C,-2.5,' '),COLOR0000BB;
DRAWTEXT(ISLASTBAR AND C,-3.5,' '),COLOR0000BB;
vvvd9:MA(REF(HHV(C,60),1),2),NODRAW;
eeees1:SUM(vvvd8*V,240)/SUM(V,240),COLORYELLOW,NODRAW;
eeees2:EMA(EXPMA(C,20),13),NODRAW;
eeees3:MA(REF(HHV(C,30),1),2),NODRAW;
eeees4:MA(REF(LLV(C,30),1),2),NODRAW;
STICKLINE(FILTER(C,60)>0,vvvd5,vvvd7,0.5,0),COLORRED;
STICKLINE(vvvd3>0,0,vvvd3,1,0),COLORYELLOW;
STICKLINE(vvvd2>0,0,vvvd2,1,0),COLORRED;
STICKLINE(vvvd2<=0,0,vvvd2,1,0),COLORGREEN;
eeees5:=(CLOSE-LLV(LOW,Q))/(HHV(HIGH,Q)-LLV(LOW,Q))*100;
K:=SMA(eeees5,5,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
yyyy2:=EMA(J,6);
yyyy3:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
yyyy4:=SMA(yyyy3,13,8);
yyyy5:=CEILING(SMA(yyyy4,13,8));
yyyy6:="SSRP.MA1";
yyyy7:="SSRP.MA2";
SIGNAL1:=CROSS(yyyy5,yyyy2) AND C>=eeees1;
SIGNAL2:=(CROSS(yyyy5,yyyy2) AND vvvd2>0.6 AND C>=eeees1);
SIGNAL3:=(CROSS(yyyy6,yyyy7) AND vvvd2>0.6 AND C>=eeees1);
DRAWTEXT(SIGNAL1,-1,''),COLOR0000BB;
DRAWTEXT(SIGNAL2 AND yyyy6>yyyy7,-2,''),COLORFF00FF;
DRAWTEXT(SIGNAL2 AND yyyy6>yyyy7,-2.8,''),COLORFF00FF;
DRAWTEXT(SIGNAL3 AND yyyy5>yyyy2,-2,''),COLORRED;
DRAWTEXT(SIGNAL3 AND yyyy5>yyyy2,-2.8,''),COLORRED;
16003A454220-3XY.jpg
|