DRAWGBK(C 0, RGB(180,170,170),RGB(183,164,165),0,'11',0);
STICKLINE(1,105,0,4,0),COLORLIRED;
STICKLINE(1,50,-100,4,0),COLORLIRED;
RS2:=((SMA(MAX(CLOSE - REF(CLOSE,1),0),2,1))/(SMA(ABS(CLOSE - REF(CLOSE,1)),2,1)))*(100);
STICKLINE((RS2 25),-100,105,4,0),COLORFFE4E1;
MA5:=MA(CLOSE,3);
MA10:=MA(CLOSE,8);
MA20:=MA(CLOSE,13);
A1:=IF(C =MA5,1,-1);
A2:=IF(C =MA10,1,-1);
A3:=IF(C =MA20,1,-1);
A4:=IF(MA5 =REF(MA5,1),1,-1);
A5:=IF(MA10 =REF(MA10,1),1,-1);
A6:=IF(MA20 =REF(MA20,1),1,-1);
趋势:(A1+A2+A3+A4+A5+A6)/6*100,COLOR00FF00;
主升浪:趋势 =50,COLOR0000FF,POINTDOT,NODRAW;
:趋势 50,COLORFFFFFF,POINTDOT,NODRAW;
周期:IF(主升浪,BARSLAST(CROSS(主升浪,0.1))+1,0),COLORFF00FF,POINTDOT,NODRAW;
临界:IF(CROSS(98,趋势),1,0),COLOR00FF00,POINTDOT,NODRAW;
WKQY:=BARSLAST(CROSS(50,趋势)) MIN(BARSLAST(CROSS(趋势,1)),BARSLAST(CROSS(趋势,-1)));
挖坑:BETWEEN(趋势,-1,50) AND WKQY,COLOR00FFFF,POINTDOT,NODRAW;
AA2:=IF(挖坑,趋势,50);{九毛八公式指标网www.9m8.cn}
DRAWBAND(趋势,RGB(250,50,250),50,RGB(0,0,0));
GOODGUPIAO:SMA(MAX(CLOSE-C,0),7,1)/SMA(ABS(CLOSE-C),7,1)*100,NODRAW;
105;
RS5:=((SMA(MAX(CLOSE - REF(CLOSE,1),0),2,1))/(SMA(ABS(CLOSE - REF(CLOSE,1)),2,1)))*(100);
STICKLINE((RS5 25),70,90,2,0),COLORBLACK;
RS8:=((SMA(MAX(CLOSE - REF(CLOSE,1),0),3,1))/(SMA(ABS(CLOSE - REF(CLOSE,1)),3,1)))*(100);
STICKLINE((RS8 25),60,40,2,0),COLORBLUE;
RS13:=((SMA(MAX(CLOSE - REF(CLOSE,1),0),5,1))/(SMA(ABS(CLOSE - REF(CLOSE,1)),5,1)))*(100);
STICKLINE((RS13 25),30,10,2,0),COLORLIGREEN;
RS21:=((SMA(MAX(CLOSE - REF(CLOSE,1),0),8,1))/(SMA(ABS(CLOSE - REF(CLOSE,1)),8,1)))*(100);
STICKLINE((RS21 25),0,-20,2,0),COLORWHITE;
RS131:=((SMA(MAX(CLOSE - REF(CLOSE,1),0),13,1))/(SMA(ABS(CLOSE - REF(CLOSE,1)),13,1)))*(100);
STICKLINE((RS131 25),-30,-50,2,0),COLORFF00FF;
RS211:=((SMA(MAX(CLOSE - REF(CLOSE,1),0),21,1))/(SMA(ABS(CLOSE - REF(CLOSE,1)),21,1)))*(100);
STICKLINE((RS211 25),-60,-80,2,0),COLORRED;