编写条件:
编写方法:
网友求助:
把这指标出现突破的地方做个预警选股``有图··再次感谢你们的热心···每次有求都必应··理想就是强 ·
MA25:EMA(CLOSE,25);
FJ:EMA(CLOSE,905);
STICKLINE((MA25 >FJ),MA25,FJ,1,0),COLOR0000FF;
STICKLINE((MA25 >FJ)AND MA25<REF(MA25,1),MA25,FJ,1,0),COLORYELLOW;
STICKLINE((MA25 >FJ)AND FJ<REF(FJ,1),MA25,FJ,1,0),COLORCYAN;
STICKLINE((MA25 <FJ),MA25,FJ,1,0),COLOR00FF00;
STICKLINE((MA25 <FJ)AND MA25>REF(MA25,1),MA25,FJ,1,0),COLORCYAN;
STICKLINE((MA25 <FJ)AND FJ>REF(FJ,1),MA25,FJ,1,0),COLORLIRED;
DRAWICON(crOSS(MA25,FJ),FJ,23);
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
ZL:L1+P1*7/8,COLOR00DD00;
ZC:L1+P1*0.5/8,COLOR00DD00;
XJ:CLOSE,COLORWHITE,LINETHICK2;
STICKLINE(CROSS(ZC,XJ),ZC,ZL,1,0),COLORYELLOW;
DRAWTEXT(LONGCROSS(ZC,XJ,2),ZC*1.001,'★B'),COLORYELLOW;{吸}
DRAWTEXT(LONGCROSS(XJ,ZL,2),XJ,'★'),COLORRED;{抛};
解答如下:
MA25:=EMA(CLOSE,25);
FJ:=EMA(CLOSE,905);
XG:CROSS(MA25,FJ);