同花顺天山雪莲指标公式

[复制链接]
查看195 | 回复0 | 2021-8-20 23:18:27 | 显示全部楼层 |阅读模式

N:=10;M:=3;
Var4:=3*SMA((INDEXC-LLV(INDEXL,n))/(HHV(INDEXH, n)-LLV(INDEXL,n))*100, 20, 1)-2*SMA(SMA((INDEXC-LLV(INDEXL,n))/(HHV(INDEXH,n)-LLV(INDEXL,n))*100, 20, 1), 15, 1);
Var5:=3*SMA((INDEXO-LLV(INDEXL,n))/(HHV(INDEXH, n)-LLV(INDEXL,n))*100, 20, 1)-2*SMA(SMA((INDEXO-LLV(INDEXL,n))/(HHV(INDEXH,n)-LLV(INDEXL,n))*100, 20, 1), 15, 1);
Var6:=100-Var5;
Var7:=100-Var4;
a1:=REF(INDEXC,1);
a2:=100*V/CAPITAL;
STICKLINE(Var7<REF(Var6, 1), -1*Var7, -1*Var6, a2,1), colorred;
va1:=MA(var6,3);
//{www.gUPaNg.com 股旁网_同花顺股票指标公式}
STICKLINE(-1*Var7>va1, -1*Var7, -1*Var6,3,1), coloryellow;
STICKLINE(Var7>=REF(Var6, 1), -1*Var7, -1*Var6, 3,1), colorgreen;
天山雪莲:FORCAST(-1*var6,21),colorgreen;
天山雪莲1:FORCAST(-1*var6,m),colorbrown;
冰火莲:(-1*Var7+ (-1*Var6))/2, LINETHICK0, colorblue;
DRAWTEXT(CROSS(冰火莲,天山雪莲)AND 天山雪莲<-48,冰火莲,'起轿'),colorred;

202108202245.jpg

202108202245.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则