通达信军令如山副图源码你真正需要的指标

[复制链接]
查看46 | 回复0 | 2022-7-24 04:29:04 | 显示全部楼层 |阅读模式

军令如山副图源码

STICKLINE(C,90,90,1,0),COLOR3C3CFF;
 STICKLINE(C,10,10,1,0),COLORCYAN;

K:=(C+H+L)/3;
 D:=MA(K,4);
现价:C,NODRAW,COLORYELLOW;
股:=D;
币:=LLV(D,5);
 K2:=IF(股>币+币*0.01,0,币+币*0.01);
 K3:=IF((股-(股*0.01))<币,0,股-(股*0.01));
出击≯:K2,NODRAW,COLORRED;
止盈≮:K3,NODRAW,COLORCYAN;
止损≮:币,NODRAW,COLORGREEN;
 VAR1:=MA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,3);
 STICKLINE(C>=止盈≮ AND 股>币 AND C>=币+币*0.01 ,VAR1,REF(VAR1,1),1,0),COLORRED;
 STICKLINE(C<止盈≮ OR 股=币 OR C<币+币*0.01,VAR1,REF(VAR1,1),1,0),COLORGREEN;

VARA:=LLV(LOW,36);
 VARB:=HHV(HIGH,30);
 VARC:=EMA((CLOSE-VARA)/(VARB-VARA)*4,4)*25;
趋势:VARC,COLORYELLOW,LINETHICK1;
多空:IF(趋势>MA(趋势,5),趋势,DRAWNULL),COLORRED,LINETHICK1;

TYP:= (HIGH + LOW + CLOSE)/3;
 V1:=SUM(IF(TYP>REF(TYP,1),TYP*VOL,0),14)/SUM(IF(TYP<REF(TYP,1),TYP*VOL,0),14);
资金:100-(100/(1+V1)),COLORMAGENTA;

644211185.jpg

644211185.jpg

回复

使用道具 举报

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

本版积分规则