Var1:=HHV(HIGH,3);
Var2:=(IF(WINNER(1.1*CLOSE)<0,0,WINNER(1.1*CLOSE))-IF(WINNER(0.9*
CLOSE)<0,0,WINNER(0.9*CLOSE)))*100;
Var3:=IF(Var1<0,0,Var1);
Var4:=IF(Var2<0,0,Var2);
v1:=llv(low,10);
v2:=hhv(h,25);
价位线:=ema((c-v1)/(v2-v1)*4,4);
买入:STICKLINE(cross(价位线,0.3),50,0,5,0), COLOR00CCff,LINETHICK1;
卖出:STICKLINE(cross(3.5,价位线),50,100,5,0), colorred,LINETHICK2;
k9:"kdj.k"(9,3,3),color00ffff;
d9:"kdj.d"(9,3,3),color0000ff;
j9:"kdj.j"(9,3,3),colorff99ff;
202108211155.jpg
|