一根线决定买卖自用 工作线:MA(C,60),colormagenta,LINETHICK2;
BIAS:(CLOSE-MA(CLOSE,60))/MA(CLOSE,60)*100,NODRAW;
攻:MA(CLOSE,5),colorwhite,LINETHICK1,NODRAW;
短:MA(CLOSE,10),coloryellow,LINETHICK1,NODRAW;
趋势:MA(CLOSE,20),colorbrown,LINETHICK1,NODRAW;
中:MA(CLOSE,30),colorliblue,LINETHICK1,NODRAW;
涨:IF(工作线>REF(工作线,1),工作线,DRAWNULL),colorred,LINETHICK2;
平:IF(工作线=REF(工作线,1),工作线,DRAWNULL),COLOR00FFFF,LINETHICK2;
跌:IF(工作线<REF(工作线,1),工作线,DRAWNULL),colorgreen,LINETHICK2;
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
MA30:=MA(CLOSE,30);
MA60:=MA(CLOSE,60);
三上:C<MA5 AND C<MA10 AND C>MA20 AND C>MA30 AND C>MA60,NODRAW;
STICKLINE(三上,OPEN,CLOSE,9,0),colorblue;
四上:C<MA5 AND C>MA10 AND C>MA20 AND C>MA30 AND C>MA60,NODRAW;
STICKLINE(四上,OPEN,CLOSE,9,0),coloryellow;
五上:C>MA5 AND C>MA10 AND C>MA20 AND C>MA30 AND C>MA60,NODRAW;
STICKLINE(五上,OPEN,CLOSE,9,0),colorlired;
五多:C>MA5 AND C>MA10 AND C>MA20 AND C>MA30 AND C>MA60 AND MA5>MA60 AND MA10>MA60 AND MA20>MA60 AND MA30>MA60,NODRAW;
STICKLINE(五多,OPEN,CLOSE,9,0),colorred;
涨停:=IF((C-REF(C,1))/REF(C,1)>0.097,1,0);
STICKLINE(涨停,OPEN,CLOSE,9,0),colorbrown;
五上涨停=IF((C-REF(C,1))/REF(C,1)>0.097,1,0) AND C>MA5 AND C>MA10 AND C>MA20 AND C>MA30 AND C>MA60,NODRAW;
STICKLINE(五上涨停,OPEN,CLOSE,9,0),colormagenta;
|
