花开四季 短线福音!牛熊市通用!包你闲不住!主图源码
2014-12-16 21:58:07点击:
VAR1:=(3*C+O+H+L)/6;
VAR2:=EMA(3*VAR1-2*SMA(VAR1,2,1),8);
DRAWTEXT(C>=VAR2 AND REF(C,1)<REF(VAR2,1),l,'进'),CoLorRED;
DRAWTEXT(C<VAR2 AND REF(C,1)>=REF(VAR2,1),h,'出'),CoLorYELLOW;
VAR2:=EMA(3*VAR1-2*SMA(VAR1,2,1),8);
DRAWTEXT(C>=VAR2 AND REF(C,1)<REF(VAR2,1),l,'进'),CoLorRED;
DRAWTEXT(C<VAR2 AND REF(C,1)>=REF(VAR2,1),h,'出'),CoLorYELLOW;