B1:=MA(C,1); B2:SMA(SMA(SMA(B1,2,1),2,1),2,1); SMA2:=MA(B2,3);
停损下限:=IF(LLV(MA(B2,8),3)<B2,LLV(MA(B2,8),3),B2);
IF(B2>SMA2,B2,NULL),COLORRED,LINETHICK4; IF(B2<SMA2,B2,NULL),COLORGREEN,LINETHICK4; SNAKEA:HHV(MA(B2,1),13),COLORYELLOW; VAR1A:=(2*CLOSE+HIGH+LOW)/4; VAR2A:=MA(VAR1A,7);
VAR3A:=VAR2A-MA(VAR1A,7/2)<0;
VAR4A:=VAR2A-MA(VAR1A,7/2)>0; VAR5A:=BARSLAST(VAR3A); VAR6A:=0-BARSLAST(VAR4A); VAR7A:=IF(VAR3A<=0,VAR5A,VAR6A);
DRAWICON(REFX(SNAKEA=B2,1)&&SNAKEA<>B2,B2,72); NXE:=BACKSET(ISLASTBAR,SUMBARS(REFX(SNAKEA=B2,1)&&SNAKEA<>B2,1))&& REFX(SNAKEA=B2,1)&&SNAKEA<>B2; NXX:=SUMBARS(REFX(SNAKEA=B2,1)&&SNAKEA<>B2,1); NXX1:=REF(HHVBARS(H,30),NXX);
NXX2:=REF(LLVBARS(L,30),NXX); NXA:=CROSS(BACKSET(ISLASTBAR,NXX+NXX1),); NXB:=CROSS(BACKSET(ISLASTBAR,NXX+NXX2),); DRAWLINE1(NXA,H,NXE,H,1); DRAWLINE1(NXB,L,NXE,L,1);
//STICKLINE1(SNAKEA>B2 AND B2>SMA2,SNAKEA,B2,0,0),COLORBLUE;
//STICKLINE1(SNAKEA>SMA2 AND B2<SMA2,SNAKEA,SMA2,0,0),COLORBLUE;
//AAX:SNAKEA>B2 AND B2>SMA2&&REF(NOT(SNAKEA>B2 AND B2>SMA2),1),NODRAW;
//DRAWICON(AAX,H,2);
//AAX,SOUND('A');
AAY:SNAKEA>SMA2 AND B2<SMA2&&REF(NOT(SNAKEA>SMA2 AND B2<SMA2),1),NODRAW;
DRAWICON(AAY,SNAKEA,2); AAY,SOUND('A');
VAR11A:=(CLOSE*2+HIGH+LOW)/4; VAR21A:=EMA(VAR11A,13)-EMA(VAR11A,34); VAR31A:=EMA(VAR21A,5);
VAR2:=((CLOSE > REF(CLOSE,1)) AND (CLOSE > REF(CLOSE,2)));
VAR3:=((REF(VAR2,1)
AND
(CLOSE
<=
REF(CLOSE,1)))
AND
期货指标公式文华财经指标真正好用的指标期货波段多空点指标biasddxddy 来自淘豆网m.daumloan.com转载请标明出处.