以下是同花顺军令如山副图源码
STICKLINE(C,90,90,5,0),COLOR3C3CFF;
STICKLINE(C,10,10,5,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),3,0),colorred;
STICKLINE(C<止盈≮ OR 股=币 OR C<币+币*0.01,VAR1,REF(VAR1,1),3,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;
{大型股票公式,股票编程,股票技术教程投稿平台-你就是股神,网址:694.cn 备注:如果正文内容没有显示完全的,说明在附件中,请点击‘立即下载’下载该附件!}