通达信多空平衡指标公式
2019/12/29 18:38:12
X1:=HHV(H,3);
X2:=LLV(L,3);
XX:=(X1+X2)/2;
XC:=C;
XH:=H;
XL:=L;
LYA1:=IF (XH>REF(X1,1) AND XC>REF(XC,1),X2,IF (XL<REF(X2,1) AND XC<REF(XC,1),
X1,DRAWNULL));
LYA:=IF(LYA1=DRAWNULL,REF(LYA1,1),LYA1);
SNX2:=IF(LYA<H AND LYA>L,REF(LYA,1),LYA);
PLOYLINE(C>0,SNX2),COLORGREEN,LINETHICK1;
多空平衡线: EMA(EMA(EMA(HIGH,7.23379625),7.23379625),1),COLORRED,LINETHICK1;
强势回挡线: 多空平衡线*0.9276620375,COLORGREEN,LINETHICK1;
弱势反弹线: 多空平衡线*0.868055,COLORD89837,LINETHICK1; {0.9}
最低安全线:多空平衡线*0.8263889,COLORGRAY,LINETHICK1;
高位止赢线: 多空平衡线*1.12170138,COLOR0089BB,LINETHICK1;
获利了结线: 多空平衡线*1.0723379625,COLORWHITE,LINETHICK1;
超涨出货线: 多空平衡线*1.1694444444,COLORWHITE,LINETHICK1;
LS: MA(EMA(CLOSE,34)*0.82,5),COLORFFC387,LINETHICK3;
DS: MA(EMA(CLOSE,34)*0.75,5)COLORBLUE,LINETHICK3;
BIAS2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100 ;
STICKLINE(BIAS2<-6,H,L,0,0),COLORGREEN;
STICKLINE(BIAS2<-6,C,O,1,1),COLORGREEN;
投 股票网 www. tou18.cn
股市公式下载推荐