以下是简单主图,简简单单,一目了然
高1:=REF(HHV(H,120),3);
低1:=REF(LLV(L,120),3);
H1:=高1-(高1-低1)*0.191;
H2:=高1-(高1-低1)*0.382;
H3:=高1-(高1-低1)*0.5;
H4:=高1-(高1-低1)*0.618;
H5:=高1-(高1-低1)*0.809;
突破:=REF(EMA(C,14),1);
A1X:=(EMA(C,10)-突破)/突破*100;
基准:=IF(A1X>=0,REF(EMA(C,10),BARSLAST(CROSS(A1X,0))+1),REF(EMA(C,10),BARSLAST(CROSS(0,A1X))+1));
STICKLINE(A1X>=0,H,L,0,0),COLORRED;
STICKLINE(A1X>=0 AND C>=O,C,O,3,1),COLORRED;
STICKLINE(A1X>=0 AND C<O,C,O,3,0),COLORRED;
STICKLINE(A1X<0,H,L,0,0),COLORCYAN;
STICKLINE(A1X<0 AND C>=O,C,O,3,1),COLORCYAN;
STICKLINE(A1X<0 AND C<O,C,O,3,0),COLORCYAN;