N:=33;
HH:IF(CURRBARSCOUNT<=N,CONST(HHV(H,N)),DRAWNULL),COLORGREEN;
LL:IF(CURRBARSCOUNT<=N,CONST(LLV(L,N)),DRAWNULL),COLORRED;
DRAWNUMBER(CURRBARSCOUNT=N,HH,HH),COLORGREEN;
DRAWNUMBER(CURRBARSCOUNT=N,LL,LL),COLORRED;
DRAWICON(CURRBARSCOUNT=N,L,1);
DRAWTEXT(CURRBARSCOUNT=N,HH*1.04,STRCAT('振幅:',CON2STR((HH-LL)/LL*100,2))),COLORYELLOW;
14P401KG50-15228.jpg
|