双线夹阳主图指标 通达信公式(附图)

拾荒网 通达信公式 324

涨停:=IF(REF(C,1)*1.1-C<0.01 ,1,0);
STICKLINE(涨停,OPEN,CLOSE,4,0),COLORRED;
STICKLINE(涨停,OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(涨停,H,L,0,0),COLORYELLOW;
A:=REF(C,BARSLAST(C/REF(C,1)>1.095));
IF(REFX(A,1)=A AND BARSLAST(C/REF(C,1)>1.095)<14,A*0.955,DRAWNULL);
IF(REFX(A,1)=A AND BARSLAST(C/REF(C,1)>1.095)<14,A,DRAWNULL);
MA(O,IF(BARSLAST(C/REF(C,1)>1.095)<14,BARSLAST(C/REF(C,1)>1.095)+1,DRAWNULL));