文章预览
Z1:=STRCAT(HYBLOCK,' '); Z2:=STRCAT(Z1,DYBLOCK); Z3:=STRCAT(Z2,' '); DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLORRED; ZK1:(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1+XMA(XMA(H,25),25),DOTLINE,COLORBLUE; ZD1:XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1,LINETHICK2,COLORRED; ZD2:EMA(ZD1,25),LINETHICK2; DRAWBAND(ZD1,RGB(55,0,0),ZD2,RGB(0,91,0)); DRAWKLINE(H,O,L,C); STICKLINE(ZD1>LOW AND ZD1 STICKLINE(ZD1>MIN(C,O) AND ZD1 STICKLINE(ZD1>HIGH,OPEN,CLOSE,2,0),COLORYELLOW; STICKLINE(ZD1>HIGH,HIGH,LOW,0,0),COLORYELLOW; VAR23:=100*XMA(XMA((C-REF(C,1)),6),6)/XMA(XMA(ABS((C-REF(C,1))),6),6); 回调买:=LLV(VAR23,2)=LLV(VAR23,7) AND COUNT(VAR23 < 0,2) AND CROSS(VAR23,MA(VAR23,2)); XG:=ZD1>HIGH AND 回调买 AND L < =ZD1; DRAWTEXT(XG,L,'▲买入'),COLORRED; JJ:=(HIGH+LOW+CLOSE)/3; QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW); QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW))); QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(JJ-MIN(CLOSE,OPEN)))
………………………………