A:=HHV(MA(C,3),3);
A1:=MA(C,3);
連跌:=BARSLASTCOUNT(A1<REF(A,1))>3,LINETHICK2;
N:=3;T1R:=XMA(XMA(XMA(EMA(CLOSE,1),2),2),2);
TR1:=EMA((T1R-REF(T1R,1))/REF(T1R,1),1)*1000,COLORFF00FF,NODRAW;
凈:=XMA(TR1,N);
流:=EMA(凈,N);
主力動向:=EMA(凈+流,1)-XMA(凈-流,2),COLORFF00FF,NODRAW;
MA1:XMA(主力動向,N),COLORFF00FF,NODRAW;
MA3:=EMA(MA1,2);
DRAWTEXT(CROSS(MA3,MA1),0,'拋'),COLORYELLOW;
DRAWTEXT(CROSS(0,MA1),0,'空'),COLOR00FFFF;
DRAWTEXT(CROSS(MA1,0),0,'買'),COLORFF00FF;
買1:CROSS(MA1,0),COLORRED;
空1:CROSS(0,MA1),COLORGREEN;
222 RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K1:=SMA(RSV,3,1); D1:=SMA(K1,3,1); JA:3*K1-2*D1;RSV2:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
趨勢線1:=3*SMA(RSV2,5,1)-2*SMA(SMA(RSV2,5,1),3,1),LINETHICK1,COLORRED;
買點準備:IF(趨勢線1<=10,38,0),LINETHICK4,COLORWHITE;
LC := REF(CLOSE,1); VAR1Q:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10; VAR2Q:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100; VAR3Q:=SMA(VAR2Q,13,8); 高拋: 90, POINTDOT; 多方能量: SMA(VAR3Q,13,8),COLORRED,LINETHICK2; 空方能量: SMA(VAR1Q,21,8),COLORYELLOW,LINETHICK2;N1:=6;
RSI5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) * 100); TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10); HD:=(HIGH - REF(HIGH,1)); LD:=(REF(LOW,1) - LOW); DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10); DMM1:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10); PDI:=((DMP * 100) / TR1); MDI:=((DMM1 * 100) / TR1); ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5); AV:=(RSI5 + ADX); DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5); WR10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10))); NEWVOL:=(RSI5 - WR10); 階段底部:=(AV + NEWVOL); 準備進場:IF((階段底部 < 0),-10,0),STICK,COLORYELLOW,LINETHICK2; {STICKLINE((階段底部 < 0),0,-10,0.8,1),LINETHICK2,COLORYELLOW;} 趨勢線:=LLV(階段底部,1);
STICKLINE((趨勢線 >230 ),0,30,0.8,1),LINETHICK2,COLORGREEN; DRAWTEXT_FIX(C>O,0.01,0.9,0,'99'),COLORRED;B1:=(HHV(H,12)-C)/(HHV(H,12)-LLV(LOW,12))*100- 38; B2:=SMA(B1,12,1)+100; B3:=(C-LLV(L,12))/(HHV(H,12)- LLV(L,12))*100; B4:=SMA(B3,3,1); B5:=SMA(B4,3,1)+100; B6:=B5-B2; 控盤程度:(IF(B6>11,B6-1,0)),COLORYELLOW,NODRAW; 控盤度:=50,COLORRED;日K:=("KDJ.K"(27,6,4)); 日D:=("KDJ.D"(27,6,4)); STICKLINE( 控盤程度=0 AND 日K<日D,0,3,3,1 ),COLORCYAN; GVAR1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100; GVAR2:=SMA(GVAR1,3,1); GVAR3:=SMA(GVAR2,3,1); GVAR4:=SMA(GVAR3,3,1); BBBB:=GVAR3; GAA:=LLV(LOW,36); GBB:=HHV(HIGH,20); GDD:=(EMA(((CLOSE-GAA)/(GBB-GAA))*(4),4))*(25); GSSS:=GDD*0.93,COLOR0000FF,LINETHICK2,COLORGREEN; AZ:=CROSS(GSSS,BBBB) AND BBBB<25; AZ1:=CROSS(BBBB,GSSS) AND BBBB<100 ; DRAWTEXT(AZ,BBBB,'低買'),COLORYELLOW; DRAWTEXT(AZ1 AND 日K>75,100,'賣出'),COLORWHITE;
STICKLINE( 控盤程度<REF(控盤程度,1) AND 控盤程度<50,控盤程度,0,3,0 ),COLORCYAN; STICKLINE( 控盤程度<REF(控盤程度,1) AND 控盤程度>50,控盤程度,50,0.3,0 ),COLORGREEN; 趨勢強弱:MA(100*(C-LLV(C,34))/(HHV(H,34)-LLV(L,34)),5)-20,COLORSTICK; 個股趨勢:=3*SMA((C-LLV(L,34))/(HHV(H,34)-LLV(L,34))*100,20,1) -2*SMA(SMA((C-LLV(L,34))/(HHV(H,34)-LLV(L,34))*100,20,1),15,1),COLOR00DDDD; 大盤趨勢:=3*SMA((INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34))*100,20,1) -2*SMA(SMA((INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34))*100,20,1),15,1),COLORDD22DD;
|