走势莫测:SMA(((CLOSE- LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100),3,1),COLORYELLOW;
DRAWBAND(走势莫测,RGB(155,50,50),50,RGB(0,100,50));
{STICKLINE(走势莫测>50,走势莫测,50,6,0),COLORFF00FF;
STICKLINE(走势莫测<50,走势莫测,50,6,0),COLORGREEN;}
转强:IF(走势莫测>50,走势莫测,DRAWNULL),COLOR0000FF;
转弱:IF(走势莫测<50,走势莫测,DRAWNULL),COLORGREEN;
RSV:=(CLOSE-LLV(CLOSE,9))/(HHV(CLOSE,9)-LLV(CLOSE,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
TYP:=(HIGH+LOW+CLOSE)/3;
cci:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
DIFF:=EMA(CLOSE,2)-EMA(CLOSE,55);
DEA:=EMA(DIFF,6);
macd:=2*(DIFF-DEA);
转点:=IF(K>D AND CCI>0 AND DIFF>DEA AND MacD>0,1,0);
STICKLINE(转点=1,50,50,2,0),COLORYELLOW;
STICKLINE(转点=0,50,50,2,0),COLORCYAN;
STICKLINE(C,90,90,1,0),COLORYELLOW;
STICKLINE(C,10,10,1,0),COLORCYAN;
决断:SMA(走势莫测,3,1),COLORYELLOW;
IF(决断>50 AND 走势莫测>决断,决断,DRAWNULL ),COLORYELLOW,LINETHICK2;
IF(决断<50 AND 走势莫测>决断,决断,DRAWNULL),COLORFF00FF;
IF(决断>50 AND 走势莫测<决断,决断,DRAWNULL),COLORGREEN,LINETHICK2;
风险区:80,COLORFF85FF,POINTDOT;
安全区:20,COLORYELLOW,POINTDOT;
顶部:90,COLORFFFF00;
强弱线:50,COLORGREEN,POINTDOT;
DRAWICON(crOSS(走势莫测,决断) AND 走势莫测<80 ,决断,1);
DRAWICON(CROSS(走势莫测,顶部),顶部,2);
LC:= REF(CLOSE,1);
rsi:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(Abs(CLOSE-LC),6,1)*100;
GU1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
GU2:=SMA(GU1,9,1)+100;
GU3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
GU4:=SMA(GU3,3,1);
GU5:=SMA(GU4,3,1)+100;
GU6:=GU5-GU2;
走势莫测1: IF(GU6>45,GU6-45,0),COLOR00FFFF;
GU2Q:=REF(LOW,1);
GU3Q:=SMA(ABS(LOW-GU2Q),3,1)/SMA(MAX(LOW-GU2Q,0),3,1)*100;
GU4Q:=EMA(IF(CLOSE*1.3,GU3Q*10,GU3Q/10),3);
GU5Q:=LLV(LOW,30);
GU6Q:=HHV(GU4Q,30);
GU7Q:=IF(MA(CLOSE,58),1,0);
GU8Q:=EMA(IF(LOW<=GU5Q,(GU4Q+GU6Q*2)/2,0),3)/999*GU7Q;
火焰山:=IF(GU8Q>100,100,GU8Q);
STICKLINE(火焰山>0,0 ,火焰山*1.2,3,0 ),COLOR4444FF;
STICKLINE(火焰山>0,0 ,火焰山*1.2,2,0 ),COLOR7777FF;
STICKLINE(火焰山>0,0 ,火焰山*1.2,1,0 ),COLOR9999FF;
STICKLINE(REF(走势莫测1,1)< 走势莫测1, 走势莫测1,REF(走势莫测1,1),3,0),COLOR000033;
STICKLINE(REF(走势莫测1,1)< 走势莫测1, 走势莫测1,REF(走势莫测1,1),2,0),COLOR000077;
STICKLINE(REF(走势莫测1,1)< 走势莫测1, 走势莫测1,REF(走势莫测1,1),1.5,0),COLOR0000BB;
STICKLINE(REF(走势莫测1,1)< 走势莫测1, 走势莫测1,REF(走势莫测1,1),1,0),COLOR0000DD;
STICKLINE(REF(走势莫测1,1)> 走势莫测1, 走势莫测1,REF(走势莫测1,1),3,0),COLOR003300;
STICKLINE(REF(走势莫测1,1)> 走势莫测1, 走势莫测1,REF(走势莫测1,1),2,0),COLOR007700;
STICKLINE(REF(走势莫测1,1)> 走势莫测1, 走势莫测1,REF(走势莫测1,1),1,0),COLOR00DD00;
逃顶:=CROSS(82,RSI);
STICKLINE( 逃顶,逃顶,20,3,0),COLORFF5500;
STICKLINE( 逃顶,逃顶,30,2,0),COLORFF8800;
STICKLINE( 逃顶,逃顶,30,1,0),COLORFFAA00;
STICKLINE( 逃顶,逃顶,30,0.5,0),COLORFFCC00;
D1:=(C+L+H)/3;
D2:=EMA(D1,6);
D3:=EMA(D2,5);
BBUY:=CROSS(D2,D3);
DRAWICON(BBUY,10,1);
GUR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;
DRAWICON(CROSS(82,GUR1),10,2);
DRAWTEXT(CROSS(82,GUR1),35,'清仓'),COLORYELLOW;
神奇线选股:(CROSS(走势莫测,决断) AND 走势莫测<80),LINETHICK0;
波段选股:(BBUY),LINETHICK0;