如何判斷一個(gè)指標(biāo)是否是好指標(biāo)? 精準(zhǔn)高成功率公式強(qiáng)龍買(mǎi)點(diǎn)參考+抓妖主圖 用法: 抓妖主圖 DRAWBAND(COST(70),RGB(80,0,80),COST(90),RGB(88,8,240)); DRAWBAND(COST(50),RGB(80,60,80),COST(70),RGB(88,68,240)); DRAWBAND(COST(30),RGB(80,120,80),COST(50),RGB(88,128,240)); DRAWBAND(COST(10),RGB(80,190,80),COST(30),RGB(88,188,240)); {彩色K線} TYX3:=MA(REF(HHV((C+L+O+H)/4,30),1),3); TYX4:=MA((C+L+O+H)/4,13); TYX5:=EMA((C+L+O+H)/4,21); {空心紅} STICKLINE(C<TYX5 AND C>O,H,L,0,0),COLORRED; STICKLINE(C<TYX5 AND C>O,C,O,3,1),COLORRED; {深綠} STICKLINE(C<TYX5 AND C<O,H,L,0,0),COLOR007700; STICKLINE(C<TYX5 AND C<O,C,O,3,0),COLOR005500; STICKLINE(C<TYX5 AND C<O,C,O,2,0),COLOR006600; STICKLINE(C<TYX5 AND C<O,C,O,1,0),COLOR007700; {藍(lán)} STICKLINE(C>TYX5 AND C<O,H,L,0,0),COLORFFDD44; STICKLINE(C>TYX5 AND C<O,C,O,3,0 ),COLORFF7700; STICKLINE(C>TYX5 AND C<O,C,O,2,0 ),COLORFFAA22; STICKLINE(C>TYX5 AND C<O,C,O,1 ,0 ),COLORFFDD44; {黃} STICKLINE(C>TYX5 AND C>O,H,L,0,0 ),COLOR00EEFF; STICKLINE(C>TYX5 AND C>O,C,O,3,0 ),COLOR00AAFF; STICKLINE(C>TYX5 AND C>O,C,O,2,0 ),COLOR00CCFF; STICKLINE(C>TYX5 AND C>O,C,O,1,0 ),COLOR00EEFF; {粉紅} STICKLINE(C>TYX4 AND C>O,H,L,0,0),COLORFF66AA; STICKLINE(C>TYX4 AND C>O,C,O,3,0 ),COLORFF11FF; STICKLINE(C>TYX4 AND C>O,C,O,2,0 ),COLORFF44FF; STICKLINE(C>TYX4 AND C>O,C,O,1,0 ),COLORFF66FF; {亮灰} STICKLINE(C>TYX4 AND C<O,H,L,0,0),COLOR999999; STICKLINE(C>TYX4 AND C<O,C,O,3,0),COLOR555555; STICKLINE(C>TYX4 AND C<O,C,O,2,0),COLOR777777; STICKLINE(C>TYX4 AND C<O,C,O,1,0),COLOR999999; {深紅} STICKLINE(C>TYX3 AND C>O,H,L,0,0),COLOR0000DD; STICKLINE(C>TYX3 AND C>O,C,O,3,0),COLOR000099; STICKLINE(C>TYX3 AND C>O,C,O,2,0),COLOR0000BB; STICKLINE(C>TYX3 AND C>O,C,O,1,0),COLOR0000DD; {漲跌停K線} STICKLINE((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(C,1)),OPEN,CLOSE,1,0),COLORYELLOW; STICKLINE((REF(C,1)-C)*100/REF(C,1)>=(10-0.01*100/REF(C,1)),OPEN,CLOSE,1,0),COLORWHITE; {突破} STICKLINE(REF(COUNT(C<TYX3,5)=5,1) AND C>TYX3 AND C>O,C,O,1,0),COLOR00CCFF; STICKLINE(REF(COUNT(C<TYX3,5)=5,1) AND C>TYX3 AND C>O,C,O,1,0),COLOR00CCFF; A1:=CLOSE*VOL; A2:=EMA((EMA(A1,3)/EMA(VOL,3)+EMA(A1,6)/EMA(VOL,6)+EMA(A1,12)/EMA(VOL,12)+EMA(A1,24)/EMA(VOL,24))/4,13); A3:=1.06*A2; A4:=EMA(A3-(EMA(CLOSE,3)-A3),5); AAK:IF(A4<=A3,A4,A3),COLORYELLOW,LINETHICK2; A5:=2*A3-AAK; AAA:IF(A5>=A3,A5,A3),COLORYELLOW,LINETHICK2; 觀望:IF(AAK=AAA,AAK,DRAWNULL),COLORGREEN,LINETHICK2; 趨勢(shì):=3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2* SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1); ZZ:=趨勢(shì)>REF(趨勢(shì),1); K1:=VOL/1000000; K2:=CLOSE; V1:=EMA(K1,5); V2:=EMA(K2,5); 價(jià)異動(dòng):=K2>REF(V2,1)*1.06; 量異動(dòng):=K1>REF(V1,1)*1.6&&ZZ; 停牌:=DYNAINFO(17)>0; MK1:=SUM(價(jià)異動(dòng),2)>0 AND 停牌; MK2:=SUM(量異動(dòng),2)>0 AND REF(趨勢(shì),1)<89; 共鳴:=( C>REF(C,1) AND FILTER(MK1 AND MK2,3))*6,COLORRED; XGP:=AAK=AAA AND 共鳴; DRAWICON(XGP,O*1.01,10); DRAWTEXT(XGP,O*1.01,' ←突破頂,'),COLORYELLOW; 強(qiáng)龍買(mǎi)點(diǎn)參考副圖 公式源碼:} 原創(chuàng):DRAWGBK(1,RGB(36,38,40),RGB(24,16,51),0,1,0); VAR1B:=100*EMA(EMA(CLOSE-REF(CLOSE,1),6),6)/EMA(EMA(ABS(CLOSE-REF(CLOSE,1)),6),6); 抄底紅箭:=LLV(VAR1B,2)=LLV(VAR1B,7) AND COUNT(VAR1B<0,2) AND CROSS(VAR1B,MA(VAR1B,2)); 量能:=IF(MA((VOL-REF(VOL,1))/REF(VOL,1),10)=DRAWNULL,EMA((VOL-REF(VOL,1))/REF(VOL,1),10),MA((VOL-REF(VOL,1))/REF(VOL,1),10)); 股價(jià):=IF((CLOSE-MA(CLOSE,22))/MA(CLOSE,22)=DRAWNULL,(CLOSE-EMA(CLOSE,22))/EMA(CLOSE,22),(CLOSE-MA(CLOSE,22))/MA(CLOSE,22)); 主力量能:=IF(股價(jià)*(100+量能)-MA(股價(jià)*(100+量能),7)=DRAWNULL,股價(jià)*(100+量能)-EMA(股價(jià)*(100+量能),7),股價(jià)*(100+量能)-MA(股價(jià)*(100+量能),7)); 量能金叉:=CROSS(主力量能,0); TYP:=(HIGH+LOW+CLOSE)/3; CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)); CCI金叉:=CROSS(CCI,(-100)); A1:=EMA(CLOSE,14); A1X:=(A1-REF(A1,1))/REF(A1,1)*100; 出擊A:=IF(A1X>=0,REF(EMA(CLOSE,14),BARSLAST(CROSS(A1X,0))+1),DRAWNULL); 出擊A金叉:=CROSS(A1X,0); DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIFF,9); MACD金叉:=CROSS(DIFF,DEA); MTR:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),14); HD:=HIGH-REF(HIGH,1); LD:=REF(LOW,1)-LOW; DMP:=EXPMEMA(IF(HD>0 AND HD>LD,HD,0),14); DMM:=EXPMEMA(IF(LD>0 AND LD>HD,LD,0),14); PDI:=DMP*100/MTR; MDI:=DMM*100/MTR; ADX:=EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,6); ADXR:=EXPMEMA(ADX,6); X1:=MAX(CLOSE,OPEN); X2:=MIN(CLOSE,OPEN); X:=REF(CLOSE>OPEN,2) AND REF(X1,2)>=HHV(X1,2) AND REF(X2,2)<=LLV(X2,2); B:=BARSLAST(X)+2; A:=REF(X1,B)>=HHV(X1,B) AND REF(X2,B)<=LLV(X2,B) AND EVERY(VOL<=REF(VOL,1),B); 肉夾饃:=REF(A,1) AND CLOSE>OPEN AND CLOSE>REF(HHV(HIGH,B),1) AND VOL>REF(HHV(VOL,B),1) AND EVERY(MA(CLOSE,5)>MA(CLOSE,10),B+1); 平臺(tái)起飛:IF(LAST((HIGH-LOW)/REF(CLOSE,1)<0.1,5,0) AND VOL>REF(VOL,1)*2 AND CLOSE>REF(CLOSE,1)*1.05,1,DRAWNULL),NODRAW,COLOR6060A0; NH:=18; LOWV:=LLV(LOW,NH); HIGHV:=HHV(HIGH,NH); MAV:=MA(VOL,3); 橫盤(pán):=(HIGHV-LOWV)/NH<0.15; 放量1:=VOL>=1.8*MAV; 今天大陽(yáng):=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=0.05; 啟動(dòng):IF(橫盤(pán) AND 放量1 AND 今天大陽(yáng),1,DRAWNULL),NODRAW,COLOR4080FF; A☆:=DMA((HIGH+LOW+CLOSE*2)/4,0.9); B☆:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); C☆☆:=IF(CLOSE>OPEN,B☆*(HIGH-LOW),IF(CLOSE<OPEN,B☆*(HIGH-OPEN+(CLOSE-LOW)),VOL/2))+IF(CLOSE>OPEN,0-B☆*(HIGH-CLOSE+(OPEN-LOW)),IF(CLOSE<OPEN,0-B☆*(HIGH-LOW),0-VOL/2)); A☆☆:=C☆☆/20/1.15; 攻擊流量:=A☆☆*0.618+REF(A☆☆,1)*0.382+REF(NVI,2)*0.168; B☆☆:=EMA(攻擊流量,3); 流量:=IF(B☆☆>REF(B☆☆,1),1,0); AA☆:=(MAX(CLOSE,OPEN)-MIN(CLOSE,OPEN))/MIN(CLOSE,OPEN)<0.00618; BB☆:=(HIGH-MAX(CLOSE,OPEN))/MAX(CLOSE,OPEN)>0.00382; DD☆:=(MIN(CLOSE,OPEN)-LOW)/LOW>0.00382; EE☆:=ABS(BB☆-DD☆)/CLOSE<0.00618; 星☆星:=AA☆ AND BB☆ AND DD☆ AND EE☆; 星線選:=星☆星=1 AND 流量=1 AND CLOSE>OPEN AND ABS((CLOSE-MA(CLOSE,20))/MA(CLOSE,20))>0.0382 AND HIGH-MAX(CLOSE,OPEN)<=MIN(CLOSE,OPEN)-LOW; 星線確認(rèn):IF(IF(REF(星線選,1)=1 AND CLOSE>=REF(CLOSE,1),1,0) AND CLOSE>OPEN AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.00618,1,DRAWNULL),NODRAW,COLORFF3399; 一陽(yáng)穿三線:IF(CROSS(PDI,MDI) AND CROSS(PDI,ADX) AND CROSS(PDI,ADXR) AND CLOSE>OPEN AND CLOSE/REF(CLOSE,1)>0.5 AND VOL>MA(VOL,5)*1.5,1,DRAWNULL),NODRAW,COLOR800080; T31:=REF(CLOSE,1)/REF(CLOSE,2)>=1.095; T32:=OPEN>REF(CLOSE,1) AND CLOSE>OPEN; T33:=HIGH>CLOSE AND OPEN>LOW AND LOW>=REF(CLOSE,1); T34:=VOL>REF(VOL,1); 漲停螺旋:IF(T31 AND T32 AND T33 AND T34,1,DRAWNULL),NODRAW,COLOR002080; RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; KD金叉:=CROSS(K,D); A1B:=EMA((LOW+HIGH+CLOSE*2)/4,14); A1XB:=(A1B-REF(A1B,1))/REF(A1B,1)*100; 出擊B:=IF(A1XB>=0 AND BARSLAST(CROSS(A1XB,0))>0,REF((CLOSE+OPEN)/2,BARSLAST(CROSS(A1XB,0))),DRAWNULL); 出擊B金叉:=CROSS(出擊B,0); WMTM:=CLOSE-REF(CLOSE,12); 動(dòng)量金叉:=CROSS(WMTM,0); VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2); VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR3:=REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR9:=REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARB:=REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2); VARE:=REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); K線金底:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1; 下跌:=VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18; K線銀底:=下跌 AND CLOSE>OPEN AND CLOSE>REF(CLOSE,1); 金銀K線:=REF(K線銀底,1) AND K線金底; HLC:=REF(MA((HIGH+LOW+CLOSE)/3,10),1); HV:=EMA(HHV(HIGH,10),3); LV:=EMA(LLV(LOW,10),3); 麥克支撐壓力:=EMA(HLC*2-LV,3); 短線突擊:=EMA((CLOSE+REF(CLOSE,1))/2,3); PSY:=COUNT(CLOSE>REF(CLOSE,1),12)/12*100; PSYMA:=MA(PSY,6); 預(yù)選安全區(qū)域:=CLOSE<=麥克支撐壓力 AND CLOSE>=短線突擊; 做空衰歇:=CROSS(ADX,MDI); 做多金叉:=CROSS(PDI,MDI); 拉升金叉:=CROSS(ADX,ADXR) AND PDI>MDI; 初選量能金叉:=量能金叉 AND (金銀K線 OR 抄底紅箭); 初選基礎(chǔ)池:=預(yù)選安全區(qū)域 AND (金銀K線 OR 抄底紅箭 OR 動(dòng)量金叉 OR (做空衰歇 OR 做多金叉)) AND (初選量能金叉 OR CCI金叉 OR 出擊A金叉); 動(dòng)量金叉確認(rèn):=動(dòng)量金叉 OR (REF(動(dòng)量金叉,1) AND (拉升金叉 OR 做多金叉)) OR (做多金叉 AND 做空衰歇); 出擊B金叉確認(rèn):=出擊B金叉 AND (REF(CCI金叉 OR KD金叉,1) OR 做空衰歇); 做多金叉確認(rèn):=做多金叉 OR (做空衰歇 AND 拉升金叉); MACD金叉確認(rèn):=MACD金叉 AND REF(量能金叉,1); KD金叉確認(rèn):=KD金叉 AND REF(金銀K線 OR 抄底紅箭 OR 做空衰歇,1); 穩(wěn)操勝券:IF(REF(初選基礎(chǔ)池,1) AND (動(dòng)量金叉確認(rèn) OR 出擊B金叉確認(rèn) OR 啟動(dòng)) AND (做多金叉確認(rèn) OR MACD金叉確認(rèn) OR KD金叉確認(rèn)),1,DRAWNULL),COLORA000FF; 追漲:IF(肉夾饃 OR 平臺(tái)起飛 OR 啟動(dòng) OR 一陽(yáng)穿三線 OR 星線確認(rèn) OR 漲停螺旋,1,DRAWNULL),COLORRED; 關(guān)注:=金銀K線+抄底紅箭+量能金叉+CCI金叉+CROSS(出擊A,0)+CROSS(出擊B,0)+拉升金叉+做多金叉+KD金叉+MACD金叉; TDXSTEP178:DRAWBAND(關(guān)注,RGB(51,32,64),0,RGB(255,96,96)); TDXSTEP179:STICKLINE(穩(wěn)操勝券,0,9,0.8,0),COLORLIMAGENTA; TDXSTEP180:STICKLINE(漲停螺旋,0,4,0.3,0),COLOR002080; TDXSTEP181:STICKLINE(星線確認(rèn),0,3.5,0,0),COLORFF0080; TDXSTEP182:STICKLINE(肉夾饃,0,3,1.3,0),COLORRED; TDXSTEP183:STICKLINE(一陽(yáng)穿三線,0,2.5,1.8,0),COLORB040B0; TDXSTEP184:STICKLINE(啟動(dòng),0,2,2.3,0),COLOR0080FF; TDXSTEP185:STICKLINE(平臺(tái)起飛,0,1.5,2.8,0),COLOR6060A0; 追漲顯示條件:=肉夾饃 OR 平臺(tái)起飛 OR 啟動(dòng) OR 一陽(yáng)穿三線 OR 星線確認(rèn) OR 漲停螺旋; 金K線顯示條件:=REFX(穩(wěn)操勝券 OR 追漲顯示條件,1) OR 初選基礎(chǔ)池 OR (CURRBARSCOUNT<=2 AND 初選基礎(chǔ)池); 銀K線顯示條件:=REFX(K線金底 AND 金K線顯示條件,1) OR (CURRBARSCOUNT<=2 AND 初選基礎(chǔ)池); TDXSTEP186:STICKLINE(K線銀底 AND 銀K線顯示條件,0,0.5,3.5,0),COLORLIGRAY; TDXSTEP187:STICKLINE(金銀K線 AND 金K線顯示條件,0,1,3.3,0),COLOR006060; 圖標(biāo)顯示:=REFX(穩(wěn)操勝券,1) OR 穩(wěn)操勝券 OR 追漲顯示條件 OR (CURRBARSCOUNT<=2 AND 初選基礎(chǔ)池); TDXSTEP188:DRAWICON(抄底紅箭 AND 圖標(biāo)顯示,0.3,1); TDXSTEP189:DRAWICON(出擊A金叉 AND 圖標(biāo)顯示,1,16); TDXSTEP190:DRAWICON(出擊B金叉 AND 圖標(biāo)顯示,2,17); TDXSTEP191:DRAWICON(CCI金叉 AND 圖標(biāo)顯示,3,25); TDXSTEP192:DRAWICON(量能金叉 AND 圖標(biāo)顯示,4,26); TDXSTEP193:DRAWICON(KD金叉 AND 圖標(biāo)顯示,5,27); TDXSTEP194:DRAWICON(MACD金叉 AND 圖標(biāo)顯示,6,34); TDXSTEP195:DRAWICON(做多金叉 AND 圖標(biāo)顯示,7,13); TDXSTEP196:DRAWICON(做空衰歇 AND 圖標(biāo)顯示,6.5,14); TDXSTEP197:DRAWICON(拉升金叉 AND 圖標(biāo)顯示,8,23); TDXSTEP198:DRAWICON(動(dòng)量金叉 AND 圖標(biāo)顯示,9.5,30); |
|
來(lái)自: 量學(xué)粉絲團(tuán) > 《待分類(lèi)》