压缩通达信二个指标
2020/1/13 19:03:34
公式编写说明:
这是通达信二个指标我想放在一起,但是压缩了,怎么才能不让压缩,请老师修改VAR1:=(CLOSE*2+HIGH+LOW)/4;VAR2:=EMA(VAR1,13)-EMA(VAR1,34);VAR3:=EMA(VAR2,5);主力弃盘: (-2)*(VAR2-VAR3)*3.8;主力控盘: 2*(VAR2-VAR3)*3.8;VAR11:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;机构做空能量线: SMA(VAR11,2,1),COLORGREEN;VAR22:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;机构做多能量线: SMA(VAR22,5,1)-8,COLORRED;LH: 80;LH1: 50;
公式源码回答:
VAR11:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;
机构做空能量线: SMA(VAR11,2,1),colorgreen,LINETHICK3;
VAR22:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
机构做多能量线: SMA(VAR22,5,1)-8,colorred,LINETHICK3;
VAR1:=(CLOSE*2+HIGH+LOW)/4;
VAR2:=EMA(VAR1,13)-EMA(VAR1,34);
VAR3:=EMA(VAR2,5);
VAR4:=(VAR2-VAR3);
VAR5:=(VAR4-CONST(LLV(VAR4,140)))/(CONST(HHV(VAR4,140))-CONST(LLV(VAR4,140)))*100;
主力控盘:VAR5,COLOR00FFFF;
主力弃盘:-VAR5+100,COLORCCCC00;
NOTEXT1:100,COLORCCCCCC,DOTLINE;
NOTEXT2:50,COLORCCCCCC,DOTLINE;
NOTEXT3:0,COLORCCCCCC,DOTLINE;
投股票 网 www.tou18.c n
股市公式下载推荐