DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9);MACD:=1000* (2*(DIFF-DEA))/EMA(C,30);VARA:=EMA(REF(CLOSE,1),4);色彩峰:=(SMA(MAX(CLOSE-VARA,0),6,1)/SMA(ABS(CLOSE-VARA),6,1)*100);STICKLINE(色彩峰,0,120,10,0),COLOR8BA400;STICKLINE(色彩峰,0,90,10,0),COLOR8BA433;STICKLINE(色彩峰,0,75,10,0),COLOR8BA466;STICKLINE(色彩峰,0,60,10,0),COLOR8BA488;STICKLINE(色彩峰,0,50,10,0),COLOR8BA4AA;STICKLINE(色彩峰,0,40,10,0),COLOR8BA4BB;STICKLINE(色彩峰,0,35,10,0),COLOR8BA4CC;STICKLINE(色彩峰,0,25,10,0),COLOR8BA4EE;STICKLINE(色彩峰,0,15,10,0),COLOR8BA5FF;STICKLINE(色彩峰,0,-50,10,0),COLOR8BA433;STICKLINE(色彩峰,0,-30,10,0),COLOR8BA444;STICKLINE(色彩峰,0,-10,10,0),COLOR8BA455;STICKLINE(色彩峰,0,-5,10,0),COLOR8BA466;STICKLINE(色彩峰>0,0,色彩峰,10,0),COLOR66FF00;STICKLINE(色彩峰>0,0,色彩峰*0.9,10,0),COLOR66EE00;STICKLINE(色彩峰>0,0,色彩峰*0.8,10,0),COLOR66CC00;STICKLINE(色彩峰>0,0,色彩峰*0.7,10,0),COLOR66AA00;STICKLINE(色彩峰>0,0,色彩峰*0.6,10,0),COLOR668800;STICKLINE(色彩峰>0,0,色彩峰*0.5,10,0),COLOR666600;STICKLINE(色彩峰>0,0,色彩峰*0.4,10,0),COLOR664400;STICKLINE(色彩峰>0,0,色彩峰*0.3,10,0),COLOR662200;STICKLINE(色彩峰,0,-色彩峰*0.2,10,0),COLOR324D00;L1:=(CLOSE-LLV(LOW,11))/(HHV(HIGH,11)-LLV(LOW,11))*200-60;RSV:= (CLOSE-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100;FASTK:=SMA(RSV,3,1);龙K:=SMA(FASTK,2,1);龙D:=SMA(龙K,5,1);XA_1:=LLV(LOW,10);XA_2:=HHV(H,25);XA_3:=EMA((C-XA_1)/(XA_2-XA_1)*4,4);抄底:CROSS(XA_3,0.3),COLORRED,NODRAW;逃顶:CROSS(3.5,XA_3),COLORCYAN,NODRAW;STICKLINE(CROSS(3.5,XA_3),110,120,4,0),COLORCYAN;龙行凤影:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1) -2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27) -LLV(LOW,27))*100,5,1),3,1);绝地反击:CROSS(龙行凤影,2),COLORYELLOW,NODRAW;底部区:龙行凤影<=10,COLORLIMAGENTA,NODRAW;STICKLINE(绝地反击=1,-50,-20,4,0),COLORYELLOW;STICKLINE(CROSS(XA_3,0.3),-50,-30,4,0),COLORRED;STICKLINE(底部区=1,-50,-40,4,1),COLORLIMAGENTA;DD:=IF(MACD>=0,MACD,DRAWNULL);LL:=IF(MACD< 0,-MACD,DRAWNULL);STICKLINE(DD,0,DD,3.8,0),COLOREAEAEA;STICKLINE(DD AND DD>REF(DD,1),DD*0.1,DD*0.9,2.5.0,0),COLOR666666;STICKLINE(DD AND DD>=15 AND DD>REF(DD,1),DD*0.7,DD*0.7,2.5,1),COLOREAEAEA;STICKLINE(DD AND DD>=15 AND DD>REF(DD,1),DD*0.5,DD*0.5,2.5,1),COLOREAEAEA;STICKLINE(DD AND DD>=15 AND DD>REF(DD,1),DD*0.3,DD*0.3,2.5,1),COLOREAEAEA;STICKLINE(DD AND DD< REF(DD,1),DD*0.1,DD*0.9,2.8,1),COLOR57E000;STICKLINE(DD AND DD>=15 AND DD< REF(DD,1),DD*0.7,DD*0.7,2.5,1),COLOR666666;STICKLINE(DD AND DD>=15 AND DD< REF(DD,1),DD*0.5,DD*0.5,2.5,1),COLOR666666;STICKLINE(DD AND DD>=15 AND DD< REF(DD,1),DD*0.3,DD*0.3,2.5,1),COLOR666666;STICKLINE(龙K>=龙D,龙D,龙K,3,0),COLOR000085;STICKLINE(龙K< 龙D,龙D,龙K,3,0),COLOR324800;决策线K:SMA(L1,3,1),COLORRED,LINETHICK2;决策线D:SMA(决策线K,3,1),COLORYELLOW,LINETHICK2;强:IF(决策线K>决策线D,决策线K,DRAWNULL),COLORRED,LINETHICK2;弱:IF(决策线K< 决策线D,决策线D,DRAWNULL),COLORCYAN,LINETHICK2;