YS1:=(HIGH+LOW+CLOSE*2)/4;
RK3:=EMA(YS1,10);
RK4:=STD(YS1,10);
RK5:=(YS1-RK3)*100/RK4;
RK6:=EMA(RK5,5);
RK7:=EMA(RK6,10);
涨:(EMA(RK6,10)+100)/2-5;
跌:EMA(涨,4);
MK1:EMA(跌,4);
MK2:EMA(MK1,4);
MK3:EMA(MK2,4);
MK4:EMA(MK3,4);
MMK:=crOSS(涨,跌);
买点:=IF(MMK,20,0),COLORWHITE,POINTDOT;
STICKLINE(买点,20,0,4,0),COLORWHITE;
100,COLOR00FF00,POINTDOT;
0,COLORWHITE,POINTDOT;