通达信天阳地阴指标公式
2020/3/13 19:16:33
Var1:=(HIGH+LOW+CLOSE)/3;
Var2:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));
Var3:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-Var1);
Var4:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);
Var5:=IF(HIGH=LOW,1,Var1-MIN(CLOSE,OPEN));
Var6:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
Var7:=Var2*Var6;
Var8:=Var3*Var6;
Var9:=Var4*Var6;
VarA:=Var5*Var6;
STICKLINE(CLOSE>0,0,Var7+VarA,8,1), , COLORred;
买入量: Var7+VarA,LINETHICK0;
{www.tou18.cn 投股票网_最新股票指标公式}
STICKLINE(CLOSE>0,(Var8+Var9)*(-1),0,8,1), , COLORblue;
卖出量:(Var8+Var9)*(-1),LINETHICK0;
买入10:MA((Var7+VarA),10),LINETHICK0;
卖出10:MA((Var8+Var9)*(-1),10),LINETHICK0;
买入30:MA((Var7+VarA),30),LINETHICK0;
卖出30:MA((Var8+Var9)*(-1),30),LINETHICK0;
VarF:=TROUGHBARS(3,15,1)<4;
升跌:=EMA((C/MA((2*C+H+L)/4,30)-1)*100,3);
STICKLINE(FILTER(VarF=1,5),vol*2,0,5,0),colorblue;
DRAWICON(FILTER(VarF=1,5),vol*2.2,1);
DRAWTEXT(FILTER(VarF=1,5),vol*2.2,'-->出击'),colorwhite;
投股 票网 www.tou18 .cn
股市公式下载推荐