价涨不破:=LLV(L,3)>=REF(L,3); 三日量缩:=HHV(VOL,3)<REF(VOL,3); 高量柱:=C/REF(C,1)>=1.03 AND VOL=HHV(VOL,35); 倍量柱:=C/REF(C,1)>=1.03 AND VOL>=REF(VOL,1)*1.91; 梯量柱:=VOL>REF(VOL,1) AND REF(VOL,1)>REF(VOL,2) AND C/REF(C,1)>=1.03; 高黄金柱:=REF(高量柱,3) AND 价涨不破 AND 三日量缩; 倍黄金柱:=REF(倍量柱,3) AND 价涨不破 AND 三日量缩; 梯黄金柱:=REF(梯量柱,3) AND 价涨不破 AND 三日量缩; STICKLINE(高量柱,OPEN,CLOSE,8,0),coloryellow; STICKLINE(倍量柱,OPEN,CLOSE,8,0),coloryellow; STICKLINE(梯量柱,OPEN,CLOSE,8,0),coloryellow; STICKLINE(高黄金柱,LLV(L,3),LLV(L,3),25,1),coloryellow; STICKLINE(倍黄金柱,LLV(L,3),LLV(L,3),25,1),coloryellow; STICKLINE(梯黄金柱,LLV(L,3),LLV(L,3),25,1),coloryellow; VAR1:=(100-((90*(HHV(HIGH,21)-CLOSE))/(HHV(HIGH,21)-LLV(LOW,21)))); VAR2:=(100-((90*(HHV(HIGH,21)-CLOSE))/(HHV(HIGH,21)-LLV(LOW,21)))); VAR3:=(100-MA(((100*(HHV(HIGH,6)-CLOSE))/(HHV(HIGH,6)-LLV(LOW,6))),34)); DRAWICON(CROSS(VAR2,MA(VAR3,6)),(LOW*0.984),1); DRAWICON(CROSS(MA(VAR3,6),VAR1),(HIGH*1.035),2); BA1:=REF(C,10)=HHV(C,2*10+1); B1:=FILTER(BA1,10); C1:=BACKSET(B1,10+1); HD:=FILTER(C1,10); BA2:=REF(C,10)=LLV(C,2*10+1); B2:=FILTER(BA2,10); C2:=BACKSET(B2,10+1); LD:=FILTER(C2,10); STICKLINE(C<O AND C>REF(C,1),H,L,0,0),colormagenta; STICKLINE(C<O AND C>REF(C,1),O,C,3,0),colormagenta; IF (k<=0) RETURN 0; MA$1:MA(CLOSE, N1); IF (k<=1) RETURN 0; MA$2:MA(CLOSE, N2); IF (k<=2) RETURN 0; MA$3:MA(CLOSE, N3); IF (k<=3) RETURN 0; MA$4:MA(CLOSE, N4); IF (k<=4) RETURN 0; MA$5:MA(CLOSE, N5); IF (k<=5) RETURN 0; MA$6:MA(CLOSE, N6); IF (k<=6) RETURN 0; MA$7:MA(CLOSE, N7); IF (k<=7) RETURN 0; MA$8:MA(CLOSE, N8); |