DRAWGBK(CURRBARSCOUNT=1,RGB(0,0,50),RGB(200,160,170),1,'11',0);
DRAWBAND(MA(C,5),RGB(220,150,50),MA(C,10),RGB(0,150,255));
{Ìø¿Õȱ¿Ú}
LL:=REF(L,1);
HH:=REF(H,1);
SQK:=L>HH;
XQK:=H<LL;
STICKLINE(SQK,L,HH,10,1),COLORRED;
STICKLINE(XQK,H,LL,10,2),COLORGREEN;
VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
A1:(EMA(VAR1,3)+EMA(VAR1,6)+EMA(VAR1,12)+EMA(VAR1,24))/4;
A2:EMA(A1,2);
A3:EMA(A2,2);
A4:EMA(A3,2);
A5:EMA(A4,2);
A6:EMA(A5,2);
A7:EMA(A6,2);
{A8: EMA(VAR1,2.78)*1.028;
A9: MA(OPEN,3.2)*1.028;}
DRAWKLINE(H,O,L,C);
°²È«Ïß: EMA(CLOSE,60),COLORGREEN, POINTDOT,LINETHICK4;
JJJ:=IF(DYNAINFO(8)>0.01,0.01*DYNAINFO(10)/DYNAINFO(8),DYNAINFO(3));
DDD:=(DYNAINFO(5)<0.01 || DYNAINFO(6)<0.01);
JJJT:=IF(DDD,1,(JJJ<(DYNAINFO(5)+0.01) && JJJ>(DYNAINFO(6)-0.01)));
CYC¡Þ1:=IF(JJJT,DMA(AMOUNT/(100*VOL),100*VOL/FINANCE(7)),EMA((HIGH+LOW+CLOSE)/3,120));
CYC¡Þ:IF(M>0,CYC¡Þ1,DRAWNULL),CIRCLEDOT,COLORCYAN;
NOTEXT1:IF(CYC¡Þ>REF(CYC¡Þ,1),CYC¡Þ,DRAWNULL),COLORRED,CIRCLEDOT;
×èÁ¦:PEAK(CLOSE,5,1),COLORWHITE,DOTLINE;
Ö§³Å:TROUGH(CLOSE,5,1),COLORYELLOW,DOTLINE;
EMA13:=MA(C,13),COLORWHITE,LINETHICK2;
EMA34:=MA(C,34),COLORYELLOW;
EMA55:=MA(C,55),COLORFF00FF;
EMA120:=MA(C,120),COLORFFCC66,DOTLINE;
AR1:=EMA55>EMA34 AND EMA34>EMA13;
AR2:=BARSLAST((C-EMA13)/EMA13*100<-6);
AR3:=EMA13>=REF(EMA13,2);
AR4:=COUNT(CROSS(C,EMA13),AR2)=1;
AR5:=AR1 AND AR2 AND AR3 AND AR4;
AR6:=AR5 AND FILTER(AR5,10);
DRAWTEXT(AR6,L-0.09,'ºìÐÓ'),COLORYELLOW;
STICKLINE(AR6,O,C,4,1),LINETHICK2,COLORYELLOW;
BR1:=COUNT(BETWEEN((C-REF(C,1))/REF(C,1)*100,0,5) ,5)=5;
BR2:=ABS((EMA13-EMA34)+(EMA34-EMA55))/C<0.2;
BR3:=C>EMA55 AND (REF(C,1)<REF(EMA55,1) OR REF(C,2)<REF(EMA55,2) OR REF(C,3)<REF(EMA55,3)
OR REF(C,4)<REF(EMA55,4) OR REF(C,5)<REF(EMA55,5));
BR4:=BR1 AND BR2 AND BR3;
DRAWTEXT(BR4 AND FILTER(BR4,10),L-0.09,'ÂìÒÏ'),COLOR00C5FF;
STICKLINE(BR4 AND FILTER(BR4,10),H,L,0.5,1),COLOR00C5FF;
STICKLINE(BR4 AND FILTER(BR4,10),O,C,6,1),LINETHICK2,COLOR00C5FF;
CR1:=(C-REF(C,1))/REF(C,1)*100>0.5;
CR2:=V>MA(V,5)*0.6;
CR3:=COUNT(CROSS(EMA13,EMA55),3)=1;
CR4:=ABS(EMA34-EMA55)/EMA55<0.03;
CR5:=EMA55<=EMA120 AND EMA55>=REF(EMA55,1);
CR6:=FILTER(CR1 AND CR2 AND CR3 AND CR4 AND CR5,2);
DRAWTEXT(CR6,L-0.09,'ºìÒÂÏÀÅ®'),COLORF00FF0;
DR1:=EMA13>EMA34 AND EMA34<EMA55;
DR2:=BARSLAST(CROSS(C,EMA55) );
DR3:=H=HHV(H,DR2);
DR4:=BARSLAST(DR3);
DR5:=COUNT(O>C AND C<REF(C,1) AND C>EMA55 AND BETWEEN((C-EMA55)/EMA55,0,0.02),DR4)=1;
DR6:=C>REF(C,1) ;
DR7:= DR1 AND DR5 AND DR6 ;
DR8:=DR7 AND FILTER(DR7 ,10);
DRAWTEXT(DR8,L-0.09,'ºÚ¿Í'),COLORD6BA63;
ER:=BARSLAST(REF(CROSS(EMA55,EMA34),1)) AND CROSS(EMA34,EMA55);
DRAWTEXT(ER,L-0.2,'¾ùÏß»¥»»'),COLOR0099FF;
FR:=BARSLAST(REF(CROSS(EMA34,EMA13),1)) AND CROSS(EMA13,EMA34);
DRAWTEXT(FR,L-0.09,'÷¿ª'),COLORWHITE;
GR1:=BARSLAST(BETWEEN("BIAS.BIAS2"(6,13,24),0,5) );
GR2:=EMA13>EMA34 AND EMA34>EMA55 AND EMA13>REF(EMA13,1);
GR3:=COUNT("BIAS.BIAS2"(6,13,24)>10 AND H=HHV(H,GR1),GR1);
GR4:=H=HHV(H,GR1);
GR5:="MACD.MACD"(12,26,9)<REF("MACD.MACD"(12,26,9),1);
GR6:=GR2 AND GR3 AND GR4;
GR7:=GR2 AND GR3 AND GR4 AND GR5;
STICKLINE(GR6 AND GR7,H,H+0.09,4,1),COLOR00FF00;
DRAWTEXT(GR6 AND GR7,H+0.13,'¼ûºÃ¾ÍÊÕ!'),COLOR00FF00;
HR2:=EMA13>=REF(EMA13,3) AND EMA34>=REF(EMA34,1) AND EMA55>=REF(EMA55,1)
AND CROSS(C,EMA13) AND CROSS(C,EMA34) AND CROSS(C,EMA55);
DRAWTEXT(HR2 AND FILTER(HR2,10),L-0.09,'ÈýÏß'),COLORFFC8FF;
MA5:=MA(C,5);
MA10:=MA(C,10);
MA30:=MA(C,30);
FA:=BARSLAST(CROSS(MA10,MA5)) AND CROSS(MA5,MA10);
FB:=FA AND MA5>MA30 AND MA10>MA30 AND MA10>REF(MA10,1);
STICKLINE(FB,L,L-0.09,4,1),COLORWHITE;
DRAWTEXT(FB,L-0.13,'¶þ´ÎÎÕÊÖ'),COLORWHITE;
{AAA:=MA(C,10);
BBB:=ATAN((AAA/REF(AAA,1)-1)*100)*180/3.1416;
CCC:=FILTER(CROSS(BBB,30),5);
DRAWTEXT(CCC AND C>AAA,AAA*0.95,'Ê®ÈÕÈýÊ®¶È½Ç'),COLORFF00FF;}
{FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
DRAWTEXT(CROSS(FF,MA15),(LOW * 0.99),'¡ûµ×±³'),COLORA6E500;}
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
DRAWTEXT(CROSS(88,RSI),(HIGH * 1.01),'¡û¶¥±³'),COLOR1880FF;
{ÈýÏßÌÓ¶¥}
VV2:=REF(CLOSE,1);
VV3:=SMA((CLOSE-VV2),6,1)/SMA(ABS(CLOSE-VV2),6,1)*100;
DRAWICON(REF(VV3,1)>81 AND VV3<80,HIGH,2);
DRAWTEXT(REF(VV3,1)>81 AND VV3<80,H*1,'Âô'),COLORYELLOW;
VF1:=MA(CLOSE,60)-MA(CLOSE,5)/3.2;
DRAWTEXT(IF(CLOSE<VF1 AND VOL/240>MA(VOL,5)/240 AND CLOSE>=REF(CLOSE,1)*1.08 AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW,'×·'),COLORYELLOW;
VARA:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;
VARB:=EMA(0.667*REF(VARA,1)+0.333*VARA,5);
DRAWTEXT(IF(VOL>=1.3*MA(VOL,5) AND COUNT(VARA>=VARB AND VARA<-17,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW,'¡ï×¢');
VARR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;
DRAWICON(CROSS(82,VARR1),HIGH,2);
DRAWTEXT(CROSS(82,VARR1),H*1,'Âô'),COLORYELLOW;
VAR1A:=(HIGH+LOW+OPEN+2*CLOSE)/5;
VAR2A:=REF(VAR1A,1);
VAR3A:=SMA(MAX(VAR1A-VAR2A,0),10,1)/SMA(ABS(VAR1A-VAR2A),10,1)*100;
HY3:=IF(COUNT(VAR3A<20,5)>=1 AND COUNT(VAR1A=LLV(VAR1A,10),10)>=1 AND CLOSE>=OPEN*1.038 AND VOL>MA(VOL,5)*1.2,1,0);
{DRAWTEXT(HY3,L*0.98,'¡ø×¢'),COLORRED;}
F:=100*(C-REF(C,1))/REF(C,1);
½ñС×ò:=IF(C<REF(O,1) AND F<0,1,0);
P1:=½ñС×ò;
½ñСǰ:=IF(C<REF(O,2) AND F<0,1,0);
P2:=½ñСǰ;
STICKLINE(P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1,OPEN,CLOSE,1,0),COLORMAGENTA;
STICKLINE(P1=1 AND REF(P1,1)=0 AND P2=1 AND REF(P2,1)=0,OPEN,CLOSE,1,0),COLORBLUE;
STICKLINE(ISLASTBAR,C,C,3333,-1),COLORWHITE;
AAA2:=SUM(IF( CLOSE>REF(CLOSE,1),VOL*C,0),0);
AAA3:=SUM(IF( CLOSE<REF(CLOSE,1),VOL*C,0),0);
AAA4:=SUM(IF( CLOSE=REF(CLOSE,1),VOL*C,0),0);
BB1:=0;
B1ÍòÔª:=DVOL*DCLOSE/100;
¾»Á÷ÈëÍòÔª:=(AAA2-AAA3-0.5*AAA4);
PM:=MA(¾»Á÷ÈëÍòÔª,1);
PMB:=PM>REF(PM,1) AND REF(PM,1)<REF(PM,2);
ÃÜÂë:(EMA(MA(B1ÍòÔ |