同花顺股市天气预报指标公式[查股公式]
2022/4/14 20:57:59
同花顺股市天气预报指标公式
aa:=(2*C+H+L)/4;
bb:=REF(aa,1);
cc:=SMA(MAX(aa-bb,0),5,1)/SMA(ABS(aa-bb),5,1)*100;
dd:=SMA(MAX(aa-bb,0),30,1)/SMA(ABS(aa-bb),30,1)*100;
天气预报:=cc-dd;
A:=IF(天气预报>0,天气预报,0);
B:=IF(天气预报<0,天气预报,0);
A1:=EMA(A,15);
B1:=EMA(B,15);
v1:=CROSS(a,a1);
v2:=CROSS(a1,a);
v3:=CROSS(b,b1);
v4:=CROSS(b1,b);
艳阳照:IF(a>=a1,100,0),colorred;
雨初歇:IF(CROSS(b,b1) OR(b>=b1 AND BARSLAST(v3)<=BARSLAST(v1) AND BARSLAST(v3)<=BARSLAST(v2) AND BARSLAST(v3)<=BARSLAST(v4) AND a<=a1),-50,0),coloryellow;
//{www.ttchagu.com 天天查股网_同花顺股票指标公式}
晴转云:IF(CROSS(a1,a) OR(a1>=a AND BARSLAST(v2)<=BARSLAST(v4) AND BARSLAST(v2)<=BARSLAST(v1) AND BARSLAST(v2)<=BARSLAST(v3)AND b>=b1),50,0),colorcyan;
雨绵绵:IF(b<=b1 ,-100,0),colorgreen;
相关文章列表
天天查股公式列表