军令如山副图源码
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;