SS:EMA(CLOSE,N);
MM:EMA(SLOPE(CLOSE,21)*20+CLOSE,55)*1;
阻力:MA(LLV(C,9)*1.1,14);
支撑:MA(HHV(C,26)*0.9,14);
KL:=SS-MM;
低阻力: MA(CLOSE,25)+MA(CLOSE,60)/65,COLORFFFF00;
强阻力: MA(CLOSE,60)+MA(CLOSE,60)/12, COLOR00FFFF;
STICKLINE(KL>=0,SS,MM,7,0),colorred;
STICKLINE(KL<0,SS,MM,7,0),colorgreen;
DRAWTEXT(CROSS(SS,强阻力),SS,'建仓'),RGB(0,255,255);
DRAWTEXT(CROSS(MM,SS),MM,'卖出'),RGB(255,255,0);