源碼::=(((C-REF(C,1))/REF(C,1))-((INDEXC-REF(INDEXC,1))/REF(INDEXC,1)))*100>=0.07;{必 STICKLINE(,C,(O+C)/2,2,0),COLORYELLOW; =(((C-REF(C,1))/REF(C,1))-((INDEXC-REF(INDEXC,1))/REF(INDEXC,1)))<=-0.07; STICKLINE,C,(O+C)/2,2,0),COLORGREEN; :=(H-L)/L>=0.15;} STICKLINE(,O,C,1,0),COLORMAGENTA; DRAWTEXT( ,H*1.1,''),COLORMAGENTA; :=DYNAINFO(37)>=0.20; STICKLINE(,O,(O+C)/2,2,0),COLORWHITE; :=(SUM((C-REF(C,1))/REF(C,1)*100,3))>=20; STICKLINE(,C,(O+C)/2,2,0),COLORYELLOW; DRAWTEXT( '),COLORYELLOW; :=(SUM((C-REF(C,1))/REF(C,1)*100,3))<=-20; STICKLINE(,C,(O+C)/2,2,0),COLORGREEN; DRAWTEXT( ,L*0.98,''),COLORGREEN; MX:=EMA(C,2); MXA:=EMA(SLOPE(C,21)*20+C,42); AA:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,30))/MA(CLOSE,30); :DMA((2*CLOSE+LOW+HIGH)/4,AA),LINETHICK3,COLORRED; CC:=(CLOSE/); MA1:=MA(CC*(2*CLOSE+HIGH+LOW)/4,3); MAAA:=((MA1-)/3; TMP:=MA1-MAAA*MA1; JJ:IF(TMP<=,DRAWNULL),LINETHICK3,COLORGREEN; XJ:IF(TMP<=,TMP,DRAWNULL),LINETHICK2,COLORBLUE; :CROSS(MX,MXA),NODRAW; SEL:=CROSS(MXA,MX); DRAWICON,L-0.8,9); STICKLINE(,O,C,2.5,0),COLORMAGENTA; DRAWICON(SEL,H+0.1,2); DRAWTEXT(,L-0.68,'↖'),COLORMAGENTA; DRAWTEXT(SEL,H+0.38,'↙'),COLORBLUE; STICKLINE(MX>=MXA,LOW,HIGH,0.0,1),COLORRED; STICKLINE(MX>=MXA,CLOSE,OPEN,3,1),COLORRED; STICKLINE(MX<MXA,LOW,HIGH,0.0,1),COLORGREEN; STICKLINE(MX<MXA,CLOSE,OPEN,3,1),COLORGREEN; STICKLINE(,OPEN,CLOSE,2,0),COLORYELLOW; STICKLINE(SEL,OPEN,CLOSE,2,0),COLORBLUE; CP:=MA(CLOSE,9),COLORCYAN,LINETHICK1; JD:=MA(CLOSE,18),COLORMAGENTA; DRAWICON(CROSS(CP,JD) AND MX>=MXA,JD-0.1,1); DRAWTEXT(CROSS(CP,JD) AND MX>=MXA,JD-0.38,'↖'),COLORYELLOW; BL:=VOL>=REF(V,1)*1.91 AND C>REF(C,1)*1.01; DRAWTEXT(FILTER(BL,3),H+0.2,'↙'); STICKLINE(FILTER(BL,3),OPEN,CLOSE,1.5,0); XG:=SUMBARS(FILTER(BL,3),1); STICKLINE(XG,REF(L,XG-1),REF(L,XG-1),10,0); DIF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIF,9); MACD:=(DIF-DEA)*2; AAAB:=(DIF-DEA)*2*60; :=CROSS(AAAB-REF(AAAB,1),15); STICKLINE(,O,C,2.5,0),COLORYELLOW; DRAWTEXT(,(O+H)/2,'↖'),COLORCYAN,LINETHICK2; MA5:=MA(C,5); MA10:=MA(C,10); MA21:=MA(C,21); MA60:=MA(C,60); :=MA(C,4); :=MA(C,19); :=EMA(CLOSE,5); :=EMA(空,0),COLORFFFFFF; :=HHV(MA(HIGH,3),2); :=LLV(MA(HIGH,3),1); VAR5:=FILTER(>REF(,1) AND <REF(,1) AND CLOSE>REF(CLOSE,1),11); FF:=RANGE(C/MA21,0.97,1.15)OR RANGE(O/MA21,0.97,1.15);:= VAR5 AND C>MA(C,21) AND EVERY(MA21>REF(MA21,1),7) AND FF; IF( >=1,L*0.996,DRAWNULL); DRAWTEXT( >=1,L*0.98,'↖'),COLORMAGENTA; Q1:=MA((L+H+C)/3,5); :=HHV(Q1,60); AHC1:=CLOSE*VOL; AHC2:=EMA((EXPMA(AHC1,3)/EXPMA(VOL,3)+EXPMA(AHC1,6)/EXPMA(VOL,6)+EXPMA(AHC1,12)/EXPMA(VOL,12)+EXPMA(AHC1,24)/EXPMA(VOL,24))/4,13); :=1.06*AHC2; :=1.13*AHC2; ZT:=REF(C,1)*1.1-C<0.01 AND H=C; =CROSS(C,) AND ZT; DRAWTEXT(,L*0.85,''),COLORYELLOW; DRAWICON(,L*0.90,24); DRAWICON(,L*0.92,25); DRAWICON(,L*0.94,26); :=CROSS(C,) AND ZT; DRAWTEXT(,L*0.98,''),COLORRED; STICKLINE(,O,C,2.5,0),COLORRED; BOLL:=MA(C,20); UPPER:=BOLL+2*STD(C,20); LOWER:=BOLL-2*STD(C,20); :=CROSS(C,UPPER) AND C/REF(C,1)>1.05; DRAWTEXT(,L-1.15,''),COLORYELLOW; := AND C>MA(C,60) AND C>MA(C,90) AND C>MA(C,120) AND C>MA(C,250); DRAWTEXT( AND C>MA(C,60) AND C>MA(C,90) AND C>MA(C,120) AND C>MA(C,250),H*1.03,''),COLORYELLOW; :=C/REF(C,1)>=1.09 ; :=REF(C,BARSLAST()); DRAWTEXT(,H-H*0.02,''),COLOR00FFFF; LS0:=BARSLAST(); LS11:=IF(1,LS0=1,); LS21:=IF(1,LLV(L,1)>REF(L,1),1); :=LS11 AND LS21; STICKLINE(*0.002,,4,0),COLORRED; DRAWTEXT(*0.02,'1'),COLORGREEN; LS12:=IF(2,LS0=2,); LS22:=IF(2,LLV(L,2)>REF(L,2),1); 2:=LS12 AND LS22; STICKLINE(2,*0.002,,4,0),COLORRED; DRAWTEXT(2,不*0.02,'2'),COLORGREEN; LS13:=IF(3,LS0=3,); LS23:=IF(3,LLV(L,3)>REF(L,3),1); 3:=LS13 AND LS23; STICKLINE(*0.002,,4,0),COLORRED; DRAWTEXT(*0.02,'3'),COLORGREEN; LS14:=IF(4,LS0=4,); LS24:=IF(4,LLV(L,4)>REF(L,4),1); 4:=LS14 AND LS24; STICKLINE(*0.002,,4,0),COLORRED; DRAWTEXT(*0.02,'4'),COLORGREEN; LS15:=IF(5,LS0=5,); LS25:=IF(5,LLV(L,5)>REF(L,5),1); 5:=LS15 AND LS25; STICKLINE(*0.002,,4,0),COLORRED; DRAWTEXT(*0.02,'5'),COLORGREEN; LS16:=IF(6,LS0=6,); LS26:=IF(6,LLV(L,6)>REF(L,6),1); 6:=LS16 AND LS26; STICKLINE(6,-*0.002,,4,0),COLORRED; DRAWTEXT(6,-*0.02,'6'),COLORGREEN; LS17:=IF(7,LS0=7,); LS27:=IF(7,LLV(L,7)>REF(L,7),1); 7:=LS17 AND LS27; STICKLINE(7,-*0.002,,4,0),COLORRED; DRAWTEXT(7,-*0.02,'7'),COLORGREEN; LS18:=IF(8,LS0=8,); LS28:=IF(8,LLV(L,8)>REF(L,8),1); 8:=LS18 AND LS28; STICKLINE(*0.002,不,4,0),COLORRED; DRAWTEXT(*0.02,'8'),COLORGREEN; LS19:=IF(9,LS0=9,); LS29:=IF(9,LLV(L,9)>REF(L,9),1); 9:=LS19 AND LS29; STICKLINE(0.002,,4,0),COLORRED; DRAWTEXT(9,*0.02,'9'),COLORGREEN; LS110:=IF(10,LS0=10,); LS210:=IF(10,LLV(L,10)>REF(L,10),1); 10:=LS110 AND LS210; STICKLINE(*0.002,,4,0),COLORRED; DRAWTEXT(*0.02,'10'),COLORGREEN; C2:=REF(C,1),NODRAW; 1:=REF(C,11)*1.1-C<0.01 AND H=C,NODRAW; STICKLINE(1,OPEN,CLOSE,1,0),COLORRED; STICKLINE(1,H,L,0,0),COLORRED; :=IF((C2-C)*100/C2>=(10-0.01*100/C2) AND L=C,1,0),NODRAW; STICKLINE(,OPEN,CLOSE,1,0),COLORGREEN; STICKLINE(,H,L,0,1),COLORGREEN; 由于字?jǐn)?shù)限制幅圖我就不在這里發(fā)布了。 |
|