|
MA30:=EMA(C,30);
MA800:EMA(C,800),COLORBROWN;
STICKLINE(MA30>MA800,MA30,MA800,1,0),COLORRED;
STICKLINE(MA30<MA800,MA30,MA800,1,0)COLORGREEN;
均价:SUM(V*C,0)/SUM(V,0),COLORYELLOW;
CC:C,COLORWHITE;
HH:=MAX(DYNAINFO(3),DYNAINFO(5));
LL:=MIN(DYNAINFO(3),DYNAINFO(6));
B:=HH-LL;
GG:=B*0.5/8+LL;
YY:=B*7/8+LL;
BB:=CROSS(GG,C);
SS:=CROSS(C,YY);
STICKLINE(BB,GG,GG*1.03,1,0),COLORRED;
STICKLINE(BB,GG,GG*1.02,1,0),COLORMAGENTA;
STICKLINE(BB,GG,GG*1.01,1,0),COLORYELLOW;
DRAWTEXT(BB,GG,'买★B'),COLORYELLOW;
DRAWTEXT(SS,YY,'卖★S')COLORMAGENTA;
|
|