T:=150;
TT:=3;
r:=AMOUNT/V/100;
C2:=REF(C,1);
qͣ:=IF(REF(C,1)*1.1-C<0.2 ,1,0);
STICKLINE(qͣ,OPEN,CLOSE,4,0),COLORRED;
STICKLINE(qͣ,OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(qͣ,H,L,0,0),COLORYELLOW;
B1:='';
DRAWTEXT(r AND qͣ,r,B1),COLORGREEN;
B3:='';
DRAWTEXT((O+C)/2 AND qͣ,(O+C)/2 ,B3),COLORMAGENTA;
B2:='';
DRAWTEXT(qͣ,L,B2),COLORGRAY;
MA13:=MA(C,13),COLORGRAY;
MA21:=MA(C,21),COLORWHITE;
֧ξ:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
LC:=REF(CLOSE,1);
:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100;
څݾ:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100;
}:=45;
}2:=50;
:=80;
:=20;
^:=5;
PP2:=<}2 AND REF(,1)>}2 ;
PP:=<} AND REF(,1)>} ;
PP3:=< AND REF(,1)>;
HH:=COUNT(qͣ,13)>=1;
STICKLINE(PP2 AND HH,OPEN,CLOSE,0.8,0),COLORBLUE;
STICKLINE(PP AND HH,OPEN,CLOSE,0.8,0),COLORBLUE;
STICKLINE(PP3 AND HH,OPEN,CLOSE,0.8,0),COLORBLUE;
A:=SMA(L,4,3) ;
STICKLINE(A AND REF(PP,1) AND HH ,A*0.9999,A*0.9979,5,0);
DRAWICON(A AND REF(PP,1) AND HH,L*0.98,7);
STICKLINE(A AND REF(PP3,1) AND HH ,A*0.9999,A*0.9979,5,0);
DRAWICON(A AND REF(PP3,1) AND HH,L*0.98,7);
1:=REF(HHV(H,T),TT);
1:=REF(LLV(L,T),TT);
H1:=1-(1-1)*0.191;
H2:=1-(1-1)*0.382;
H3:=1-(1-1)*0.5;
H4:=1-(1-1)*0.618;
H5:=1-(1-1)*0.809;
:REFDATE(1,DATE),COLORFFFF00;
һ:REFDATE(H1,DATE),POINTDOT,COLORYELLOW;
:REFDATE(H2,DATE),POINTDOT,COLORMAGENTA;
:REFDATE(H3,DATE),COLOR00FFFF;
:REFDATE(H4,DATE),POINTDOT,COLORMAGENTA;
:REFDATE(H5,DATE),POINTDOT,COLORYELLOW;
:REFDATE(1,DATE),COLOR00FF00;
TT3:=(CURRBARSCOUNT=5);
TT4:=(CURRBARSCOUNT=5+3);
DRAWNUMBER(TT3 AND ,,),COLOR999900;
DRAWTEXT(TT4 AND ,,':'),COLOR208FFF;
DRAWNUMBER(TT3 AND һ,һ,һ),COLOR999999;
DRAWTEXT(TT4 AND һ,һ,'191:'),COLOR208FFF;
DRAWNUMBER(TT3 AND ,,),COLOR999999;
DRAWTEXT(TT4 AND ,,'382:'),COLOR208FFF;
DRAWNUMBER(TT3 AND ,,),COLOR999999;
DRAWTEXT(TT4 AND ,,'1/2:'),COLOR208FFF;
DRAWNUMBER(TT3 AND ,,),COLOR999999;
DRAWTEXT(TT4 AND ,,'618:'),COLOR208FFF;
DRAWNUMBER(TT3 AND ,,),COLOR999999;
DRAWTEXT(TT4 AND ,,'809:'),COLOR208FFF;
DRAWNUMBER(TT3 AND ,*1.01,),COLOR999900;
DRAWTEXT(TT4 AND ,*1.009,':'),COLOR208FFF;
xʽBIc
r:=AMOUNT/V/100;
C2:=REF(C,1);
qͣ:=IF(REF(C,1)*1.1-C<0.2 ,1,0);
MA13:=MA(C,13),COLORGRAY;
MA21:=MA(C,21),COLORWHITE;
֧ξ:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
LC:=REF(CLOSE,1);
:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100;
څݾ:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100;
}:=45;
}2:=50;
:=80;
:=20;
^:=5;
PP2:=<}2 AND REF(,1)>}2 ;
PP:=<} AND REF(,1)>} ;
PP3:=< AND REF(,1)>;
HH:=COUNT(qͣ,13)>=1;
A:=SMA(L,4,3) ;
XG1:=A AND REF(PP,1) AND HH;
XG2:=A AND REF(PP3,1) AND HH;
XG:XG1 OR XG2;
؟ξ