N:30;120;65;
趋势指标之王:=MA(CLOSE,5);
趋势指标之王1:=MA(CLOSE,21);
趋势指标之王2:=MA(CLOSE,65);
指标公式:=COUNT(趋势指标之王1>趋势指标之王2,10)=10;
GX:=MAX(趋势指标之王,MAX(趋势指标之王1,趋势指标之王2));
DX:=MIN(趋势指标之王,MIN(趋势指标之王1,趋势指标之王2));
CDEE1:=ABS(GX/DX-1)*100<=15;
CDEE2:IF(指标公式{高手指标公式网www.gs6699.com}
AND CDEE1,1,0),COLORFF00FF,POINTDOT,NODRAW;
趋势指标之王3:=EMA(CLOSE,12) -
EMA(CLOSE,26);
趋势指标之王5:=EMA(趋势指标之王3,9);
MACD:=2*(趋势指标之王3-趋势指标之王5);
CDEE3:COUNT(MACD<0,10)=10,COLORFFFF00,POINTDOT,NODRAW;
指标公式1:IF(指标公式
AND CDEE1 AND
CDEE3,5,0),COLORFFFFFF,LINETHICK2;
AA1:IF(指标公式,BARSLAST(CROSS(指标公式,0))+1,0),COLOR00FF00,POINTDOT,LINETHICK2;
CDEE4:IF(CROSS(0.1,指标公式)
AND
CROSS(MACD,0),8,0),COLOR00FFFF,LINETHICK2;
趋势指标之王7:=BARSLAST(CDEE4>0);
AA2:IF(趋势指标之王7<=120,(C/REF(C,趋势指标之王7)-1)*100,0),COLOR0000FF,POINTDOT,NODRAW;
AA3:IF(趋势指标之王7<=120,AA2/趋势指标之王7,0),COLORFFFFFF,POINTDOT,NODRAW;
趋势指标之王6:=MIN(趋势指标之王2*1.15,趋势指标之王1*1.13);
AA4:IF(CROSS(C,趋势指标之王6)
AND CDEE1 AND
趋势指标之王2>REF(趋势指标之王2,1),10,0),COLOR0000FF,LINETHICK2;
STICKLINE(CDEE2,0,1,3,0),COLORFF00FF;
STICKLINE(CDEE3,0,MACD*10,3,0),COLORFFFF00;
DRAWTEXT(CDEE4>0,8,''),COLOR00FFFF;
STICKLINE(CROSS(AA2,20)
AND COUNT(CROSS(AA2,20),趋势指标之王7)=1,-5,10,0,0),COLOR0000FF;