VAR1:=C>1;
A: EMA(WINNER(CLOSE),10);
G: EMA(WINNER(CLOSE),34);
SD: EMA(WINNER(CLOSE),120);
VAR20:=EMA(WINNER(CLOSE),259);
VAR30:=MA(VOL,25)>MA(VOL,140);
VAR40:=MA(VOL,5)>MA(VOL,28);
L拐点: IF(VAR1,VAR30 AND CROSS(A,G) AND G<0.6 AND G>VAR20,0),STICK,LINETHICK3,COLOR00FF00;
跟踪: IF(VAR1,VAR40 AND CROSS(A,VAR20) AND G<0.6 AND VAR20>REF(VAR20,5) AND VAR20<0.6 AND (MA(CLOSE,300)>REF(MA(CLOSE,300),2) OR MA(CLOSE,21)>REF(MA(CLOSE,21),21)),0),STICK,LINETHICK3,colorblue;
介入区域: IF(VAR1,A<0.15 AND ABS(A-G)<0.05 AND CROSS(A,G),0),STICK,LINETHICK3,coloryellow;
高险区域: IF(VAR1,A>0.85 AND CLOSE<MA(CLOSE,5),0),STICK,LINETHICK3,colorred;
不会起名 2013-8-8 23:23:16
XG:ABS(C-MA(C,25))/MA(C,25)<0.01; 上25线
不会起名 2013-8-20 0:15:13
HIGHN:=10;LOWN:=10;HIGHDISPLAY:=0;LOWDISPLAY:=0;ZGDISPLAY:=0;MADISPLAY:=0;
AA:=REF(H,HIGHN)=HHV(H,2*HIGHN+1);
QY:=BACKSET(AA,HIGHN+1);
CC:=FILTER(QY,HIGHN) AND H=HHV(H,HIGHN+1);
DRAWICON(CC,H*1.02,2);
DDD:=BARSLAST(CC);
GDTS:=IF(CC,CURRBARSCOUNT,0);
DINGBU:=IF(DDD,REF(H,DDD),H);
DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS);
DINGBU1:=REF(DINGBU,DDD+1);
GDCS1:=CONST(DINGBUTS);
DINGBUTS1:=REF(DINGBUTS,DDD+1);
GDCS2:=CONST(DINGBUTS1);
DINGBU2:=REF(DINGBU1,DDD+1);
MM:=IF(CURRBARSCOUNT>GDCS2,0,1);
高点压力RAWLINE(CURRBARSCOUNT=GDCS2,H,CURRBARSCOUNT=GDCS1,H,1) ;
DRAWLINE(CURRBARSCOUNT=GDCS2,H,ISLASTBAR,REF(H,GDCS2-1),1);
DRAWLINE(CURRBARSCOUNT=GDCS1,H,ISLASTBAR,REF(H,GDCS1-1),1);
AA1:=REF(L,LOWN)=LLV(L,2*LOWN+1);
QY1:=BACKSET(AA1,LOWN+1);
CC1:=FILTER(QY1,LOWN) AND L=LLV(L,LOWN+1);
DRAWICON(CC1,L*0.98,1);
DD1:=BARSLAST(CC1);
DDTS:=IF(CC1,CURRBARSCOUNT,0);
YDB:=IF(DD1,REF(L,DD1),L);
DDTS1:=IF(DD1,REF(DDTS,DD1),DDTS);
DDCS1:=CONST(DDTS1);
ZDB:=REF(YDB,DD1+1);
DDTS2:=REF(DDTS1,DD1+1);
DDCS2:=CONST(DDTS2);
低点支撑RAWLINE(CURRBARSCOUNT=DDCS2,L,CURRBARSCOUNT=DDCS1,L,1) ;
ZGSTAR:=(高点压力+低点支撑)/2;
ZGEND:=CONST((高点压力+低点支撑)/2);
STARDAY:=IF(DDCS2<GDCS2,DDCS2,GDCS2);
中轨RAWLINE(CURRBARSCOUNT=STARDAY,ZGSTAR,ISLASTBAR,ZGEND,1);
DRAWLINE(CURRBARSCOUNT=DDCS1,L,ISLASTBAR,REF(L,DDCS1-1),1);
DRAWLINE(CURRBARSCOUNT=DDCS2,L,ISLASTBAR,REF(L,DDCS2-1),1);
MA5:MA(C,5),COLORWHITE;
MA10:MA(C,10),COLORYELLOW;
MA25:MA(C,25),COLORRED;
|