量柱幅图
缩百低:=V<=LLV(IF(H=L,HHV(V,100),V),100) AND BARSCOUNT(V)>9 AND NOT(O=C AND H=O AND H=L) AND LOWRANGE(V)>10,NODRAW,COLORMAGENTA;
SL1TJ:=V=LLV(V,100) AND BARSCOUNT(V)>10 OR 缩百低;
SL2TJ:=V<REF(V,1)/2 AND NOT(SL1TJ);
SDI:=IF(C>O,O,C);
SDING:=IF(C>O,C,O);
SL3TJ:=V<REF(V,1)/1.5 AND NOT(SL2TJ) AND NOT(SL1TJ);{ AND SDI>REF((SDING-SDI)/1.5+SDI,1);}
SL4TJ:=V<REF(V,1)*3/4 AND NOT(SL3TJ) AND NOT(SL2TJ) AND NOT(SL1TJ);
DRAWTEXT(SL4TJ,V*0.95,'4'),DRAWABOVE,COLORRED;
DRAWTEXT(SL3TJ,V*0.95,'3'),DRAWABOVE,COLORRED;
DRAWTEXT(SL2TJ,V*0.95,'2'),DRAWABOVE,COLORRED;
DRAWTEXT(SL1TJ,V*0.95,'1'),DRAWABOVE,COLORRED;
|