tdx1:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));
tdx2:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));
tdx3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));
zt1:=ABS(CLOSE-REF(CLOSE,5));
VIR1:=SUM(ABS(CLOSE-REF(CLOSE,1)),5);
ER1:=zt1/VIR1;
aa1:=ER1*(0.8-2/8)+2/8;
aa2:=aa1*aa1;
zt2:=ABS(CLOSE-REF(CLOSE,10));
aa3:=SUM(ABS(CLOSE-REF(CLOSE,1)),10);
ER2:=zt2/aa3;
aa4:=ER2*(0.8-2/24)+2/24;
aa5:=aa4*aa4;
STICKLINE(tdx2 < MA(tdx3,6),LOW,HIGH,0,1),COLORLIBLUE;
STICKLINE(tdx2 > MA(tdx3,6),LOW,HIGH,0,1),COLORRED;
STICKLINE(((OPEN>CLOSE)AND(tdx2<MA(tdx3,6))),(CLOSE-0.03),OPEN,3.05,0),COLORLIBLUE;
STICKLINE(((OPEN<CLOSE)AND(tdx2<MA(tdx3,6))),CLOSE,OPEN,3.05,1),COLORLIBLUE;
STICKLINE(((OPEN>CLOSE)AND(tdx2>MA(tdx3,6))),OPEN,(CLOSE-0.03),3.05,0),COLORRED;
STICKLINE(((OPEN<CLOSE)AND(tdx2>MA(tdx3,6))),OPEN,CLOSE,3.05,1),COLORRED;
DRAWICON(CROSS(tdx2,MA(tdx3,6)),(LOW - (LOW*0.02)),7);
DRAWICON(CROSS(MA(tdx3,6),tdx1),(HIGH+(HIGH*0.02)),8);
qq4:=REF(H,1)-REF(L,1);
aa6:=(REF(H,1)+REF(L,1)+REF(C,1)*2)/4;
qq1:=aa6+qq4;
qq5:=aa6-qq4;
qq2:=aa6*2-REF(L,1);
qq3:=aa6*2-REF(H,1);
时尚:IF(qq1>REF(C,1)*1.1,REF(C,1)*1.1,qq1)NODRAW;
变色:IF(qq2>时尚,(时尚-aa6)*0.618+aa6,qq2)NODRAW,COLORBLUE;
M:=IF(qq5<REF(C,1)/1.1,REF(C,1)/1.1,qq5);
通达信:IF(qq3<M,aa6-(aa6-M)*0.618,qq3)NODRAW;
主图:IF(qq5<REF(C,1)/1.1,REF(C,1)/1.1,qq5)NODRAW;
16014DX240-44556.jpg
|