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;
MK:EMA(彩虹,4);
MK1:EMA(MK,4);
MK2:EMA(MK1,4);
MK3:EMA(MK2,4);
MK4:EMA(MK3,4);
MMK:=CROSS(彩虹,MK);
买点:=IF(MMK,20,0),COLORWHITE,POINTDOT;
STICKLINE(买点,20,0,4,0),COLORWHITE;
100,COLOR00FF00,POINTDOT;
0,COLORWHITE,POINTDOT;