A:=V*100/CAPITAL;
XHM:=MA(A,180);
DIFF0:=(EMA(DCLOSE,12)-EMA(DCLOSE,26))*100;
DEA0:=EMA(DIFF0,9);
MACD0:=2*(DIFF0-DEA0);
爆发点: (MACD0>REF(MACD0,1)*2.5 AND MACD0>15),COLORFF00FF;
STICKLINE(爆发点,00,30,6.0,0),COLORMAGENTA;
DRAWTEXT(爆发点,33,'↑爆发点'),COLORWHITE;
地狱底:0,COLORGRAY;
地狱线:10,COLORGRAY;
地平线:20,COLORLIMAGENTA;
天际线:80,COLORGRAY;
RSV:=(((CLOSE - LLV(LOW,33)) / (HHV(HIGH,33) - LLV(LOW,33))) * 100);
神仙:SMA(RSV,7,1),COLORWHITE,LINETHICK3;
魔鬼:SMA(SMA(RSV,7,1),3,1),COLORYELLOW,LINETHICK3;
轨迹:SMA(SMA(SMA(RSV,6,1),5,1),3,1),COLORRED,LINETHICK3;
财神到:IF(CROSS(神仙,20),20,0),POINTDOT;
DRAWICON((CROSS(神仙,20)),5,1);
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
MRD:=CROSS(FF,MA15);
DRAWTEXT(MRD ,25 ,'买' ),COLORFFFFFF;
买: IF(MRD ,20 ,0),COLORFFFFFF,LINETHICK3; |