指标名字——亚平神线(主图)
这原理就是唐老师的暖冷空气带,红色为暖空气带,绿色是冷空气带,一旦由红色变为绿色,也就是死叉,而股价又跌破冷空气带就是不好,中线也就不再可以持股了
STICKLINE( MA(CLOSE,60)>MA(CLOSE,120),MA(CLOSE,60),MA(CLOSE,120),8,0),COLOR000044;
STICKLINE( MA(CLOSE,60)<MA(CLOSE,120),MA(CLOSE,60),MA(CLOSE,120),8,0),COLOR004400;
DRAWKLINE(H,O,L,C);
MA1:MA(CLOSE,5);
MA2:MA(CLOSE,10);
MA3:MA(CLOSE,20);
MA4:MA(CLOSE,60),COLORMAGENTA;
MA5:MA(CLOSE,120),COLORGREEN;
MA6:=MA(CLOSE,250);
C2:=REF(C,1);
涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);
STICKLINE(涨停,OPEN,CLOSE,2,0),COLORYELLOW;
STICKLINE(涨停,H,L,0,0),COLORYELLOW;
跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);
STICKLINE(跌停,OPEN,CLOSE,2,0),COLORGREEN;
STICKLINE(跌停,H,L,0,1),COLORGREEN;
DRAWICON(CROSS(MA1,MA2),MA1,1);
STICKLINE( C<MA4,H,L,0,0),COLOR777777;
STICKLINE( C<MA4,O,C,2.7,1),COLOR777777;