通达信好恶财神指标公式
2020/1/5 18:30:03
本文公式指标的选股公式如下:
好恶财神之财神到选股指标公式
{参数:N1 1 60 3 N2 1 90 10 M1 1 60 5 M2 1 90 20}
LC:= REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100;
买:EMA(RSI1,M1),COLORRED,linethick2;
卖:EMA(RSI2,M2),linethick2,COLORffff00;
Var1:=REF(CLOSE,1);
Var2:=SMA(MAX(CLOSE-Var1,0),6,1)/SMA(ABS(CLOSE-Var1),6,1)*100;
好财神:(CROSS(80,Var2)),colorf00ff0,linethick2;
drawicon(好财神>0,买*1.15,2);
drawtext(好财神>0,买,'财神跑'),color00ff00;
Var3:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
Var4:SMA(SMA(Var3,3,1),3,1),color00ff00;
Var5:=EMA(Var4,5);
var7:3*Var4-2*Var5,colorgreen;
恶财神:CROSS(var7,Var4),coloryellow,stick;
DRAWTEXT(CROSS(var7,Var4) AND var7<21,Var4,'财神到'),coloryellow;
drawicon(CROSS(var7,Var4)>0 and var7<21,var4,1);
分界:45,colorff0000;
顶:90,coloryellow,linethick2;
投 股票网 www.t ou18.cn
股市公式下载推荐