股市中,指标到底有没有用?
源码
明Y:=REF(EMA(H,5)+EMA((H-L),5),1);
明D:=REF(EMA(H,5),1);
明Z:=REF((C*3+H*2+L*2+O)/8,1);
明K:=REF(EMA(L,5),1);
DYNAINFO(3),COLORYELLOW;
分时压力:MA(REF(HHV(C,30),1),2),COLORMAGENTA,DOTLINE;
分时支撑:MA(REF(LLV(C,30),1),2),COLORBLUE,DOTLINE;
Y:='MK.明Y#DAY';
D:='MK.明D#DAY';
Z:='MK.明Z#DAY';
K:='MK.明K#DAY';
MAK:='MA.MA3#DAY';
KJ2:=REFDATE(D,DATE),COLORFF00FF;
DRAWTEXT_FIX(1,0.6,0.9,0,'次顶' ),COLORRED;
DRAWNUMBER_FIX(1,0.65,0.9,0,KJ2),COLORRED;
KJ6:=REFDATE(Y,DATE),COLORWHITE;
DRAWTEXT_FIX(1,0.7,0.9,0,'超顶' ),COLOR3577FF;
DRAWNUMBER_FIX(1,0.75,0.9,0,KJ6),COLOR3577FF;
KJ5:=REFDATE(K,DATE),COLORWHITE;
DRAWTEXT_FIX(1,0.6,1,0,'最底' ),COLORWHITE;
DRAWNUMBER_FIX(1,0.65,1,0,KJ5),COLORWHITE;
KJ4:=REFDATE(Z,DATE),COLORCYAN;
DRAWTEXT_FIX(1,0.7,1,0,'次底' ),COLORCYAN;
DRAWNUMBER_FIX(1,0,COLORCYAN;
DRAWTEXT_FIX(1,0.8,0.:' ),COLORRED;
DRAWTEXT_FIX(DKX11>DKX2'),COLORRED;
DRAWICON(FILTER(CROSS(C,DYNAINF1-0.01),60),C,1);
DRAWNUMBER(FILTER(CROSS(C,DYNAINFO(3)*1.1-0.01),60),C*0.99,TIME),COLORWHITE;
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
支撑:=L1+P1*0.5/9,COLORGREEN,DOTLINE;
DRAWICON(LONGCROSS(支撑 ,),C-0.01,7);
STICKLINE(LONGCROSS(支撑,,C,阻力,0,-1),COLORCYAN;
DRAWICON(LONGCROSS(C,阻力,2)AND C<ZTPRICE(REF(CLOSE,1),0.1),C+0.01,8);
STICKLINE(LONGCROSS(C,阻力,2) AND C>分时压力,C,支撑,0,-1),COLORRED;