同花顺扣抵公式
爆发点:=(DCLOSE-REF(C,1))/REF(C,1)*100;
XB:=CROSS(爆发点,20);
DRAWTEXT(XB,L,'←←主升波段'),colorred;
买线:=ZIG(3,10);
卖线:=MA(买线,3);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
DRAWTEXT(bu,L*0.99,'买'),linethick1,color00aaff;
DRAWTEXT(sel,H*1.01,'卖'),linethick1,color00ff00;
A1:=CURRBARSCOUNT;
DRAWICON(A1+1=5,L,13);
DRAWTEXT(A1+1=5,L-5,'5日'),colorred;
A2:=CURRBARSCOUNT;
DRAWICON(A2+1=10,L,14);
DRAWTEXT(A2+1=10,L-5,'10日'),colorred;
A3:=CURRBARSCOUNT;
DRAWICON(A3+1=20,L,13);
DRAWTEXT(A3+1=20,L-5,'20日'),colorred;
A4:=CURRBARSCOUNT;
DRAWICON(A4+1=60,L,14);
DRAWTEXT(A4+1=60,L-5,'60日'),colorred;
A5:=CURRBARSCOUNT;
DRAWICON(A5+1=120,L,13);
DRAWTEXT(A5+1=120,L-5,'120日'),colorred;
A6:=CURRBARSCOUNT;
DRAWICON(A6+1=250,L,14);
DRAWTEXT(A6+1=250,L-5,'250日'),colorred;
A7:=CURRBARSCOUNT;
DRAWICON(A7+1=453,L,13);
DRAWTEXT(A7+1=453,L-5,'453日'),colorred;
A8:=CURRBARSCOUNT;
DRAWICON(A8+1=550,L,14);