九毛八公式指标
ED1:=(-2*REF(C,2)+REF(C,1)+2*C); ED2:=(-0.4*REF(C,4)-0.4*REF(C,3)-1.1*REF(C,2)+0.9*REF(C,1)+2*C); JF1:=SMA(SMA(ED1,3,1),3,1),COLORYELLOW; JF2:=SMA(SMA(ED2,4,1),3,1),COLORWHITE; DRAWICON(CROSS(ED2,JF2),L/1.001,1); DRAWICON(CROSS(JF2,ED2),H*1.001,2); S1:=BARSLAST(CROSS(JF2,ED2)); DRAWLINE(CURRBARSCOUNT=CONST(REF(S1,S1+1))+CONST(S1)+2,H,CURRBARSCOUNT=CONST(S1)+1,H,2);
公式模块:
ED1:=(-2*REF(C,2)+REF(C,1)+2*C);
ED2:=(-0.4*REF(C,4)-0.4*REF(C,3)-1.1*REF(C,2)+0.9*REF(C,1)+2*C); JF1:=SMA(SMA(ED1,3,1),3,1),COLORYELLOW; JF2:=SMA(SMA(ED2,4,1),3,1),COLORWHITE; S1:=BArslAST(crOSS(JF2,ED2)); AA:=DRAWLINE(CURRBARSCOUNT=CONST(REF(S1,S1+1))+CONST(S1)+2,H,CURRBARSCOUNT=CONST(S1)+1,H,2); CROSS(C,AA);