月B:=MONTH=7 AND (DAY=21);
月B1:=MONTH=7 AND (DAY=23);
月B2:=MONTH=7 AND (DAY=22);
月B3:=MONTH=7 AND (DAY=28);
B1:=FILTER(月B,1);
C1:=BACKSET(B1,1+1);
D1:=FILTER(C1,1);
E1:=BACKSET(ISLASTBAR,BARSLAST(D1)+1);
F1:=E1>REF(E1,1);
A线RAWLINE(F1,H,月B1,H,1),COLORYELLOW;
B线RAWLINE(F1,H,月B1,L,1),COLORYELLOW;
C线RAWLINE(F1,H,月B2,L,1),COLORYELLOW;
D线RAWLINE(F1,H,月B,L,1),COLORYELLOW;
黄金线1RAWLINE(F1,H,月B,H-23.12,1),;
DRAWTEXT(ISLASTBAR,A线*0.99,'A强升区'),;
DRAWTEXT(ISLASTBAR,B线,'B弱升区'),COLORRED;
DRAWTEXT(ISLASTBAR,C线,'C弱降区'),COLORRED;
DRAWTEXT(ISLASTBAR,D线,'D强降区'),COLORRED; |