N:=6;
CYC13:=0.01*EMA(AMOUNT,13)/EMA(VOL,13);
CYS:=(CLOSE-CYC13)/CYC13*100;0;
AA:=REF(H,N)=HHV(H,2*N+1);
BB:=BACKSET(AA,N+1);
CC:=FILTER(BB,N) AND H=HHV(H,N+1);
DD:=BARSLAST(CC);
EE:=IF(CC,CURRBARSCOUNT,0);
GG:=IF(DD,REF(H,DD),H);
HH:=IF(DD,REF(EE,DD),EE);
KK:=REF(GG,DD+1);
CS1:=CONST(HH);
JJ:=REF(HH,DD+1);
CS2:=CONST(JJ);
近高:DRAWLINE(CURRBARSCOUNT=CS1,H,ISLASTBAR,REF(H,CS1-1),1)COLOR00FF00 DOTLINE;
前高:DRAWLINE(CURRBARSCOUNT=CS2,H,ISLASTBAR,REF(H,CS2-1),1)COLOR00FF00 DOTLINE;
PLOYLINE(MA(CYS,5)>REF(MA(CYS,5),1)AND ATAN((MA(CYS,5)/REF(MA(CYS,5),1)-1)*100)*180/3.1416>40,LOW*0.995),COLORRED LINETHICK2;
散戶:EMA(C,4),COLORYELLOW LINETHICK1;
綠降:(46.18*EMA(CLOSE,10)-31.82*EMA(CLOSE,4))/14.36,COLORGREEN,LINETHICK1;
STICKLINE(CROSS(散戶,綠降),H,L,0.5,0)COLORMAGENTA;
聯(lián)系客服