通达信简洁有效测底顶指标主图源码 无未来

[复制链接]
查看148 | 回复0 | 2022-7-24 08:48:50 | 显示全部楼层 |阅读模式

通达信简洁有效测底顶指标主图源码 无未来

NC:=17;N1:=14;M0:=35;M1:=5;M2:=5;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,NC))/(0.017*STDP(TYP,NC));
DRAWICON(CROSS(CCI,3) AND CCI>REF(CCI,1),L*0.98,1);
DRAWICON(CROSS(100,CCI) AND CCI<REF(CCI,1),H*1.02,2);
MTR:=MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
AT1:=MA(MTR,N1);{牛牛指标网提供:www.tdx001.com}
FAR1:=CROSS(100,CCI) AND CCI<REF(CCI,1);
FAR2:=(REF(OPEN,1)+REF(LOW,1))/2;
FAR3:=IF(REF(OPEN,1)>OPEN,FAR2,REF(CLOSE,1));
FAR4:=IF(FAR1,FAR3-0.35*AT1,0);
DRAWNUMBER(FAR1,H*1.01,FAR4)COLORYELLOW;
RSV:=(CLOSE-LLV(LOW,M0))/(HHV(HIGH,M0)-LLV(LOW,M0))*100;
K:=SMA(RSV,M1,1),COLOR80C000;
D:=SMA(K,M2,1),COLORYELLOW;
J:=3*K-2*D,COLORWHITE;
FAR5:=J-K;
FAR6:=FAR5/REF(FAR5,1);
FAR7:=FAR5/REF(FAR5,3);
FAR8:=FAR5/REF(FAR5,5);
FAR9:=ABS(D-(FAR6+FAR7+FAR8)/7)+ABS(K-REF(D,1));
DRAWNUMBER(FAR1,H*1.05,FAR9),COLORGREEN;
离场参考价:FAR4,NODRAW,COLORYELLOW;
风险系数值:IF(FAR1,FAR9,0),NODRAW,COLORGREEN;
 

113166469.gif

113166469.gif

 

回复

使用道具 举报

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

本版积分规则