N:=21;
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
E:=CROSS(83,RSI); STICKLINE( E,E,55,2.7,0),COLORFF6600;
STICKLINE( E,E,55,2.1,0),COLORFF8800;
STICKLINE( E,E,55,1.5,0),COLORFFAA00;
STICKLINE( E,E,55,0.9,0),COLORFFCC00;
STICKLINE( E,E,55,0.2,0),COLORFFFF00;
DRAWTEXT(E,50,' 逃頂'),COLORFF9966;
TYP:=(HIGH+LOW+CLOSE)/3;
VARY11:=3;
VARY21:=(3)*(SMA(((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) - LLV(LOW,27)))*(100),5,1)) - (2)*(SMA(SMA(((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) - LLV(LOW,27)))*(100),5,1),3,1)); 股價(jià)準(zhǔn)備啟動(dòng):IF(CROSS(VARY21,VARY11),100,0),COLORRED,LINETHICK2;
主力線Y:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*
SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),LINETHICK1,POINTDOT;
超短線:(((主力線Y-LLV(主力線Y,21))/(HHV(主力線Y,21)-LLV(主力線Y,21)))*(4))*(25),LINETHICK0,COLORLIRED;
軸:0,COLORFFFFFF;
VAR2:=REF(LOW,1); VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100; VAR4:=EMA(IF(CLOSE*1.2,VAR3*10,VAR3/10),3); VAR5:=LLV(LOW,30); VAR6:=HHV(VAR4,30); VAR7:=IF(LLV(LOW,58),1,0); VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7; VAR9:=IF(VAR8>100,100,VAR8); VAR5X:=LLV(LOW,75); VAR6X:=HHV(HIGH,75); VAR7X:=(VAR6X-VAR5X)/100; VAR8X:=SMA((CLOSE-VAR5X)/VAR7X,20,1); VARA:=3*VAR8X-2*SMA(VAR8X,15,1); VAR26:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100; VAR28:=SMA(VAR26,3,1); VAR12:=(CLOSE-LLV(LOW,40))/LLV(LOW,40)*100,COLORYELLOW; 波段王:=SMA(VAR28,3,1); 建倉吸籌:IF(VAR8,VAR8,1),COLORRED; 趨勢線:(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100,COLORBLACK; 主力線G:=(CLOSE-MA(LLV(LOW,40),40))/MA(LLV(LOW,40),40)*100,COLORMAGENTA; VAR1:=(LOW+HIGH+CLOSE)/3; 操作:=MA(VAR1,5); 拉升:=HHV(操作,13); M1:=MA(C,5); M2:=MA(C,10); M3:=MA(C,20); M4:=MA(C,30); 最大值:=MAX(MAX(M1,M2),MAX(M3,M4)); 最小值:=MIN(MIN(M1,M2),MIN(M3,M4)); 攻擊線:28,COLORLIBLUE,DOTLINE; BARSLAST(L<=最小值 AND C>=最大值)=0; DRAWICON(CROSS(VAR12,攻擊線) ,VAR12,9); 攻擊:(VAR12+主力線G)/2,DOTLINE,COLORRED;
散戶A:=100*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60)); RSVA:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100; RSV1:=(C-MA(C,4))/MA(C,4)*100; VARX2:=REF(LOW,1); VARX3:=SMA(ABS(LOW-VARX2),3,1)/SMA(MAX(LOW-VARX2,0),3,1)*100; VARX4:=EMA(IF(CLOSE*1.3,VARX3*10,VARX3/10),3); VARX5:=LLV(LOW,30); VARX6:=HHV(VARX4,30); VARX7:=IF(MA(CLOSE,58),1,0); VARX8:=EMA(IF(LOW<=VARX5,(VARX4+VARX6*2)/2,0),3)/618*VARX7; VARX9:=IF(VARX8>100,100,VARX8); KA:=SMA(RSVA,5,1); DA:=SMA(KA,3,1); JA:=3*KA-2*DA; 主力:=EMA(JA,6),COLORYELLOW; AA3Y:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10; AA4Y:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100; AA5Y:=SMA(AA4Y,13,8); 走勢Y:=CEILING(SMA(AA5Y,13,8)),COLORRED,LINETHICK2; AA6Y:=SMA(AA3Y,21,8); 買觀注: STICKLINE(走勢Y-AA6Y<-65,0,7,15,1); DRAWICON(FILTER(JA>REF(JA,1)AND 走勢Y>=REF(走勢Y,1)AND 走勢Y<25 ,5),走勢Y,1); 賣觀注: STICKLINE(走勢Y-AA6Y>85,98,90,15,1),COLORFFFF00; DRAWICON(FILTER(JA<REF(JA,1)AND 走勢Y<=REF(走勢Y,1)AND JA>85 ,5),JA,2); 吸籌A:STICKLINE(VARX9>-120,50,50+(VARX9/2),8,1),COLORRED; CDMA:EMA(EMA(RSV1,7),7)*8,NODRAW,COLORWHITE; STICKLINE(CDMA>=0 AND CDMA>=REF(CDMA,1),50,50+CDMA,2.5,0),COLORDD55CC; STICKLINE(CDMA>=0 AND CDMA<=REF(CDMA,1),50,50+CDMA,2.5,1),COLORDD55CC; STICKLINE(CDMA<=0 AND CDMA>=REF(CDMA,1),50,50+CDMA,2.5,1),COLOR00D080; STICKLINE(CDMA<=0 AND CDMA<=REF(CDMA,1),50,50+CDMA,2.5,0),COLOR00D080; 快線:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,LINETHICK2,COLOR000080; 散戶線:=散戶A,COLORFFFFFF,LINETHICK1; 主力線:=主力,COLORYELLOW; 走勢線:=走勢Y,COLORMAGENTA,LINETHICK3; DRAWTEXT(ISLASTBAR,散戶線,' ←散戶線'),COLORFFFFFF; DRAWTEXT(ISLASTBAR,主力線,' ←主力線'),COLORYELLOW; DRAWTEXT(ISLASTBAR,走勢線,' ←走勢線'),COLORRED; 關(guān)注低買:IF(90>散戶A AND CROSS(90,散戶A) ,98,0),COLORMAGENTA,STICK,NODRAW; {高拋低吸:IF(散戶<10 AND CROSS(10,散戶) ,20,0),COLORGREEN,STICK,NODRAW;} 風(fēng)險(xiǎn):COUNT((6,12,24)>80,3)=3 AND CROSS((6,12,24),79.5),NODRAW; 觀注頂:(散戶A<8 AND 主力>90 AND 走勢Y>90 AND CDMA<=REF(CDMA,1)AND 散戶線),COLORGREEN,NODRAW; DRAWTEXT(觀注頂,-1,'◆'),COLORGREEN; DRAWTEXT(風(fēng)險(xiǎn),95,'←風(fēng)險(xiǎn)'),COLOR00FFFF; STICKLINE(關(guān)注低買,0,100,0,-1),COLORMAGENTA;
機(jī)構(gòu)做多能量線:=SMA((CLOSE-LLV(LOW ,9) )/(HHV(HIGH,9)-LLV(LOW,9))*100,5,1)-8,COLORRED,LINETHICK3; 機(jī)構(gòu)做空能量線:=SMA((HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100,2,1),COLORGREEN,LINETHICK3;
M:=55; NY:=34; LCY:=REF(CLOSE,1); RSIY:=((SMA(MAX((CLOSE - LCY),0),3,1) / SMA(ABS((CLOSE - LCY)),3,1)) * 100); FF:=EMA(CLOSE,3); MA15:=EMA(CLOSE,21); VARB1:=IF(YEAR>=2038 AND MONTH>=1,0,1); VARB2:=REF(LOW,1)*VARB1; VARB3:=SMA(ABS(LOW-VARB2),3,1)/SMA(MAX(LOW-VARB2,0),3,1)*100*VARB1; VARB4:=EMA(IF(CLOSE*1.3,VARB3*10,VARB3/10),3)*VARB1; VARB5:=LLV(LOW,30)*VARB1; VARB6:=HHV(VARB4,30)*VARB1; VARB7:=IF(MA(CLOSE,58),1,0)*VARB1; VARB8:=EMA(IF(LOW<=VARB5,(VARB4+VARB6*2)/2,0),3)/618*VARB7*VARB1; 吸籌:IF(VARB8>100,100,VARB8)*VARB1,COLORRED;
散戶:=100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M)),COLORLIBLUE,LINETHICK2; RSV:=(CLOSE-LLV(LOW,NY))/(HHV(HIGH,NY)-LLV(LOW,NY))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; 莊家:=EMA(J,6),COLORLIRED,LINETHICK2;
X_1:=REF(LLV(LOW,152),1); X_2:=REFDATE(X_1,DATE); X_3:=REFDATE(X_2,DATE); X_4:=X_3=LOW AND (HIGH+LOW<OPEN+CLOSE OR OPEN+LOW<HIGH+OPEN); X_5:=DRAWTEXT(X_4,LOW*1,5); XG:=X_4 AND FINANCE(7)<15000000512 AND DYNAINFO(17)>0.5,NODRAW; 先于莊家:XG,NODRAW;
VARY1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VARY2:=SMA(VARY1,9,1)+100;
VARY3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VARY4:=SMA(VARY3,3,1);
VARY5:=SMA(VARY4,3,1)+100;
VARY6:=VARY5-VARY2;
趨勢:IF(VARY6>45,VARY6-45,0);
0,COLOR00FFFF;
20,POINTDOT,COLORFFAA66,LINETHICK1;
80,POINTDOT,COLORFFAA66,LINETHICK1;
100,COLORFFFF33;
V1:=LLV(LOW,10);
V2:=HHV(H,25);
價(jià)位線:=EMA((C-V1)/(V2-V1)*4,4); DRAWTEXT(CROSS(價(jià)位線,0.3),20+4,'●買'),COLORRED;
DRAWTEXT(CROSS(3.5,價(jià)位線),100-4,'●賣'),COLORGREEN;
VARY2Q:=REF(LOW,1);
VARY3Q:=SMA(ABS(LOW-VARY2Q),3,1)/SMA(MAX(LOW-VARY2Q,0),3,1)*100;
VARY4Q:=EMA(IF(CLOSE*1.3,VARY3Q*10,VARY3Q/10),3);
VARY5Q:=LLV(LOW,30);
VARY6Q:=HHV(VARY4Q,30);
VARY7Q:=IF(MA(CLOSE,58),1,0);
VARY8Q:=EMA(IF(LOW<=VARY5Q,(VARY4Q+VARY6Q*2)/2,0),3)/618*VARY7Q;
VARY9Q:=IF(VARY8Q>100,100,VARY8Q);
STICKLINE(VARY9Q>-120,0,VARY9Q,6.1,0),COLOR0000AA;
STICKLINE(VARY9Q>-120,0,VARY9Q,4.9,0),COLOR0000BB;
STICKLINE(VARY9Q>-120,0,VARY9Q,3.8,0),COLOR0000CC;
STICKLINE(VARY9Q>-120,0,VARY9Q,2.7,0),COLOR0000DD;
STICKLINE(VARY9Q>-120,0,VARY9Q,1.6,0),COLOR0000EE;
STICKLINE(VARY9Q>-120,0,VARY9Q,0.4,0),COLOR4444FF;
STICKLINE(趨勢,(REF(趨勢,1)),趨勢,3.2,0) ,COLOR0044FF;
STICKLINE(趨勢,(REF(趨勢,1)),趨勢,2.7,0) ,COLOR0066FF;
STICKLINE(趨勢,(REF(趨勢,1)),趨勢,2.1,0) ,COLOR0088FF; STICKLINE(趨勢,(REF(趨勢,1)),趨勢,1.5,0) ,COLOR00AAFF;
STICKLINE(趨勢,(REF(趨勢,1)),趨勢,0.9,0) ,COLOR00CCFF;
STICKLINE(趨勢,(REF(趨勢,1)),趨勢,0.2,0) ,COLOR00FFFF;
粉紅持有:=REF(趨勢>REF(趨勢,1),1);
STICKLINE(粉紅持有,(REF(趨勢,1)),趨勢,3.2,0),COLOR770077;
STICKLINE(粉紅持有,(REF(趨勢,1)),趨勢,2.7,0),COLOR990099;
STICKLINE(粉紅持有,(REF(趨勢,1)),趨勢,2.1,0),COLORBB00BB;
STICKLINE(粉紅持有,(REF(趨勢,1)),趨勢,1.5,0),COLORDD00DD;
STICKLINE(粉紅持有,(REF(趨勢,1)),趨勢,0.9,0),COLORFF00FF;
STICKLINE(粉紅持有,(REF(趨勢,1)),趨勢,0.2,0),COLORFF66FF;
綠色減倉:=趨勢<REF(趨勢,1);
STICKLINE(綠色減倉,(REF(趨勢,1)),趨勢,3.2,0 ),COLOR003300;
STICKLINE(綠色減倉,(REF(趨勢,1)),趨勢,2.7,0 ),COLOR006600;
STICKLINE(綠色減倉,(REF(趨勢,1)),趨勢,2.1,0 ),COLOR009900;
STICKLINE(綠色減倉,(REF(趨勢,1)),趨勢,1.5,0 ),COLOR00CC00;
STICKLINE(綠色減倉,(REF(趨勢,1)),趨勢,0.9,0 ),COLOR00FF00;
STICKLINE(綠色減倉,(REF(趨勢,1)),趨勢,0.2,0 ),COLORCCFF66;
AA3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
AA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
AA5:=SMA(AA4,13,8);
走勢:=CEILING(SMA(AA5,13,8));
AA6:=SMA(AA3,21,8); STICKLINE(XG>REF(XG,1) AND XG>0,0,10*XG,6,0),COLOR660066; STICKLINE(XG>REF(XG,1) AND XG>0,0,10*XG,3,0),COLORRED; DRAWICON(XG>REF(XG,1) AND XG>0,9.5,25); DRAWICON(XG>REF(XG,1) AND XG>0,8,26); DRAWICON(XG>REF(XG,1) AND XG>0,6.5,24); DRAWICON(XG>REF(XG,1) AND XG>0,4.5,9); DRAWTEXT(XG,7.5,'先于莊家抄底'),COLORRED; 賣臨界:STICKLINE(走勢-AA6>85,103,100,15,1),COLOR0000FF,LINETHICK2; 第一買點(diǎn):DRAWTEXT(CROSS(14,吸籌),10,'B1'),COLORYELLOW; 第二買點(diǎn):DRAWTEXT(CROSS(莊家,散戶) AND 莊家<50,30,'B2'),COLORRED; 第一賣點(diǎn):DRAWTEXT(CROSS(88,莊家),80,'S1'),COLORGREEN; 第二賣點(diǎn):DRAWTEXT(CROSS(散戶,莊家),60,'S2'),COLORCYAN; 主:(主力線+主力線G+莊家+機(jī)構(gòu)做多能量線+走勢線)/5,COLORRED,LINETHICK1; E主:EMA(主,13),COLORRED,LINETHICK3; 散:(機(jī)構(gòu)做空能量線+散戶+散戶線)/3,COLORGREEN,LINETHICK1; E散:EMA(散,13),COLORGREEN,LINETHICK3; E攻:EMA(攻擊,13),COLORYELLOW;
|