|
MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA20:MA(CLOSE,20);
MA40:=MA(CLOSE,40);
MA60:MA(C,60);
MA120:MA(C,120);
MA250:MA(C,250),COLORYELLOW;
月价托:=MA5>MA20 AND MA5>MA10 AND CROSS(MA10,MA20),COLORYELLOW ;
季价托:=MA20>MA60 AND MA20>MA40 AND CROSS(MA40,MA60),COLORF00FF0 ;
短、长价托:=MA5>MA60 AND MA5>MA10 AND CROSS(MA10,MA60),COLORRED;
DRAWTEXT(月价托,L,'月价托'),COLORYELLOW;
STICKLINE(月价托,L,H,0.5,1), COLORYELLOW;
STICKLINE(月价托,O,C,5,1),LINETHICK3, COLORYELLOW;
DRAWTEXT(季价托,L,'季价托'),COLORF00FF0;
STICKLINE(季价托,L,H,0.5,1), COLORF00FF0;
STICKLINE(季价托,O,C,5,1),LINETHICK3, COLORF00FF0;
DRAWTEXT(短、长价托,L,'短、长价托'),COLOR36C0C1;
STICKLINE(短、长价托,L,H,0.5,1), COLOR36C0C1;
STICKLINE(短、长价托,O,C,5,0),LINETHICK3, COLOR36C0C1;
VOL1:=MA(VOL,5),COLORWHITE;
VOL2:=MA(VOL,10),COLORYELLOW;
VOL3:=MA(VOL,20),COLORFF00FF ;
量托:=VOL1>=VOL3 AND CROSS(VOL2,VOL3) AND REF(VOL2,1)<REF(VOL3,1);
DRAWTEXT(量托,L,'▲'),COLORWHITE;
DRAWTEXT(量托,L*0.97,'量托'),COLORWHITE;
STICKLINE(量托,L,H,0.5,1), COLORWHITE;
STICKLINE(量托,O,C,5,1),LINETHICK3, COLORWHITE; |
|