|
MA60:EMA(CLOSE,60),COLOR0000FF;
MA30:EMA(CLOSE,256),COLORFFFF00;
UPQK:=LOW-REF(HIGH,1);
STICKLINE(CLOSE>REF(CLOSE,1) AND UPQK>0,REF(HIGH,1),LOW,15,1),COLORYELLOW;
DOWNQK:=REF(LOW,1)-HIGH;
STICKLINE(CLOSE<REF(CLOSE,1) AND DOWNQK>0,REF(LOW,1),HIGH,15,1),COLORGREEN;
A:=IF(DATE<>REF(DATE,1),0,REF(A,1))+V;
B:=IF(DATE<>REF(DATE,1),0,REF(B,1))+(C+O+H+L)*0.25*V;
均价线:=B/A,COLORFF00FF,PRECIS0;
POLYLINE(DATE=CURRENTDATE,均价线),COLORYELLOW,LINETHICK3;
LL:=IF(HOUR<REF(HOUR,1),REF(LLV(L,BARSLAST(HOUR<REF(HOUR,1))+1),1),REF(LL,1)),COLOR80FF80;
POLYLINE(DATE=CURRENTDATE,LL),COLOR80FF80;
HH:=IF(HOUR<REF(HOUR,1),REF(HHV(H,BARSLAST(HOUR<REF(HOUR,1))+1),1),REF(HH,1)),COLOR80FF80;
POLYLINE(DATE=CURRENTDATE,HH),COLOR80FF80;
TO:=IF(DATE<>REF(DATE,1),OPEN,REF(TO,1)),COLORFFFFFF;
POLYLINE(DATE=CURRENTDATE,TO),COLORWHITE;
TV:=IF(DATE<>REF(DATE,1),0,REF(TV,1))+V;
TT:=IF(DATE<>REF(DATE,1),0,REF(TT,1))+(C+O+H+L)*0.25*V;
AP:=TT/TV,PRECIS0,POINTDOT,COLOR8000FF;
ZJ:=REF(AP,BARSLAST(DATE<>REF(DATE,1))+1),COLOR8000FF;
POLYLINE(DATE=CURRENTDATE,ZJ),COLOR0080FF;
DRAWKLINE(H,O,L,C);
完整版 |
|