{指示灯}
DD1:=C>EMA(C,5) OR (EMA(C,5)>REF(EMA(C,5),1) AND (H+L)/2>EMA(C,5));
DD2:=C>MA(C,5) OR (MA(C,5)>REF(MA(C,5),1) AND (H+L)/2>MA(C,5));
DD:=DD1 OR DD2;
DIFA:=EMA(CLOSE,8)/EMA(CLOSE,26)*100;
AA:=(DD OR DIFA>=REF(DIFA,1));
{www.70822.com}
EMA18:=EMA(C,18);
均线18:=(C>=EMA18 OR EMA18>=REF(EMA18,1));
趋势多:均线18,COLORFF00FF,NODRAW;
趋势空:NOT(均线18),COLORBLUE,NODRAW;
绿灯多:AA,COLORRED,NODRAW;
红灯空:NOT(AA),COLORFFCC66,NODRAW;
慎持:AA AND 趋势空,COLORYELLOW,NODRAW;
{www.70822.com}
粉趋多:STICKLINE(趋势多,0,2,8,0),COLORFF00FF,LINETHICK2;
蓝趋空:STICKLINE(趋势空,0,2,8,0),COLORBLUE,LINETHICK2;
红持:STICKLINE(绿灯多,2.5,4.5,8,0),COLORRED,LINETHICK2;
蓝空:STICKLINE(红灯空,2.5,4.5,8,0),COLORFFCC66,LINETHICK2;
黄慎持:STICKLINE(慎持,5,7,8,0),COLORYELLOW,LINETHICK2;
p20184616284871935.jpg
|