MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA20:MA(CLOSE,20);
MA30:MA(CLOSE,30);
MA60:MA(CLOSE,60);
MA120:MA(CLOSE,120);
X:=(C-REF(C,1))/REF(C,1)*100;
STICKLINE(X>5 AND X<7,L,H,0,0),COLORYELLOW;
STICKLINE(X>5 AND X<7,O,C,3,1),COLORYELLOW;
STICKLINE(X>7 AND X<9.85,L,H,0,0),COLOR0088FF;
STICKLINE(X>7 AND X<好州谨返9.85,O,C,3,1),COLOR0088FF;
STICKLINE(X>9.85,L,H,0,0),COLORMAGENTA;
STICKLINE(X>9.85,O,C,3,1),COLORMAGENTA;
{请友晌蔽设为:主图叠加}
把下面这个复制到均线公式里基备边就好了:
ZF:=100*C/REF(C,1)-100;
中阳线:IF(ZF>搏扰毁李告5 AND ZF<7,L*0.95,DRAWNULL),POINTDOT,COLORYELLOW,LINETHICK9;
大阳线:IF(ZF>=7 AND ZF<9.85,L*0.95,DRAWNULL),POINTDOT,COLOR0066FF,LINETHICK9;
巨阳线:IF(ZF>=9.85 ,L*0.95,DRAWNULL),POINTDOT,COLOR0000FF,LINETHICK9;
AA:=BETWEEN(C/REF(C,1),1.05,1.07);
BB:=BETWEEN(C/REF(C,1),1.07,1.0985);
CC:=BETWEEN(C/REF(C,1),1.0985,1.10);
DRAWTEXT(AA,L*0.98,'●'),COLORYELLOW;
DRAWTEXT(BB,L*0.98,'●'),COLOR0099FF;
DRAWTEXT(CC,L*0.98,'●'),COLORMAGENTA;
特意租芦改成雹敏小点弊肆带。试一试。