卖点:蓝柱”绿色箭头“注意卖出
AAF:=LLV(L,34),LINETHICK1,COLOR0000FF;
BBF:=MA(AAF,4),LINETHICK1,COLORFF00FF;
TYP := (H + L + C)/3;
龙哥1:=(TYP-MA(TYP,6))/(0.015*AVEDEV(TYP,5));
量化1:=ABS(REF(龙哥1,1)-龙哥1),LINETHICK0;
龙哥2:=(TYP-MA(TYP,10))/(0.015*AVEDEV(TYP,10));
量化2:=ABS(REF(龙哥2,1)-龙哥2),LINETHICK0;
龙哥3:=(TYP-MA(TYP,20))/(0.015*AVEDEV(TYP,20));
量化3:=ABS(REF(龙哥3,1)-龙哥3),LINETHICK0;
龙哥4:=(TYP-MA(TYP,30))/(0.015*AVEDEV(TYP,30));
量化4:=ABS(REF(龙哥4,1)-龙哥4),LINETHICK0;
龙哥5:=(TYP-MA(TYP,60))/(0.015*AVEDEV(TYP,60));
量化5:=ABS(REF(龙哥5,1)-龙哥5),LINETHICK0;
龙哥:=龙哥1+龙哥2+龙哥3+龙哥4+龙哥5;
AAA:=(3*C+H+L+O)/6;
研究所1:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)
+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36;
研究所2:=(HHV(研究所1,5)+HHV(研究所1,10)+HHV(研究所1,20))/3;
研究所3:=(LLV(研究所1,5)+LLV(研究所1,10)+LLV(研究所1,20))/3;
研究所4:=(HHV(研究所2,5)+HHV(研究所2,10)+HHV(研究所2,20))/3;
研究所5:=(LLV(研究所3,5)+LLV(研究所3,10)+LLV(研究所3,20))/3;
研究所6:=(LLV(研究所1,2)+LLV(研究所1,4)+LLV(研究所1,6))/3;
短线:=研究所1,COLORWHITE;
中线:=研究所6,;
DRAWBAND(短线,RGB(255,255,50),中线,RGB(0,0,220));
下跌:IF(研究所1=研究所6,研究所6, DRAWNULL),COLORGREEN;
TJ1:=龙哥1>量化4;
立桩量:=FILTER(TJ1,0),NODRAW;
TJ2:=IF(BARSLAST(立桩量)=1 ,1,0);
成立1:=TJ2=1;
达标1:=FILTER(成立1,5);
TJ11:= 龙哥1<-量化4 ;
立桩量2:=FILTER(TJ11,0),NODRAW;
TJ22:=IF(BARSLAST(立桩量2)=1 AND C>REF(H,1),1,
IF(BARSLAST(立桩量2)=2 AND C>REF(H,2),1,
IF(BARSLAST(立桩量2)=3 AND C>REF(H,3),1,0)));
TJ:=IF(BARSLAST(立桩量2)=1 AND C>REF(L,1),1,0);
成立2:=TJ=1;
达标2:=FILTER(成立2,5);
TJ111:=(ABS(龙哥1)>龙哥 AND ABS( 量化1)> ABS(量化5))
OR (VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND C>研究所1);
立桩量3:=FILTER(TJ111,5);
TJ3:=IF(BARSLAST(立桩量3)=1 AND C>REF(L,1),1,IF(BARSLAST(立桩量3)=2 AND C>REF(L,2),1,IF(BARSLAST(立桩量3)=3 AND C>REF(L,3),1,0)));
成立:=TJ3=1;
达标:=FILTER(成立,5);
DRAWICON(达标 AND 下跌!= 研究所6{ AND BB13>0},L*0.97,23);
LC:=REF(C,1);
RSI:=((SMA(MAX((C - LC),0),3,1) / SMA(ABS((C - LC)),3,1)) * 100);
FF:=EMA(C,3);
MA15:=EMA(C,21);
DRAWICON(CROSS(FF,MA15),L*0.97,23);
DRAWTEXT(CROSS(88,RSI),(H * 1.01),'R背'),COLOR00FF00;
X1:=(C+L+H)/3;
BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10;
EMA8:=EMA(C,8);
DRAWTEXT(FILTER(BB13>1 AND EMA(X1,13)>REF(EMA(X1,8),1),10),
EMA8,'∠'),COLORWHITE;
超买:MA(C,10)*IF(CAPITAL=0,1.04,1.1),POINTDOT,COLORGREEN,LINETHICK2;
超卖:MA(C,10)*IF(CAPITAL=0,0.95,0.9),POINTDOT,COLORRED,LINETHICK2;
上:=EMA(C,3),COLORBLUE,LINETHICK1;
中:=EMA(C,5),COLORWHITE,LINETHICK1;
下:=EMA(中,5),COLOR00FF00,LINETHICK1;
QQ:= C<中;
MM:=上>REF(上,1) AND REF(上,1)<REF(上,2) ;
V1:=ABS((2*C+H+L)/4-MA(C,20))/MA(C,20);
V2:=(1-7/100)*(DMA(C,V1));
V3:=(1+7/100)*(DMA(C,V1));
V5:=MA((L+H+C)/3,5);
MA1:=MEMA(C,5);
MA2:=ATAN((MA1/REF(MA1,1)-1)*100)*180/3.1416;
MA3:=IF(MA2>0,MA2,MA2);
MA5:=MA(C,5),COLOR888899;
MA13:=MA(C,13),COLORFF00F0,LINETHICK2;
研究所01:=C=HHV(C,4) AND (REF(C,1)>=REF(C,2) OR REF(C,1)>=REF(C,3))
OR REF(C,1)=HHV(C,4) AND C>=REF(C,2) OR REF(C,2)=HHV(C,4) AND
REF(C,3)=LLV(C,4) AND C>=REF(C,1) OR REF(C,3)=HHV(C,4) AND
C>=REF(C,1) AND C>=REF(C,2);
研究所02:=C=HHV(C,4) AND REF(C,1)=LLV(C,4);
研究所03:=C=LLV(C,4) AND (REF(C,1)<REF(C,2) OR REF(C,1)<REF(C,3)) OR
REF(C,1)=LLV(C,4) AND C<REF(C,2) OR REF(C,2)=LLV(C,4) AND
REF(C,1)=HHV(C,4) AND C<REF(C,1) OR REF(C,3)=LLV(C,4) AND
C<REF(C,1) AND C<REF(C,2);
研究所04:=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4) AND
REF(C,1)<=REF(C,3) AND REF(C,2)<REF(C,4) AND C>=REF(C,1);
研究所05:=REF(C,1)=HHV(C,4) AND C<REF(C,2) OR (REF(C,2)=HHV(C,4) AND
REF(C,1)>REF(C,3) OR REF(C,3)=HHV(C,4) AND REF(C,1)>REF(C,2)) AND
REF(C,2)>=REF(C,4) AND C<REF(C,1);
研究所06:=V5>REF(V5,1) AND REF(V5,1)<REF(V5,2);
研究所07:=L<HHV(V5,13) AND H>HHV(V5,13) AND C>REF(C,1) AND C>O;
研究所08:=研究所07 AND COUNT(研究所06,2);
研究所09:=100*EMA(EMA(C-REF(C,1),6),6)/EMA(EMA(ABS(C-REF(C,1)),6),6);
研究所10:=EMA(MA(C,13),13);
研究所11:=FILTER((LLV(研究所09,2)=LLV(研究所09,7) AND COUNT(研究所09<0,2) AND
CROSS(研究所09,MA(研究所09,2)))=1,5);
研究所12:=FILTER((HHV(研究所09,2)=HHV(研究所09,7) AND COUNT(研究所09>50,2) AND
CROSS(MA(研究所09,2),研究所09))=1,1);
研究所13:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10;
研究所14:=FILTER(((CROSS(研究所13,0) OR CROSS(C,研究所10)) AND 研究所11)=1,3);
研究所15:=MA(C,18)>=REF(MA(C,18),3) AND CROSS(C,MA(C,18));
研究所16:=研究所08 AND NOT(REF(研究所08,1));
RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
金叉:=CROSS(J,D);
死叉:=CROSS(D,J);
买1:=(研究所14 OR 研究所15) AND 研究所11;
买2:=(研究所14 OR 研究所15) AND 研究所4;
买3:=(研究所14 OR 研究所15) AND 研究所2;
买4:=(研究所2 AND 研究所11) OR (研究所4 AND 研究所11);
买5:=(金叉 AND 研究所04) OR (金叉 AND 研究所02) OR (金叉 AND 研究所11);
STICKLINE(C>REF(C,1)*1.0985 AND C=H,C,O,4,-1),
COLOR00FFFF;
STICKLINE(C<REF(C,1)*0.9015 AND C=L,C,O,4,-1),
COLORGREEN;
STICKLINE(O>=C,C,O,3.3,0),COLORFF6600;
STICKLINE(O>=C,C,O,2.4,0),COLORFF8800;
STICKLINE(O>=C,C,O,1.3,0),COLORFFAA00;
STICKLINE(O>=C,C,O,0.6,0),COLORFFCC00;
STICKLINE(C>O,C,O,3.3,0),COLOR000099;
STICKLINE(C>O,C,O,2.4,0),COLOR0000BB;
STICKLINE(C>O,C,O,1.3,0),COLOR0000DD;
STICKLINE(C>O,C,O,0.5,0),COLOR0000FF;
STICKLINE(研究所03,O,(O+C)/2,3.3,0),COLOR009900;
STICKLINE(研究所03,O,(O+C)/2,2.4,0),COLOR00BB00;
STICKLINE(研究所03,O,(O+C)/2,1.3,0),COLOR00DD00;
STICKLINE(研究所03,O,(O+C)/2,0.5,0),COLOR00FF00;
STICKLINE(研究所04 AND MM,O,(O+C)/2,3.3,0),COLOR999999;
STICKLINE(研究所04 AND MM,O,(O+C)/2,2.2,0),COLORBBBBBB;
STICKLINE(研究所04 AND MM,O,(O+C)/2,1.3,0),COLORDDDDDD;
STICKLINE(研究所04 AND MM,O,(O+C)/2,0.5,0),COLORFFFFFF;
STICKLINE(金叉,O,C,0.5,0);
STICKLINE(死叉,O,C,0.5,0),COLOR000066;
DRAWICON(研究所16,L-0.02,15);
DRAWICON(买1 OR 买2 OR 买3 OR 买4 OR 买5 AND MM,L-0.05,23);
DRAWICON(死叉 OR CROSS(50,研究所09) AND QQ AND K>50,H+0.01,2);
TTJ:=CROSS(FF,MA15);
TTJ0:=研究所16;
TTJ1:=买1 OR 买2 OR 买3 OR 买4 OR 买5 AND MM;
XG0:=TTJ AND TTJ0;
XG1:=TTJ AND TTJ1;
XG:=XG0 OR XG1;
DRAWTEXT(XG,L*0.93,'全'),COLORRED;
DRAWTEXT(XG,L*0.93-0.3,'仓'),COLORRED;
GET:ZIG(3,3);
PL5:=ZIG(3,5);
EN1:=ZIG(3,5)>REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)<=REF(ZIG(3,5),2) AND REF(ZIG(3,5),2)<=REF(ZIG(3,5),3);
EX1:=ZIG(3,5)<REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)>=REF(ZIG(3,5),2) AND REF(ZIG(3,5),2)>=REF(ZIG(3,5),3);
PL10:=ZIG(3,10);
EN2:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<=REF(ZIG(3,10),2) AND REF(ZIG(3,10),2)<=REF(ZIG(3,10),3);
EX2:=ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>=REF(ZIG(3,10),2) AND REF(ZIG(3,10),2)>=REF(ZIG(3,10),3);
PL20:=ZIG(3,20);
EN3:=ZIG(3,20)>REF(ZIG(3,20),1) AND REF(ZIG(3,20),1)<=REF(ZIG(3,20),2) AND REF(ZIG(3,20),2)<=REF(ZIG(3,20),3);
EX3:=ZIG(3,20)<REF(ZIG(3,20),1) AND REF(ZIG(3,20),1)>=REF(ZIG(3,20),2) AND REF(ZIG(3,20),2)>=REF(ZIG(3,20),3);
PL40:=ZIG(3,40);
走强1:=BARSLAST(PL5<REF(PL5,1));
走弱1:=BARSLAST(PL5>REF(PL5,1));
走强2:=BARSLAST(PL10<REF(PL10,1));
走弱2:=BARSLAST(PL10>REF(PL10,1));
走强3:=BARSLAST(PL20<REF(PL20,1));
走弱3:=BARSLAST(PL20>REF(PL20,1));
ZTJZ5:=IF(PL10>REF(PL10,1),COUNT(EN1,走强2),0);
ZTJD5:=IF(PL10>REF(PL10,1),COUNT(EX1,走强2),0);
DTJZ5:=IF(PL10<REF(PL10,1),COUNT(EN1,走弱2),0);
DTJD5:=IF(PL10<REF(PL10,1),COUNT(EX1,走弱2),0);
ZTJZ10:=IF(PL20>REF(PL20,1),COUNT(EN2,走强3),0);
ZTJD10:=IF(PL20>REF(PL20,1),COUNT(EX2,走强3),0);
DTJZ10:=IF(PL20<REF(PL20,1),COUNT(EN2,走弱3),0);
DTJD10:=IF(PL20<REF(PL20,1),COUNT(EX2,走弱3),0);
DRAWTEXT(EN1 AND DTJZ5=1,L*0.98,'(A)'),COLORFFFF00;
DRAWTEXT(EX1 AND DTJD5=2,H*1.02,'(B)'),COLORFF00FF;
DRAWTEXT(EN2 AND ZTJZ5=1,L*0.98,'(C)'),COLOR0000FF;
DRAWTEXT(EX1 AND PL10>REF(PL10,1) AND ZTJD5=1,H*1.02,'⑴'),COLOR0000FF;
DRAWTEXT(EN1 AND PL10>REF(PL10,1) AND ZTJZ5=2,L*0.98,'⑵'),COLOR0000FF;
DRAWTEXT(EX1 AND PL10>REF(PL10,1) AND ZTJZ5=2,H*1.02,'⑶'),COLOR0000FF;
DRAWTEXT(EN1 AND PL10>REF(PL10,1) AND ZTJZ5=3,L*0.98,'⑷'),COLOR0000FF;
DRAWTEXT(EX2 AND PL20>REF(PL20,1) AND ZTJD10=1,H*1.02,'⑸'),COLOR0000FF;
DRAWTEXT(EN2 AND DTJZ10=1,L*0.93,'Ⅰ'),COLORFF00FF;
DRAWTEXT(EX2 AND DTJD10=2,H*1.05,'Ⅱ'),COLORFFFF00;
DRAWTEXT(EN3 AND ZTJZ10=1,L*0.93,'Ⅲ'),COLOR0000FF;
DRAWTEXT(EX2 AND PL20>REF(PL20,1) AND ZTJD10=1,H*1.03,'①'),LINETHICK3,COLOR00FFFF;
DRAWTEXT(EN2 AND PL20>REF(PL20,1) AND ZTJZ10=2,L*0.95,'②'),LINETHICK3,COLOR00FFFF;
DRAWTEXT(EX2 AND PL20>REF(PL20,1) AND ZTJD10=2 OR (ZTJD10=0 OR ZTJD10=2)
AND EX2,H*1.03,'③'),LINETHICK3,COLOR00FFFF;
DRAWTEXT(EN2 AND PL20>REF(PL20,1) AND ZTJZ10=3,L*0.95,'④'),LINETHICK3,COLOR00FFFF;