M:=60;
N:=30;{高手指标公式网www.gs6699.com}
黑马选股指标: 100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M)),COLORGREEN,LINETHICK2;
通达信:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(通达信,5,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
sewww:EMA(J,6),COLORRED,LINETHICK2;
dffcc2:=REF(LOW,1);
dffcc3:=SMA(ABS(LOW-dffcc2),3,1)/SMA(MAX(LOW-dffcc2,0),3,1)*100;
dffcc4:=EMA(IF(CLOSE*1.3,dffcc3*10,dffcc3/10),3);
dffcc5:=LLV(LOW,30);
dffcc6:=HHV(dffcc4,30);
dffcc7:=IF(MA(CLOSE,58),1,0);
dffcc8:=EMA(IF(LOW<=dffcc5,(dffcc4+dffcc6*2)/2,0),3)/618*dffcc7;
dffcc9:=IF(dffcc8>100,100,dffcc8);
sssxx1:STICKLINE(dffcc9>-120,0,dffcc9,2,5),COLORMAGENTA;
sssxx2:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
sssxx3:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
sssxx5:=SMA(sssxx3,13,8);
sssxx6:CEILING(SMA(sssxx5,13,8)),COLORYELLOW;
sssxx7:=SMA(sssxx2,21,8);
sssxx8: STICKLINE(sssxx6-sssxx7<-65,0,7,15,1);
DRAWICON(FILTER(J>REF(J,1)AND sssxx6>=REF(sssxx6,1)AND sssxx6<25 ,5),sssxx6,3);
sssxx9: STICKLINE(sssxx6-sssxx7>85,98,90,15,1),COLORFFFF00;
DRAWICON(FILTER(J<REF(J,1)AND sssxx6<=REF(sssxx6,1)AND J>85 ,5),J,6);
sseeww1: CROSS(sewww,黑马选股指标);
DRAWTEXT(sseeww1,sewww,''),COLORRED;
sseeww4: CROSS(黑马选股指标,sewww);
DRAWTEXT(sseeww4,黑马选股指标,''),COLOR00F300;