抓牛头KDJ,红色买入,黑色空仓,绿色准备!好看更好用!
TYP := (IF(ISNULL(HIGH),CLOSE,HIGH) + IF(ISNULL(LOW),CLOSE,LOW) + CLOSE)/3;
短趋势:(TYP-MA(TYP,30))/(0.015*AVEDEV(TYP,30)),colorred,linethick3;
短线:(TYP-MA(TYP,30))/(0.015*AVEDEV(TYP,30)),colorwhite,linethick1;
C2:=MA(短趋势,4);
长趋势:MA(短趋势,10),colorblue,linethick3;
长线:MA(短趋势,10),colorFF9428,linethick2;
FILLRGN(短趋势,C2,短趋势>C2,RGB(0,255,0,),短趋势<C2,colorblack);
FILLRGN(短趋势,长趋势,短趋势>长趋势,RGB(255,0,0,),短趋势<长趋势,colorblack);
早上大跌可买:0,coloryellow;
早上大涨要卖:0,colorred;
下午大涨不追:0,colorblue;
下午大跌次日买:0,colorgreen;
早上大跌不割:0,colorFF00FF;
不涨不跌睡觉:STKNAME,coloryellow;