趋势线:EMA((O+H+L)/3,55),COLORRED,LINETHICK2;
阳:=C>O;
阴:=C<O;
MA1:MA(C,5);
MA2:MA(C,10);
MA3:MA(C,20);
MA4:MA(C,60);
MA5:MA(C,120);
STICKLINE(阳,O,C,3,0), COLOR0044FF;
STICKLINE(阳,O,C,2.6,0), COLOR0077FF;
STICKLINE(阳,O,C,2.2,0), COLOR1199FF;
STICKLINE(阳,O,C,1.8,0), COLOR22BBFF;
STICKLINE(阳,O,C,1.4,0), COLOR33DDFF;
STICKLINE(阳,O,C,1,0), COLOR33FFFF;
STICKLINE(阴,C,O,3.0,0),COLORFF4400;
STICKLINE(阴,C,O,2.6,0),COLORFF7700;
STICKLINE(阴,CLOSE,O,2.2,0),COLORFF9911;
STICKLINE(阴,CLOSE,O,1.8,0),COLORFFBB22;
STICKLINE(阴,CLOSE,O,1.4,0),COLORFFDD33;
STICKLINE(阴,CLOSE,O,1,0),COLORFFFF33;
T:=EMA((O+H+L)/3,55);{分析家公式网www.fxjgsw.com}
T1:=IF((HHV(ABS(((HHV(CLOSE,6)/LLV(CLOSE,6))-1)),6)>(10/100)),3,6);
T2:=IF((HHV(ABS(((HHV(CLOSE,6)/LLV(CLOSE,6))-1)),6)>(10/100)),3,6)*4;
T3:=IF((HHV(ABS(((HHV(CLOSE,6)/LLV(CLOSE,6))-1)),6)>(10/100)),3,6)*8;
T4:=IF((HHV(ABS(((HHV(CLOSE,6)/LLV(CLOSE,6))-1)),6)>(10/100)),3,6)*16;
T5:=IF((HHV(ABS(((HHV(CLOSE,6)/LLV(CLOSE,6))-1)),6)>(10/100)),3,6)*48;
T6:=REF(C>O OR C<O,2) AND C>MA(C,5) AND C/REF(C,1)>1.01 AND H/C<1.018;
T7:=(REF(C<O,2)OR REF(C<O,3))AND REF(C<O OR C>O,5);
T8:=REF(C/REF(C,1)<1.02,2) AND REF(C>O AND C/REF(C,1)<1.01,1);
T9:=IF((MINUTE=5),T5,IF((MINUTE=15),T4,IF((MINUTE=30),T3,IF((MINUTE=60),T2,T1))));
T10:=IF(V=0,MA(C,T9),((SUM(AMOUNT,T9)/SUM(V,T9))/100));
T11:=REF(C<O OR C>O,17) AND REF(H>C,7) AND REF(C>O OR C<O,8) AND REF(C>O OR C<O,6) ;
T12:=REF(C<O OR C>O,16) AND REF(O/REF(C,1)<1.05,6) AND CROSS(C,T);
TTT:=T6 AND T7 AND T8 AND T11 AND T12 AND CROSS(C,REF(T10,1)),COLORYELLOW;
DRAWICON(TTT,L-0.06,9);
H1:=(HIGH+LOW+CLOSE)/3;
H2:=(H1-MA(H1,14))/(0.015*AVEDEV(H1,14));
H3:=REF(H2=HHV(H2,20),1) AND C<O;
H4:=REF(H2=LLV(H2,20),1) AND C>O;
DRAWICON(H4,L-0.06,11);
DRAWICON(H3,H+0.06,12);
|