什么是無未來函數(shù)指標(biāo)公式,簡而言之就是指標(biāo)所使用的函數(shù)中不調(diào)用未來的參數(shù),這樣指標(biāo)就不會發(fā)生擺動和漂移,這樣才是投資者想要的指標(biāo)!今天瑞力選股收集這些無未來指標(biāo)供大家參考,希望對投資理財帶來重要幫助,歡迎大家驗證并且提出自己的觀點。
更多信息歡迎大家點擊瑞力選股:《無未來函數(shù)指標(biāo)公式與未來函數(shù)整理》
更多選股公式歡迎大家閱讀《專業(yè)選股公式指標(biāo)大全》。
主力進(jìn)出 (選股) VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1); VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1); VAR3:=EMA(VAR2,10); VAR4:=LLV(LOW,33); VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),5); VAR5>REF(VAR5,1) AND VAR5>20;
加入變黃: 買線:=EMA(CLOSE,2); 賣線:=EMA(SLOPE(CLOSE,21) * 20 + CLOSE,42); BU:=CROSS(買線,賣線); STICKLINE(BU,OPEN,CLOSE,2,0),COLOR00FFFF;
1 長線黑馬 BBI1:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4; BBI2:(MA(CLOSE,6)+MA(CLOSE,18)+MA(CLOSE,54)+MA(CLOSE,162))/4; DRAWICON(CROSS(BBI1,BBI2),BBI2,1); DRAWTEXT(CROSS(BBI1,BBI2),BBI2-0.3,'←長線黑馬'),COLORYELLOW,LINETHICK9;
醉眼看市 MA5:MA(CLOSE,5); MA10:MA(CLOSE,10); MA30:MA(CLOSE,30); MA60:MA(CLOSE,60); 紅軌道:=MA(MA(CLOSE,3),1),LINETHICK1,COLORYELLOW; 綠軌道:=MA(MA(CLOSE,3),3); 上升:IF(紅軌道>=綠軌道,綠軌道,DRAWNULL),COLORRED,LINETHICK2; AA1:=3*SMA((C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100,3,1)-2*SMA(SMA((C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100,3,1),3,1); 加倉:=IF(CROSS(AA1,REF(AA1+0.01,1)) AND LLV(AA1,2)=LLV(AA1,8) AND BETWEEN(AA1,20,60),1,0); 波段底:=(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)); DRAWICON(加倉,L*0.97,7); DRAWICON(CROSS(波段底,3),L*0.97,1); A:=(3*C+L+O+H)/6; X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+ 14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12) +7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+ REF(A,20))/210; MTM:=C-REF(C,1); DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6); CB:=EMA(X,13); 賣:=IF(HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND CROSS(MA(DX,2),DX),1,0); DRAWTEXT(FILTER(賣=1,1),HIGH*1.02,'賣'),COLORWHITE; 買:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0); DRAWTEXT(FILTER(買=1,5),LOW-0.03,'買'),COLORRED; 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; BDGD:=HHV(J,2)=HHV(J,8) AND J>80; 注意:=IF(CROSS(REF(J-0.01,1),J) AND REF(BDGD,1),1,0); DRAWTEXT(注意 AND 賣!=1,HIGH*1.02,'減'),COLORFFFF50; 加倉A:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10; DRAWTEXT(FILTER((CROSS(加倉A,0) OR CROSS(CLOSE,CB)) AND 買!=1,3),LOW-0.03,'加'),COLOR0080FF; MA18:=MA(C,18); 跟:=IF(MA18>=REF(MA18,3) AND CROSS(CLOSE,MA18),1,0); DRAWTEXT(MA18>=REF(MA18,3) AND CROSS(CLOSE,MA18),LOW*0.96,'跟'),COLOR7F52AF; 買價:=((C-REF(MA5,1))/5+MA5)*1.004; 買條件:=CROSS(C,買價) AND 買價>REF(買價,1); 醉白K買進(jìn):IF(買條件,L,H),COLORWHITE,POINTDOT; STICKLINE(買條件,H,L,0,1),COLORWHITE,LINETHICK2; STICKLINE(買條件,O,C,4,1),COLORWHITE,LINETHICK2; 加碼價:=((C-REF(MA10,1))/20+MA10)*1.004; 加碼條件:=CROSS(C,加碼價) AND 加碼價>REF(加碼價,1); 醉黃K加碼:IF(加碼條件,L,H),COLORYELLOW,POINTDOT; STICKLINE(加碼條件,H,L,0,1),COLORYELLOW,LINETHICK2; STICKLINE(加碼條件,O,C,4,1),COLORYELLOW,LINETHICK2;
大牛買賣 買線:=EMA(C,2); 賣線:=EMA(SLOPE(C,21)*20+C,42); STICKLINE(買線>=賣線,REFDATE(HHV(H,130),DATE),REFDATE(LLV(L,130),DATE),5,0), COLOR781836; DRAWKLINE(H,O,L,C); 指導(dǎo)線:=EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2); 買:IF(CROSS(指導(dǎo)線,界) OR CROSS(買線,賣線),C,DRAWNULL),COLORMAGENTA,NODRAW; 持倉:IF(買線>=賣線,C,DRAWNULL),COLORRED,NODRAW; 賣:IF(CROSS(界,指導(dǎo)線) OR CROSS(賣線,買線),C,DRAWNULL),COLORLIGRAY,NODRAW; 空倉:IF(買線<賣線,C,DRAWNULL),COLORGREEN,NODRAW; 支撐:MA(REF(LLV(C,30),1),2),COLORABFF46; AA1:=AMOUNT/V;BB1:=L<AA1*0.9;JJ:= (CLOSE+HIGH+LOW)/3; 壓力:MA(REF(HHV(C,30),1),2),COLOR9DFFFF; A:=EMA(JJ,10); B:=REF(A,1); VAR1:=STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,6,1),COLORRED; VAR2:=STICKLINE(CLOSE>=OPEN,OPEN,LOW,0.5,0),COLORRED; STICKLINE(CLOSE>=OPEN,HIGH,CLOSE,0.5,0),COLORRED; VAR3:=STICKLINE(CLOSE<OPEN,CLOSE,OPEN,6,0),COLORGREEN; VAR4:=STICKLINE(CLOSE<OPEN,HIGH,OPEN,0.5,0),COLORGREEN; STICKLINE(CLOSE<OPEN,LOW,CLOSE,0.5,0),COLORGREEN; STICKLINE(A>B,A,B,5,0),COLORYELLOW; STICKLINE(A<B,A,B,5,0),COLORBLUE; K:=(C+H+L)/3; D:=MA(K,4); 操作:D,COLORWHITE,LINETHICK2; VAR37:=EMA(EMA(EMA(CLOSE,2),2),2); VAR47:=(MA(VAR37,47))*(0.99); DRAWTEXT((MA(CLOSE,13) > MA(CLOSE,18)) AND CROSS(CLOSE,MA(CLOSE,4)) AND (MA(CLOSE,4) < MA (CLOSE,13)),(LOW)*(0.95),'進(jìn)'),COLOR00FF00; B36:=MA(CLOSE,3) - MA(CLOSE,6); B612:=MA(CLOSE,6) - MA(CLOSE,12); J:=((B36)/(CLOSE))*(10); J1:=((B612)/(CLOSE))*(10); DRAWTEXT((J < (-0.2)) AND (J1 < (-0.2)) AND CROSS(J,J1),(LOW)*(0.95),'大牛'),COLORRED; KS:=((CLOSE - MA(CLOSE,13))/(MA(CLOSE,13)))*((-200)); RKS:=REF(KS,1); FT:=((RKS)/(KS) >= 1.23) AND (RKS >= 8) AND ((CLOSE)/(REF(CLOSE,1)) >= 1.03); 反彈:STICKLINE(FT,HIGH,LOW,0,1),LINETHICK2,COLOR00FF00; STICKLINE(FT,OPEN,CLOSE,8,0),COLORYELLOW; VAR10:=MA(CLOSE,80) - (MA(CLOSE,10))/(3); VAR11:=REF(CLOSE,1); VAR12:=((SMA(MAX(CLOSE - VAR11,0),18,1))/(SMA(ABS(CLOSE - VAR11),18,1)))*(100); DRAWICON(CROSS(79,VAR12),(HIGH)*(1.035),2),COLOR008000; AK1:=EMA(((CLOSE - VAR1)/(VAR2 - VAR1))*(100),5); AK:=EMA(((CLOSE - VAR1)/(VAR2 - VAR1))*(50),13); DD:=EMA((0.667)*(REF(AK1,1)) + (0.333)*(AK1),2); VAR5:=EMA(((CLOSE - VAR3)/(VAR4 - VAR3))*(100),3); VAR6:=(AK + VAR5)/(2); VAR7:=EMA((0.667)*(REF(VAR5,1)) + (0.333)*(AK1),2); VAR8:=EMA(VAR6,5); BB:=EMA((0.667)*(REF(VAR8,1)) + (0.333)*(VAR8),2); AB:=CROSS(AK1,AK); CD:=(BB1)*(0.6); DRAWTEXT((AB = 1),(LOW)*(0.98),'■'),LINETHICK2,COLOR66FFCC; DRAWTEXT((AB = 1),(LOW)*(0.94),'拐點 '),COLOR33CC99; VAR111:=(((CLOSE - MA(CLOSE,6))/(MA(CLOSE,6)))*(200) + ((CLOSE - MA(CLOSE,24))/(MA (CLOSE,24)))*(200) + ((CLOSE - MA(CLOSE,32))/(MA(CLOSE,32)))*(200))/(3); DRAWICON((VAR111 > 20) AND FILTER((VAR111 < REF(VAR111,1)),5),(HIGH)*(1.02),2),COLORFF00FF; DRAWTEXT(REF(C,1)>D AND C<D AND D>REF(D,1),H*1.02, '賣'); DRAWTEXT(REF(C,1)<D AND C>D AND D<REF(D,1),L*0.98, '買'),COLORWHITE; 波段買賣 底部:10; 賣出線: 99; 趨勢1:=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),COLOR0000FF,LINETHICK2; 買入警戒:IF(趨勢1<=10,20,0),COLOR00FFFF; 賣出警戒: IF(趨勢1>=90,80,100),COLOR00FF00; RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100); VARA:=REF(LOW,1); VARB:=SMA(ABS(LOW-VARA),3,1)/SMA(MAX(LOW-VARA,0),3,1)*100; VARC:=EMA(IF(CLOSE*1.3,VARB*10,VARB/10),3); K:=SMA(RSV,3,1),COLOR00FFFF,LINETHICK2; D:=SMA(K,3,1),COLOR00FFFF,LINETHICK2; J:=3*K-2*D,LINETHICK2,COLORFFFFFF; VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5; 高拋: 80; VAR2:=LLV(LOW,34); VAR3:=HHV(HIGH,34); SK: EMA((VAR1-VAR2)/(VAR3-VAR2)*100,13),LINETHICK2,COLORFFFFFF; SD: EMA(SK,3),LINETHICK2,COLOR00FF00; DRAWBAND(SK,RGB(250,0,10),SD,RGB(20,200,0)); STICKLINE(CROSS(J,3),20,1,2,0),COLOR000FFF,LINETHICK3; DRAWTEXT(CROSS(J,3),55,'跟莊'); VAR1N:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; VAR2N:=EMA(VAR1N,30); VAR3N:=EMA(VAR2N,30); VAR4N:=3*VAR2N-2*VAR3N; 勢:EMA(VAR4N,5),COLORBLUE,LINETHICK3; VAR5:=LLV(LOW,10); VAR6:=HHV(HIGH,25); 決策線:EMA((CLOSE-VAR5)/(VAR6-VAR5)*100,4),COLORRED,LINETHICK2; DRAWTEXT(CROSS(80,決策線),105,'閃'),COLOR00FF00; DRAWICON(CROSS(80,決策線),110,2); STICKLINE(勢>80,勢,80,1,0),COLORGREEN; STICKLINE(勢<10,勢,10,1,0),COLOR00FFFF; DRAWTEXT(CROSS(10,勢),35,'進(jìn)'),COLOR000FFF; DRAWICON(CROSS(10,勢),0,1);
2 黑牛均線 買線:=EMA(CLOSE,2); 賣線:=EMA(SLOPE(CLOSE,21) * 20 + CLOSE,42); BU:=CROSS(買線,賣線); SEL:=CROSS(賣線,買線); DRAWTEXT(BU,(LOW * 0.97),'▲'),COLOR0000FF; DRAWTEXT(BU,(LOW * 0.95),'▲'),COLOR0000FF; DRAWTEXT(BU,(LOW * 0.93),'▲'),COLOR0000FF; DRAWTEXT(SEL,(HIGH * 1.03),'▼'),COLORFF6600; DRAWTEXT(SEL,(HIGH * 1.045),'▼'),COLORFF6600; DRAWTEXT(SEL,(HIGH * 1.065),'▼'),COLORFF6600; STICKLINE(買線 >= 賣線,LOW,HIGH,0.0,1),COLOR0000FF; STICKLINE(買線 >= 賣線,CLOSE,OPEN,2,1),COLOR0000FF; STICKLINE(買線 < 賣線,LOW,HIGH,0.0,1),COLOR009900; STICKLINE(買線 < 賣線,CLOSE,OPEN,2,1),COLOR009900; STICKLINE(BU,OPEN,CLOSE,2,0),COLOR00FFFF; STICKLINE(SEL,OPEN,CLOSE,2,0),COLORFF3300; 主力:EMA(CLOSE,10),COLOR0000FF; 散戶:EMA(CLOSE,5),COLORFFFFFF; 綠降:(46.18 * EMA(CLOSE,10) - 31.82 * EMA(CLOSE,4)) / 14.36,COLOR33FF00,LINETHICK1; 操盤:MA(CLOSE,9),COLORFF00FF,LINETHICK2; 界點:MA(CLOSE,20),COLORFF9900; LC:=REF(CLOSE,1); RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100); FF:=EMA(CLOSE,3); MA15:=EMA(CLOSE,21); DRAWTEXT(CROSS(FF,MA15),(LOW * 0.96),'底'),COLOR0099FF; DRAWTEXT(CROSS(FF,MA15),(LOW * 0.915),'背'),COLOR0099FF; DRAWTEXT(CROSS(FF,MA15),(LOW * 0.88),'離'),COLOR0099FF; TR:=MAX(MAX((HIGH - LOW),ABS(REF(CLOSE,1) - HIGH)),ABS(REF(CLOSE,1) - LOW)); ATR:=MA(TR,14); AA:=(HHV(HIGH,20) - (2 * ATR)); BB:=CROSS(CLOSE,REF(HHV(HIGH,55),1)); SSS:=CROSS(MIN(MA(CLOSE,13),AA),CLOSE); BBB:=BARSLAST(BB); SSSB:=BARSLAST(SSS); B1:=((BBB = 0) AND (REF(SSSB,1) < REF(BBB,1))); B1B:=BARSLAST(B1); B2:=((((BB = 1) AND (B1B < SSSB)) AND (B1B > 0)) AND (COUNT(BB,SSSB) < 3)); B2B:=BARSLAST(B2); B3:=((((BB = 1) AND (B2B < B1B)) AND (COUNT(BB,SSSB) < 4)) AND (COUNT(BB,SSSB) > 2)); DRAWTEXT((B1 = 1),(LOW * 0.96),'跟'),COLOR00FFFF; DRAWTEXT((B1 = 1),(LOW * 0.92),'進(jìn)'),COLOR00FFFF; DRAWTEXT((B2 = 1),(LOW * 0.96),'加'),COLOR88FFFF; DRAWTEXT((B2 = 1),(LOW * 0.925),'碼'),COLOR88FFFF;
3 主圖買賣 A1:=DATE <= 13181231; 工作線:(EMA(C,14)) * A1,POINTDOT,LINETHICK4,COLORYELLOW; AA05:MA(C,5),LINETHICK3,COLOR0099CC; 五日乖離率:=(C-AA05)/AA05*100; BB05:=ATAN((AA05/REF(AA05,1)-1)*100)*180/3.1416; 速度5:=SMA(EMA((AA05-REF(AA05,1))/REF(AA05,1),3)*100,3,1); 加速度5:EMA((速度5-REF(速度5,1)),3),NODRAW; IF(BB05>30 AND AA05>REF(AA05,1), AA05,DRAWNULL),LINETHICK2,COLORRED; AA10:MA(C,10), LINETHICK0; AA20:=MA(C,20); BB10:=ATAN((AA10/REF(AA10,1)-1)*100)*180/3.1416; IF(BB05<0 AND AA05<REF(AA05,1), AA05,DRAWNULL),LINETHICK2,COLORFFFF00; AA30:MA(C,30), LINETHICK0; 三拾日乖離率:(C-AA30)/AA30*100,NODRAW; VAR1:=(AA20-AA30)>REF((AA20-AA30),1) AND AA20>REF(AA20,1) AND AA30>REF(AA30,1); VAR2:=(AA30-AA20)<REF((AA30-AA20),1) AND AA20<REF(AA20,1) AND AA30<REF(AA30,1); BB30:=ATAN((AA30/REF(AA30,1)-1)*100)*180/3.1416; 強勢狙擊:=FILTER(BB30>30 AND BB10>45 AND CROSS(BB05,60),10); 加倉:=FILTER(COUNT(CROSS(BB05,30),5)>=1 AND AA05>REF(AA05,1) AND 三拾日乖離率>REF(三拾日乖離率,1) AND AA10>REF(AA10,1) AND 加速度5>REF(加速度5,1) AND 速度5>REF(速度5,1) ,10) ; 清倉:=FILTER(COUNT(CROSS(30,BB05),5)>=1 AND (C>AA30 OR O>AA30) AND AA05<REF(AA05,1) AND 三拾日乖離率<REF(三拾日乖離率,1) AND AA10<REF(AA10,1),10); DRAWTEXT(加倉 ,LOW*0.98,'←-----加倉'),COLORYELLOW; JC:=CROSS(0,五日乖離率) AND 三拾日乖離率<REF(三拾日乖離率,1) AND AA10>REF(AA10,1) ; 減倉:=FILTER(JC,10); MR:=COUNT(CROSS(五日乖離率,0),3)>=1 AND 三拾日乖離率>REF(三拾日乖離率,1) AND AA05>REF(AA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<AA30; 買入:=FILTER(MR,10); DRAWTEXT(減倉,HIGH*1.02,'←減倉'),COLORCYAN; DRAWTEXT(買入,LOW*0.98,'←買入'),COLORYELLOW; TYP:=(HIGH+LOW+CLOSE)/3; CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)); VAR5:=CROSS(CCI,-100); VAR6:=CCI>=200; DRAWTEXT(VAR6,HIGH*1.02,'←----小心'),COLORYELLOW; SJ:=VAR5; STICKLINE(SJ,H,L,0.6,0),COLORYELLOW; LC:=REF(CLOSE,1); RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; DRAWTEXT(CROSS(84,RSI) , HIGH,'←-----逃'),COLORGREEN; VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0); VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0); DRAWTEXT(FILTER((VAR4AA>90),45),(LOW)*(0.93),'←---大膽搏 '),COLORYELLOW; A:=(3*C+L+O+H)/6; X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+ 14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12) +7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+ REF(A,20))/210; 生命線:EMA(X,13),LINETHICK2,COLORMAGENTA; 買線:=EMA(CLOSE,2); 賣線:=EMA(SLOPE(CLOSE,21) * 20 + CLOSE,42); BU:=CROSS(買線,賣線); STICKLINE(BU,OPEN,CLOSE,2,0),COLOR00FFFF;
主力成本:EMA(X,13),COLORFF00FF,LINETHICK0;
趨勢主圖 M1:=5;M2:=10;M3:=20;M4:=60;M5:=120;M6:=250; MA1:MA(CLOSE,M1); MA2:MA(CLOSE,M2); MA3:MA(CLOSE,M3); MA4:MA(CLOSE,M4); MA5:MA(CLOSE,M5); N1:=7; VAR1:=REF(C,1); VAR2:=SMA(MAX(C-VAR1,0),N1,1)/SMA(ABS(C-VAR1),N1,1)*1000; VAR3:=DRAWLINE(VAR2>=HHV(VAR2,N1),VAR2,VAR2<=LLV(VAR2,N1),VAR2,1); VAR4:=VAR2=VAR3; VAR5:=VAR2<REF(VAR2,1); RSV:=(C-LLV(L,25))/(HHV(HIGH,25)-LLV(L,25))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; VAR6:=(2*C+H+L)/3;{可將3該為4,信號少點} VAR7:=EMA(EMA(EMA(VAR6,4),4),4);{可將3該為4,信號少點} VAR8:=(VAR7-REF(VAR7,1))/REF(VAR7,1)*100; VAR9:=MA(VAR8,3)+0.03; VAR10:=MA(VAR8,1); KB:=EMA(C,3)-EMA(C,18); DB:=EMA(KB,3); AA:=BARSCOUNT(C); AH:=HHV(H,120); AL:=LLV(L,120); A0:=(AH-AL)/30; VAR2S:=(2*CLOSE+HIGH+LOW)/4; VAR3S:=IF(YEAR>=2099 AND MONTH>2,0,1); VAR4S:=LLV(LOW,5); VAR5S:=HHV(HIGH,4); 散戶:=EMA((VAR2S-VAR4S)/(VAR5S-VAR4S)*100,4)*VAR3S; 莊家:=EMA(0.667*REF(散戶,1)+0.333*散戶,2)*VAR3S; STICKLINE(KB<DB AND DB<REF(DB,1),C,OPEN,3.2,0),COLOR004400; STICKLINE(KB<DB AND DB<REF(DB,1),C,OPEN,2.7,0),COLOR006600; STICKLINE(KB<DB AND DB<REF(DB,1),C,OPEN,2.1,0),COLOR008800; STICKLINE(KB<DB AND DB<REF(DB,1),C,OPEN,1.5,0),COLOR00AA00; STICKLINE(KB<DB AND DB<REF(DB,1),C,OPEN,0.9,0),COLOR00CC00; STICKLINE(KB<DB AND DB<REF(DB,1),C,OPEN,0.3,0),COLOR00EE00; STICKLINE(KB>DB AND DB>REF(DB,1),C,OPEN,3.2,0),COLOR000055; STICKLINE(KB>DB AND DB>REF(DB,1),C,OPEN,2.7,0),COLOR000077; STICKLINE(KB>DB AND DB>REF(DB,1),C,OPEN,2.1,0),COLOR000099; STICKLINE(KB>DB AND DB>REF(DB,1),C,OPEN,1.5,0),COLOR0000BB; STICKLINE(KB>DB AND DB>REF(DB,1),C,OPEN,0.9,0),COLOR0000DD; STICKLINE(KB>DB AND DB>REF(DB,1),C,OPEN,0.3,0),COLOR0000FF; STICKLINE(CROSS(VAR9,VAR10) AND J>65,H,OPEN,3.15,0),COLORAA1100; STICKLINE(CROSS(VAR9,VAR10) AND J>65,H,OPEN,2.45,0),COLORAA3300; STICKLINE(CROSS(VAR9,VAR10) AND J>65,H,OPEN,1.75,0),COLORAA5500; STICKLINE(CROSS(VAR9,VAR10) AND J>65,H,OPEN,1.05,0),COLORAA7700; STICKLINE(CROSS(VAR9,VAR10) AND J>65,H,OPEN,0.35,0),COLORAA9900; STICKLINE(VAR4 AND VAR5,L,OPEN,3.15,0),COLOR1111FF; STICKLINE(VAR4 AND VAR5,L,OPEN,2.45,0),COLOR3333FF; STICKLINE(VAR4 AND VAR5,L,OPEN,1.75,0),COLOR5555FF; STICKLINE(VAR4 AND VAR5,L,OPEN,1.05,0),COLOR7777FF; STICKLINE(VAR4 AND VAR5,L,OPEN,0.35,0),COLOR9999FF; STICKLINE(CROSS(散戶,莊家) AND 散戶<30,L,OPEN,3.15,0),COLOR770077; STICKLINE(CROSS(散戶,莊家) AND 散戶<30,L,OPEN,2.45,0),COLOR990099; STICKLINE(CROSS(散戶,莊家) AND 散戶<30,L,OPEN,1.75,0),COLORBB00BB; STICKLINE(CROSS(散戶,莊家) AND 散戶<30,L,OPEN,1.05,0),COLORDD00DD; STICKLINE(CROSS(散戶,莊家) AND 散戶<30,L,OPEN,0.35,0),COLORFF00FF; STICKLINE(CROSS(0.9,1/VOL*1000>0.01 AND "KDJ.J"<0),L,OPEN,3.15,0),COLOR337777; STICKLINE(CROSS(0.9,1/VOL*1000>0.01 AND "KDJ.J"<0),L,OPEN,2.45,0),COLOR339999; STICKLINE(CROSS(0.9,1/VOL*1000>0.01 AND "KDJ.J"<0),L,OPEN,1.75,0),COLOR33BBBB; STICKLINE(CROSS(0.9,1/VOL*1000>0.01 AND "KDJ.J"<0),L,OPEN,1.05,0),COLOR33DDDD; STICKLINE(CROSS(0.9,1/VOL*1000>0.01 AND "KDJ.J"<0),L,OPEN,0.35,0),COLOR33FFFF; STICKLINE((AA+0)/34=FLOOR((AA+0)/34),L,OPEN,3.15,1),COLORFFFFFF; DRAWTEXT((AA+0)/34=FLOOR((AA+0)/34),L*1,'時間窗'),COLORFFFFFF; DRAWTEXT(CROSS(散戶,莊家) AND 散戶<30,L*1,'吸'),COLORFF00FF; DRAWICON(CROSS(VAR9,VAR10) AND J>65,H*1,15),COLORGREEN; DRAWTEXT(CROSS(VAR9,VAR10) AND J>65,H*1,' 賣'),COLORYELLOW; DRAWICON(VAR4 AND VAR5,L*1,9); DRAWTEXT(VAR4 AND VAR5,L*1,' 買')COLORFFFFFF; DRAWTEXT(CROSS(0.9,1/VOL*1000>0.01 AND "KDJ.J"<0),L*1,'地量買點'),COLOR33FFFF;
資金流向指標(biāo)源碼 TDX資金流向指標(biāo) 軸:0,COLOR4B4B4B; PJJ:=DMA((H + L + C * 2) / 4,0.9); JJ:=REF(EMA(PJJ,3),1); QJJ:=VOL / ((H - L) * 2 - ABS(C - O)); XVL:=IF(C > O,QJJ * (H - L),IF(C < O,QJJ * (H - O + (C - L)),VOL / 2)) + IF(C > O,0 - QJJ * (H - C + (O - L)),IF(C < O,0 - QJJ * (H - L),0 - VOL / 2)); ZLL:=VOL / CAPITAL; HSL1:=IF(ZLL > 10,10,ZLL); HSL:=XVL / 20 / 1.15; 攻擊流量:=HSL * 0.55 + REF(HSL,1) * 0.33 + REF(HSL,2) * 0.22; GJJ:=EMA(攻擊流量,8); LLJX:=EMA(攻擊流量,3); 流量:LLJX,COLORC875B7,NODRAW; STICKLINE(流量 > 0,流量,0,2.3,0)COLOR0000FF; STICKLINE(流量 < 0,流量,0,2.3,0),COLORFF4242; 流量基線:GJJ,COLOR00BBBB; STICKLINE(HSL * 0.4 >= 0,HSL * 0.4 * 1.5,0,0,1)COLORYELLOW; STICKLINE(HSL * 0.4 < 0,HSL * 0.4 * 1.5,0,0,1)COLORGREEN; ZJLL:=REF(LLJX,1); QZJJ:=(((LLJX - ZJLL) / ZJLL) * 100); 流量幅%:IF(((LLJX > 0) AND (ZJLL < 0)),ABS(QZJJ),IF((((LLJX < 0) AND (ZJLL < 0)) AND (LLJX < ZJLL)),(0 - QZJJ),QZJJ))COLORWHITE,NODRAW; 力度:HSL / 1000,COLOR9B37FF,NODRAW; 周流量:SUM(LLJX,5),COLORFFBFDF,NODRAW; BB:=REF(周流量,1); ZQZJJ:=(周流量-BB)/BB*100; 周幅%:IF(周流量>0 AND BB<0,ABS(ZQZJJ),IF(周流量<0 AND BB<0 AND 周流量<BB,-ZQZJJ,ZQZJJ))COLORWHITE,NODRAW; 通達(dá)信..資金流向的選股方法
短線是銀選股公式源碼(完全版) D!DFDDP 多方疊疊炮 Var1:=REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>OPEN; Var2:=Var1 AND REF(BARSLAST(Var1),1)<9 AND CLOSE/REF(CLOSE,10)>1.1; Var2; D!DFH 東方紅大陽升 Var1:=VOL/CAPITAL*100; Var2:=Var1>4 AND CLOSE>REF(CLOSE,1); Var3:=COUNT(Var2,13)>=3; Var4:=CLOSE/REF(CLOSE,1)>1.049 AND Var1>5; Var5:=REF(SUMBARS(VOL,CAPITAL),13)>89; Var6:=HIGH/CLOSE<1.021; Var7:=COUNT(CLOSE/REF(CLOSE,1)>1.04,10)<5; Var8:=IF(COUNT(Var1>4,5)>=3,0,1); Var9:=Var3 AND Var4 AND Var5 AND Var6; Var9 AND (REF(BARSLAST(Var9),1)>20 OR BARSSINCE(Var9)=0); D!DFP 多方炮 Var1:=REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>OPEN; Var1; D!DIFSCLX DIF上穿零線 Var1:=EMA(CLOSE,12)-EMA(CLOSE,26); COUNT(Var1>=0,60)=1 AND Var1>=0; D!DIFXCLX DIF下穿零線 Var1:=EMA(CLOSE,12)-EMA(CLOSE,26); COUNT(Var1<=0,60)=1 AND Var1<=0; D!FLGT 放量過頭 Var1:=HHV(HIGH,60); Var2:=CLOSE>Var1; Var3:=VOL>MA(VOL,5)*2.5 OR COUNT(VOL>MA(VOL,10),6)>4; Var2 AND Var3; D!HMCSF 黑馬草上飛 Var1:=(CLOSE-MA(CLOSE,60))/MA(CLOSE,60)*100; Var2:=COUNT(MA(CLOSE,60)>REF(MA(CLOSE,60),1),100)>95; Var3:=COUNT(Var1<20,100)>95; Var4:=COUNT(CLOSE>MA(CLOSE,60),100)>80; Var5:=CLOSE/REF(CLOSE,1)>1.04; Var6:=VOL/CAPITAL*100>2.8; Var7:=Var2 AND Var3 AND Var4 AND Var5 AND Var6; Var7 AND (REF(BARSLAST(Var7),1)>20 OR BARSSINCE(Var7)=0); D!KFP 空方炮 REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)>REF(OPEN,1) AND CLOSE<OPEN; D!LBCJ Var1:=MA(CLOSE,60); Var2:=COUNT(CLOSE<Var1,33)>31; Var3:=CROSS(CLOSE,Var1); Var4:=CLOSE/REF(CLOSE,1)>1.045; Var2 AND Var3 AND Var4; D!LYT 老鴨頭 Var1:=MA(CLOSE,5); Var2:=MA(CLOSE,10); Var3:=MA(CLOSE,60); Var4:=BARSLAST(CROSS(Var1,Var3)); Var5:=BARSLAST(CROSS(Var2,Var3)); Var6:=BARSLAST(HIGH=HHV(HIGH,Var5)); Var7:=BARSLAST(CROSS(Var2,Var1)); Var8:=BARSLAST(CROSS(Var1,Var2)); Var9:=Var4>Var5 AND Var5>Var6 AND Var6>Var7 AND Var7>Var8 AND Var8<5; VarA:=COUNT(CROSS(Var2,Var1),Var5)=1; Var9 AND VarA; D!LZMD 量芝麻點 Var1:=MA(VOL,40); Var2:=VOL/CAPITAL*100; Var3:=COUNT(VOL/Var1<1.3,14)>11; Var4:=CROSS(Var2,2); Var5:=CLOSE/REF(CLOSE,1)>1.025 AND CLOSE>OPEN; Var6:=Var3 AND Var4 AND Var5; Var6; D!QLQS 青龍取水 Var1:=MIN(MA(CLOSE,5),MA(CLOSE,10))>MA(CLOSE,60) AND CROSS(MA(CLOSE,5),MA(CLOSE,10)); Var2:=MIN(MA(CLOSE,5),MA(CLOSE,10))/MA(CLOSE,60)<1.05; Var3:=COUNT(VOL<MA(VOL,10),10)>6; Var1 AND Var2 AND Var3; D!SSCJD 三死叉見頂 Var1:=5; Var2:=HHV(HIGH,20)/HIGH<=1.15; Var3:=MA(CLOSE,5); Var4:=MA(CLOSE,10); Var5:=MA(VOL,5); Var6:=MA(VOL,10); Var7:=EMA(CLOSE,12)-EMA(CLOSE,26); Var8:=EMA(Var7,9); Var9:=BARSLAST(CROSS(Var4,Var3)); VarA:=BARSLAST(CROSS(Var6,Var5)); VarB:=BARSLAST(CROSS(Var8,Var7)); VarC:=IF(Var9<=Var1 AND VarA<=Var1 AND VarB<=Var1,1,0); VarC; D!TSJDXJ 天上井地下井 Var1:=MA(CLOSE,5); Var2:=MA(CLOSE,10); Var3:=MA(CLOSE,20); Var4:=MA(CLOSE,30); Var5:=COUNT(CROSS(Var3,Var1),21)=1 AND COUNT(CROSS(Var4,Var1),21)>0 AND COUNT(CROSS(Var3,Var2),21)>0 AND COUNT(CROSS(Var4,Var2),21)>0; Var6:=MA(VOL,5); Var7:=MA(VOL,10); Var8:=MA(VOL,20); Var9:=MA(VOL,30); VarA:=COUNT(CROSS(Var8,Var6),21)=1 AND COUNT(CROSS(Var9,Var6),21)>0 AND COUNT(CROSS(Var8,Var7),21)>0 AND COUNT(CROSS(Var9,Var7),21)>0; VarB:=COUNT(Var5,13)>0 AND COUNT(VarA,13)>0; VarB AND (REF(BARSLAST(VarB),1)>20 OR BARSSINCE(VarB)=0); D!VOLTUO 量托 n1=5,n2=10,n3=20 Var1:=MA(VOL,N1); Var2:=MA(VOL,N2); Var3:=MA(VOL,N3); Var4:=COUNT(CROSS(Var1,Var2),21)=1 AND CROSS(Var2,Var3) AND COUNT(CROSS(Var1,Var3),21)=1 AND BARSLAST(CROSS(Var1,Var2))>BARSLAST(CROSS(Var1,Var3)) AND BARSLAST(CROSS(Var1,Var3))>BARSLAST(CROSS(Var2,Var3)) AND Var1>REF(Var1,1); Var4; D!VOLYA 量壓 n1=5,n2=10,n3=20 Var1:=MA(VOL,N1); Var2:=MA(VOL,N2); Var3:=MA(VOL,N3); Var4:=COUNT(CROSS(Var2,Var1),21)=1 AND CROSS(Var3,Var2) AND COUNT(CROSS(Var3,Var1),21)=1 AND BARSLAST(CROSS(Var2,Var1))>BARSLAST(CROSS(Var3,Var1)) AND BARSLAST(CROSS(Var3,Var1))>BARSLAST(CROSS(Var3,Var2)) AND Var1<REF(Var1,1); Var4; D!YYSCSJT 一陽上穿三角托 n1=20,n2=40,n3=60 Var1:=MA(CLOSE,N1); Var2:=MA(CLOSE,N2); Var3:=MA(CLOSE,N3); Var4:=COUNT(CROSS(Var1,Var2),21)=1 AND CROSS(Var2,Var3) AND COUNT(CROSS(Var1,Var3),21)=1 AND BARSLAST(CROSS(Var1,Var2))>BARSLAST(CROSS(Var1,Var3)) AND BARSLAST(CROSS(Var1,Var3))>BARSLAST(CROSS(Var2,Var3)) AND Var1>REF(Var1,1); Var5:=CLOSE>MAX(Var1,MAX(Var2,Var3)) AND OPEN<MIN(Var1,MIN(Var2,Var3)); Var6:=COUNT(Var5,21)=1; Var4 AND Var6; DXSYJT 短線是銀之價托 m1=20,m2=40,m3=60,NDAY=1 Var1:=MA(CLOSE,M1); Var2:=MA(CLOSE,M2); Var3:=MA(CLOSE,M3); Var4:=BARSLAST(CROSS(Var1,Var2)); Var5:=BARSLAST(CROSS(Var1,Var3)); Var6:=BARSLAST(CROSS(Var2,Var3)); Var7:=IF(Var4>Var5 AND Var5>Var6 AND Var6<=NDAY,1,0); Var8:=IF(Var1>Var2 AND Var2>Var3 AND CLOSE>Var1,1,0); Var7 AND Var8; DXSYLT 短線是銀之量托 m1=20,m2=40,m3=60,NDAY=1 Var1:=MA(VOL,M1); Var2:=MA(VOL,M2); Var3:=MA(VOL,M3); Var4:=BARSLAST(CROSS(Var1,Var2)); Var5:=BARSLAST(CROSS(Var1,Var3)); Var6:=BARSLAST(CROSS(Var2,Var3)); Var7:=IF(Var4>Var5 AND Var5>Var6 AND Var6<=NDAY,1,0); Var8:=IF(Var1>Var2 AND Var2>Var3 AND VOL>Var1,1,0); Var7 AND Var8; HIGHVOL 短線是銀之絕對量頂天 n=125 IF(HHV(VOL,N)=VOL,1,0); 交叉 5日線上穿10日線且本次交叉距上次交叉50天以上 Var1:=MA(CLOSE,5); Var2:=MA(CLOSE,10); Var3:=BARSLAST(CROSS(Var1,Var2)); Var4:=REF(Var3,1); IF(Var4>=50 AND Var3=0,1,0);
條件選股公式——短線是銀之三金叉見底
nday := 5; down := close/llv(low,60)<=1.2; pma1 := ma(close,5); pma2 := ma(close,10); vma1 := ma(vol,5); vma2 := ma(vol,10); diff := ema(close,12) - ema(close,26); dea := ema(diff,9); ppday := barslast(cross(pma1,pma2)); vvday := barslast(cross(vma1,vma2)); macdday := barslast(cross(diff,dea)); sjcjd:= if((ppday<=nday and vvday<=nday and macdday<=nday),1,0); sjcjd
唐能通<短線是銀>中的選股方法:10合1指標(biāo)[大智慧]
{參數(shù);N:5,30,8;ZF:1,10,5;m:1.100.3;n10:1.100.9;p1:1.100.3;p2:1.100.3} MA5 := MA(close,5); MA10 := MA(close,10); MA60 := MA(close,60); pday1 := barslast(cross(ma60,ma5));{5日均線下穿60日均線} pday2 := barslast(cross(ma60,ma10));{10日均線下穿60日均線,至此形成鴨頸部} pday3 := barslast(low=llv(low,pday2));{形成頭部,要反彈} pday4 := barslast(cross(ma5,ma10));{反彈后,5日均線和10日均線金叉} pday5 := barslast(cross(ma10,ma5));{反彈不久,5日均線和10日均線形成死叉,形成嘴部} a1:= pday1>pday2 and pday2>pday3 and pday3>pday4 and pday4>pday5 and pday5<5; a2:= count(cross(ma10,ma5),pday2)=1; 唐鴨頭:A1 AND A2,COLORffff00; DRAWTEXT(唐鴨頭,0.8 , '唐鴨頭'),COLORred; Var1:=MA(CLOSE,5); Var2:=MA(CLOSE,10); Var3:=MA(CLOSE,60); Var4:=BARSLAST(CROSS(Var1,Var3)); Var5:=BARSLAST(CROSS(Var2,Var3)); Var6:=BARSLAST(HIGH=HHV(HIGH,Var5)); Var7:=BARSLAST(CROSS(Var2,Var1)); Var8:=BARSLAST(CROSS(Var1,Var2)); Var9:=Var4>Var5 AND Var5>Var6 AND Var6>Var7 AND Var7>Var8 AND Var8<5; VarA:=COUNT(CROSS(Var2,Var1),Var5)=1; 老鴨頭:Var9 AND VarA and Var3>ref(Var3,1),COLORFF00FF; DRAWTEXT(老鴨頭 ,0.8 , '老鴨頭'),COLORred; nA1:=MIN(MA(C,5),MA(C,10))>MA(C,60) AND CROSS(MA(C,5),MA(C,10)); nA2:=MIN(MA(C,5),MA(C,10))/MA(C,60)<1.05; nA3:=COUNT(V<MA(V,10),10)>6; 青龍取水:nA1 AND nA2 AND nA3,COLOR00FF00,LINETHICK2; DRAWTEXT(青龍取水 ,0.8 , '青龍取水'),COLORred; 線:=ma(c,180)>ref(ma(c,180),2) and count(cross(ma(c,5),ma(c,180)),6)>=1 and c/ma(c,180)>1.04,COLORblue; 穿180線:ma(c,180)>ref(ma(c,180),2) and count(cross(ma(c,5),ma(c,180)),6)>=1 and c/ma(c,180)>1.04,COLORblue; DRAWTEXT(穿180線,0.8 , '180'),COLORblue; VAR32:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100; VAR33:=SMA(SMA(VAR32,3,1),3,1)/28.57; VAR34:=EMA(VAR33,5); VAR35:=3*VAR33-2*VAR34; 絕買:CROSS(VAR35,VAR33) AND VAR33<2.1 and c>o,COLORred; DRAWTEXT(絕買,0.9,'絕買'),COLORred; ss1:=(LOW+HIGH+CLOSE*2)/4; ss2:= MA(ss1,4); ss3:=HHV(ss2,10); ss4:=ma(ss3,3); ss5:=1.25*ss4-0.25*ss3; xkkj:=if(ss5>ss3,ss3,ss5); ff1:=LLV(ss2,10); ff2:=ma(ff1,3); ff3:=1.25*ff2-0.25*ff1; dkkj:=if(ff3<ff1,ff1,ff3); ma13:=ma(c,13); zdhm:=cross(c,dkkj) and cross(c,ma13) and cross(c,xkkj); zhm:=cross(c,ma13) and cross(c,xkkj); 的盧:zdhm or zhm,COLORgreen; DRAWTEXT(的盧,0.5,'的盧'),COLORred; MA111:=MA(CLOSE,20); MA112:=MA(CLOSE,40); MA113:=MA(CLOSE,60); A11:=OPEN<MA111 OR OPEN<MA112 OR OPEN<MA113,COLORred; A12:=C>MAX(MA111,MAX(MA112,MA113)),COLORred; A13:=V/MA(V,30)>1.2,COLORred; A14:=C/REF(C,1)>1.049,COLORred; 芙蓉:A11 AND A12 AND A13 AND A14,COLORwhite; DRAWTEXT(芙蓉,0.3,'出水芙蓉'),COLORwhite; J:=(C*2+H+L)/4; K:=(EMA(J,13) - EMA(J,21))*180; D:=EMA(K,2); kk:=(K-D); dd:=-1*(K-D); ss:=CROSS(kk,dd); VARbb:=EMA(EMA(CLOSE,5),5); ll:=(VARbb-REF(VARbb,1))/REF(VARbb,1)*1000; mm:=CROSS(ll,0); 黃買藍(lán)出:ss and mm,COLORyellow; DRAWTEXT(黃買藍(lán)出,0.5,'黃買藍(lán)出'),COLORred; RSV100:=(CLOSE-LLV(LOW,N10))/(HHV(HIGH,N10)-LLV(LOW,N10))*100; K10:=SMA(RSV100,P1,1); D10:=SMA(K10,P2,1); J10:=3*K10-2*D10; kdj買點:j10<0,COLOR0066ff; DRAWTEXT(kdj買點,0.2,'kdj買點'),COLOR0066ff; Var201:=CLOSE-REF(CLOSE,1); Var202:=IF(CLOSE-REF(CLOSE,1)>=0,Var201,0); Var203:=REF(CLOSE,1)-CLOSE; Var204:=IF(CLOSE-REF(CLOSE,1)<=0,Var203,0); Var205:=SUM(Var202,8)/SUM(Var204,8); Var206:=1-1/(1+Var205); 短線: EMA(Var206,3),COLORyellow; Var207:=LLV(LOW,50); Var208:=HHV(HIGH,50); Var209:=EMA(CLOSE,2); 中線: EMA((Var209-Var207)/(Var208-Var207),8),COLOR00FF00;
絕密波段 VAR1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100; VAR2:=SMA(VAR1,3,1); VAR3:=SMA(VAR2,3,1); VAR4:=SMA(VAR3,3,1); 波: VAR3; 段: VAR4; VAR6:=CROSS(VAR3,VAR4) AND VAR3<20; DRAWTEXT(FILTER(VAR6,10)=1,40,'抄底'),LINETHICK3 ; STICKLINE(FILTER(VAR6,10)=1,0,30,10,0),COLORGREEN ; VAR7:=CROSS(VAR4,VAR3) AND VAR3>80; STICKLINE(FILTER(VAR7,5)=1,80,100,10,0),COLORYELLOW ; DRAWTEXT(FILTER(VAR7,5)=1,70,'逃頂'),LINETHICK3 ,COLORYELLOW; VAR8:=CROSS(VAR2,VAR3) AND VAR3>80 AND VAR3>VAR4; STICKLINE(VAR8,85,100,10,0) ; 90 ;
波段 底部:10; 賣出線: 99; 趨勢1:=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),COLOR0000FF,LINETHICK2; 買入警戒:IF(趨勢1<=10,20,0),COLOR00FFFF; 賣出警戒: IF(趨勢1>=90,80,100),COLOR00FF00; RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100); VARA:=REF(LOW,1); VARB:=SMA(ABS(LOW-VARA),3,1)/SMA(MAX(LOW-VARA,0),3,1)*100; VARC:=EMA(IF(CLOSE*1.3,VARB*10,VARB/10),3); K:=SMA(RSV,3,1),COLOR00FFFF,LINETHICK2; D:=SMA(K,3,1),COLOR00FFFF,LINETHICK2; J:=3*K-2*D,LINETHICK2,COLORFFFFFF; VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5; 高拋: 80; VAR2:=LLV(LOW,34); VAR3:=HHV(HIGH,34); SK: EMA((VAR1-VAR2)/(VAR3-VAR2)*100,13),LINETHICK2,COLORFFFFFF; SD: EMA(SK,3),LINETHICK2,COLOR00FF00; DRAWBAND(SK,RGB(250,0,10),SD,RGB(20,200,0)); STICKLINE(CROSS(J,3),20,1,2,0),COLOR000FFF,LINETHICK3; DRAWTEXT(CROSS(J,3),55,'跟莊'); VAR1N:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; VAR2N:=EMA(VAR1N,30); VAR3N:=EMA(VAR2N,30); VAR4N:=3*VAR2N-2*VAR3N; 勢:EMA(VAR4N,5),COLORBLUE,LINETHICK3; VAR5:=LLV(LOW,10); VAR6:=HHV(HIGH,25); 決策線:EMA((CLOSE-VAR5)/(VAR6-VAR5)*100,4),COLORRED,LINETHICK2; DRAWTEXT(CROSS(80,決策線),105,'閃'),COLOR00FF00; DRAWICON(CROSS(80,決策線),110,2); STICKLINE(勢>80,勢,80,1,0),COLORGREEN; STICKLINE(勢<10,勢,10,1,0),COLOR00FFFF; DRAWTEXT(CROSS(10,勢),35,'進(jìn)'),COLOR000FFF; DRAWICON(CROSS(10,勢),0,1);
|
|