|
G1:=REF(CLOSE,4)>REF(OPEN,4);
G2:=REF(CLOSE,3)>REF(OPEN,4) AND REF(CLOSE,3)<REF(CLOSE,4);
G3:=REF(CLOSE,2)>REF(OPEN,4) AND REF(CLOSE,2)<REF(CLOSE,3);
G4:=REF(CLOSE,1)>=REF(OPEN,4) AND REF(CLOSE,1)<REF(CLOSE,2);
G5:=CLOSE>REF(HIGH,1);{价格的比较}
H1:=REF(VOL,2)<REF(VOL,3) AND REF(VOL,1)<REF(VOL,2) AND VOL>REF(VOL,1);{量的比较}
J1:=G1 AND G2 AND G3 AND G4 AND G5 AND H1;
DRAWTEXT(J1,HIGH,'上升三法');{输出一:上升三法} |
|