四個(gè)分時(shí)指標(biāo)公式_第1頁
四個(gè)分時(shí)指標(biāo)公式_第2頁
四個(gè)分時(shí)指標(biāo)公式_第3頁
四個(gè)分時(shí)指標(biāo)公式_第4頁
四個(gè)分時(shí)指標(biāo)公式_第5頁
已閱讀5頁,還剩18頁未讀 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡介

四個(gè)分時(shí)指標(biāo)公式VAR1:=(VOL/(((HIGH-LOW)*2)-ABS((CLOSE-OPEN))));買盤:=IF((CLOSE>OPEN),(VAR1*(HIGH-LOW)),IF((CLOSE<OPEN),(VAR1*((HIGH-OPEN)+(CLOSE-LOW))),(VOL/2)));賣盤:=IF((CLOSE>OPEN),(0-(VAR1*((HIGH-CLOSE)+(OPEN-LOW)))),IF((CLOSE<OPEN),(0-(VAR1*(HIGH-LOW))),(0-(VOL/2))));買賣差:=(買盤+賣盤);STICKLINE((買賣差<0),0,買賣差,3,0),COLOR33FF33;量比:=(VOL/MA(VOL,5));JX1:=BARSSINCE(買盤);JY1:=IF(((121>JX1)AND(JX1>0)),JX1,120);JY2:=IF(((4>JX1)AND(JX1>0)),JX1,3);VAR30:=MA(VOL,JY2);神比:=(買盤/VAR30);鬼比:=(賣盤/VAR30);VAR2:=(HIGH-LOW);VAR3:=ABS((OPEN-CLOSE));VAR4:=(HIGH-IF((CLOSE>OPEN),CLOSE,OPEN));VAR5:=(IF((CLOSE>OPEN),OPEN,CLOSE)-LOW);VAR6:=((VAR3/VAR2)*VOL);VAR7:=((VAR4/VAR2)*VOL);VAR8:=((VAR5/VAR2)*VOL);VAR9:=IF(((VOL/CAPITAL)>0.001),1,EXP(ABS(LOG(((VOL/CAPITAL)*100)))));VARA:=(((CLOSE-MA(CLOSE,5))/MA(CLOSE,5))*100);VARB:=(((MA(CLOSE,5)>MA(CLOSE,10))AND(MA(CLOSE,10)>MA(CLOSE,30)))AND(MA(CLOSE,30)>MA(CLOSE,60)));VARC:=((MA(CLOSE,5)<MA(CLOSE,10))AND(MA(CLOSE,10)<MA(CLOSE,30)));VARD:=REF(CLOSE,1);VARE:=((SMA(MAX((CLOSE-VARD),0),6,1)/SMA(ABS((CLOSE-VARD)),6,1))*100);DRAWTEXT(((DATE>700101)ANDCROSS(84,VARE)),HIGH,'■賣出'),COLORF2A3A4;VAR40:=((IF((((VAR6>=VAR7)AND(VAR6>=VAR8))AND(CLOSE>OPEN)),VAR6,買盤)+買盤)/2);VAR41:=((IF(((VAR7>VAR6)AND(VAR7>VAR8)),VAR7,買盤)+買盤)/2);VAR42:=((IF(((VAR8>VAR6)AND(VAR8>VAR7)),VAR8,買盤)+買盤)/2);VAR50:=((IF((((VAR6>=VAR7)AND(VAR6>=VAR8))AND(CLOSE<OPEN)),VAR6,賣盤)+賣盤)/2);三日上攻:=MA((((VAR40+VAR41)+VAR42)/3),JY2);三日fa:=barslast(cross(ma10,ma5))andcross(ma5,ma10);fb:=faandma5>ma30andma10>ma30andma10>ref(ma10,1);STICKLINE(fb,l,l-0.09,4,0),COLORYELLOW;DRAWTEXT(fb,l-0.13,'雄起'),COLORYELLOW;fa2:=barslast(cross(ma60,ma20))andcross(ma20,ma60);fb2:=fa2andma20>ma120andma60>ma120andma20>ref(ma20,1);STICKLINE(fb2,l,l-0.09,4,0),COLORYELLOW;DRAWTEXT(fb2,l-0.13,'雄起'),COLORYELLOW;★實(shí)戰(zhàn)分時(shí)!下部專用!可做進(jìn)一步簡化處理!input.:LONG(26,1,100),SHORT(12,1,100),M(9,1,100),p1(19,1,100),p2(120,1,250);DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);DEA:=EMA(DIF,M);MACD:=2*(DIF-DEA);MACD2:2*(DEA-DIF),COLORFF89B2,DOTLINE;MA5:=MA(CLOSE,5);MA10:=MA(CLOSE,10);MA30:=MA(CLOSE,30);MA60:=MA(CLOSE,60);MA65:=MA(CLOSE,65);MA250:=MA(CLOSE,250);突破線:=MIN(MA60*1.1,MA250*1.3);差幅:=C/MIN(MA60*1.1,MA250*1.3)-1;均線流:=(MA5>MA65ANDMA10>MA65ANDMA30>MA65ANDMA5<MA30)*0.3;PL1:=(CLOSE-MA60)/MA60<0.1;PL2:=(CLOSE-MA250)/MA250<0.3;偏離率:(PL1=1ANDPL2=1)*0.2,STICK,COLORFF00FF,LINETHICK2;MACD超跌:=COUNT((DIF<DEA),10)=10;MACD1:MACD超跌*"MACD.MACD"(LONG,SHORT,M)*(-1),COLOR009900,LINETHICK2;目標(biāo):IF(均線流=0.3ANDMACD超跌AND偏離率=0.2,0.8,0),COLOR7070FF,LINETHICK2;MBSJ:=BARSLAST(目標(biāo)=0.8);放量上漲:=V/REF(V,1)>=1.1ANDC/REF(C,1)>=1.01;SZSJ:=BARSLAST(放量上漲=1);MACD雄起:=CROSS(DIF,DEA);JCSJ:=BARSLAST(MACD雄起=1);關(guān)注:(MACD雄起ANDREF(MACD1,1)<0)*-0.1,COLOR00FF00;啟動(dòng):(MBSJ<=20ANDSZSJ<=1ANDJCSJ<=1)*1,COLORFFFF00,LINETHICK2;突破:(偏離率=0ANDREF(COUNT(偏離率=0.2,10)=10,1)=1)*-0.1,COLORRED;STICKLINE(偏離率=0.2,0,0.2,1,0),colorFF00FF;DRAWTEXT(關(guān)注=-0.1,-0.01,'關(guān)●注'),color00ff00;DRAWTEXT(啟動(dòng),0.8,'★買'),colorFFFF00;DRAWTEXT(突破=-0.1,-0.01,'突●破'),colorred;N15HIGH:=REF(HIGH,15);N1LOW:=REF(LOW,1);FF:=(((N15HIGH-N1LOW)/N1LOW)>0.15);DRAWICON((((((CROSS(MA(CLOSE,P1),MA(CLOSE,P2))>0)AND(((N15HIGH-N1LOW)/N1LOW)<0.15))AND(OPEN>=MA(CLOSE,P1)))AND(CLOSE>=MA(CLOSE,P1)))AND(LOW<=MA(CLOSE,P1))),0.5,1);DRAWTEXT((((((CROSS(MA(CLOSE,P1),MA(CLOSE,P2))>0)AND(((N15HIGH-N1LOW)/N1LOW)<0.15))AND(OPEN>=MA(CLOSE,P1)))AND(CLOSE>=MA(CLOSE,P1)))AND(LOW<=MA(CLOSE,P1))),0.5,'★^回頭望月'),color0099CC;低位雄起:CROSS(DIF,DEA)ANDDIF<-0.1,colorwhite;STICKLINE(低位雄起,0,0.08,6,0),COLORwhite;DRAWTEXT(低位雄起,低位雄起-1.5,'低位雄起'),COLORWHITE;JCCOUNT:=COUNT(CROSS(DIF,DEA),BARSLAST(DEA>=0));雄起:CROSS(DIF,DEA)ANDDEA<0ANDCOUNT(JCCOUNT=2,21)=1,coloryellow;STICKLINE(雄起,0,0.06,6,0),ColorFF00FF;DRAWICON(雄起,dea*1.04,1);DRAWTEXT(雄起,0.5,'雄起'),ColorYELLOW;if(dif<0,dif,0),coloryellow,linethick2;if(dif<0,0,dif),colorred,linethick2;if(dif<dea,dif,dea),COLORWHITE,linethick2;if(dif>dea,dea,dea),COLORFF9933{colorff00ff},linethick2;操盤:STICKLINE(MACD>=0ANDMACD>=REF(MACD,1),0,MACD,4,1),COLORRED{COLOR6058FF};減倉:STICKLINE(MACD>=0ANDMACD<REF(MACD,1),0,MACD,4,0),COLORblue{COLOR6058FF};反彈:STICKLINE(MACD<0ANDMACD>=REF(MACD,1),0,MACD,4,1),COLORYELLOW{COLORFFFF00};尋底:STICKLINE(MACD<0ANDMACD<REF(MACD,1),0,MACD,4,0),COLORFFFF00;空倉:0,COLORWHITE;★分時(shí)機(jī)密!下部專用!可做進(jìn)一步簡化處理!多用于開盤就抓漲!V1:=(C*2+H+L)/4*10;V2:=EMA(V1,13)-EMA(V1,34);V3:=EMA(V2,5);V4:=2*(V2-V3)*5.5;莊秘撤:IF(V4<=0,V4,0),COLOR00FF00,LINETHICK2;莊秘進(jìn):IF(V4>=0,V4,0),COLORFF00FF,LINETHICK2;V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;V6:=EMA(3*V5-2*SMA(V5,18,1),5);V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;V8:=(INDEXC*2+INDEXH+INDEXL)/4;V9:=EMA(V8,13)-EMA(V8,34);VA:=EMA(V9,3);VB:=(V9-VA)/2;大籌金進(jìn)場:IF(VB>=0,VB,0),COLORYELLOW,LINETHICK2;大籌金撤走:IF(VB<=0,VB,0),COLORBLUE,LINETHICK2;aa:=WINNER(CLOSE+CLOSE*15/100)*100;bb:=WINNER(CLOSE+CLOSE*0/100)*100;cc:=aa-bb;dd:=(WINNER(CLOSE-CLOSE*0.1/100)-WINNER(CLOSE-CLOSE*15/100))*100;ee:=cc<3anddd<0.5andOPEN<>LOW;a1:=DYNAINFO(6);a2:=IF(LOW>a1,0,IF(HIGH<a1,1,(a1-LOW+0.01)/(HIGH-LOW+0.01)));a3:=VOL/WINNER(LOW);a4:=REF(HHV(CLOSE,120),1);a5:=REF(LLV(CLOSE,120),1);a6:=100*(CLOSE-a5)/(a4-a5);a7:=a2>0ora2=1;a8:=a7anda3/REF(a3,3)>=3anda6<80;a9:=REF(a8,1)orREF(a8,2)orREF(a8,3)orREF(a8,4);a10:=a8anda9;a11:=IF(FILTER(a8,3),5,0);a12:=IF(FILTER(a10,3)oree,10,0);籌碼進(jìn)場日:IF(a11,8,0),LINETHICK0;STICKLINE(a12,0,15,5,0),colorff00ff;籌碼加倉日:IF(a12,88,0),LINETHICK0;STICKLINE(a12,0,15,5,0),colorff00ff;STICKLINE(a11,0,5,5,0),colorff7700;STICKLINE(a11,0,5,4.5,0),colorff8800;STICKLINE(a11,0,5,4,0),colorff9900;STICKLINE(a11,0,5,3.5,0),colorffaa00;STICKLINE(a11,0,5,3,0),colorffbb00;STICKLINE(a11,0,5,2.5,0),colorffcc00;STICKLINE(a11,0,5,2,0),colorffdd00;STICKLINE(a11,0,5,1,0),colorffee00;STICKLINE(a12,0,15,4.5,0),color102099;STICKLINE(a12,0,15,4,0),color1020aa;STICKLINE(a12,0,15,3.5,0),color1020bb;STICKLINE(a12,0,15,3,0),color1020cc;STICKLINE(a12,0,15,2.5,0),color1020dd;STICKLINE(a12,0,15,2,0),color1020ee;STICKLINE(a12,0,15,1,0),color1020ff;DRAWTEXT(a11,8,'籌碼進(jìn)場');DRAWTEXT(a12,17,'籌碼加倉');Var1:=REF(LOW,1);Var2:=SMA(ABS(LOW-Var1),13,1)/SMA(MAX(LOW-Var1,0),13,1)*4;Var3:=EMA(Var2,13);Var4:=LLV(LOW,34);Var5:=EMA(IF(LOW<=Var4,Var3,0),3);主力進(jìn)場:STICKLINE(Var5>REF(Var5,1),0,Var5,7,0),COLORRED;洗盤:IF(VAR5<REF(VAR5,1),VAR5,0),COLORGREEN,LINETHICK2;STICKLINE(VAR5<REF(VAR5,1),0,VAR5,2,1),COLORGREEN;Var6:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);Var7:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);Var8:=Var6<REF(Var7,1)ANDVOL>REF(VOL,1)ANDCLOSE>REF(CLOSE,1);DRAWTEXT(Var8ANDCOUNT(Var8,30)=1,40,'★注意有籌碼進(jìn)場跡象');★分時(shí)作為!(專門監(jiān)視莊家行動(dòng)變化)同時(shí)也可用于買入信號(hào)觀注點(diǎn)!Var1:=EMA(EMA(CLOSE,13),13);作為:=(Var1-REF(Var1,1))/REF(Var1,1)*1000;無莊作為:STICKLINE(作為<0,作為,0,4,0),colorwhite;有莊作為:STICKLINE(作為>REF(作為,1)AND作為>0,作為,0,4,1),colorred;Var2:=100*WINNER(CLOSE*0.95);出貨作為:STICKLINE(作為<REF(作為,1)AND作為>0,作為,0,4,0),color00ff00;高度作為:STICKLINE(Var2>50ANDCOST(85)<CLOSEAND作為>0,作為,0,4,0),colorff00ff;a10:=CROSS(作為,0);開始作為:if(a10,6,0),coloryellow;★分時(shí)實(shí)戰(zhàn)input.:LONG(24,1,100),SHORT(13,1,100),M(6,1,100),N(6,1,100);MA5:=MA(CLOSE,5);MA10:=MA(CLOSE,10);MA20:=MA(CLOSE,20);MA30:=MA(CLOSE,30);DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);DEA:EMA(DIF,M);MACD:=2*(DIF-DEA);Q:2*(DEA-DIF),COLORFF9933;MACD超跌:=COUNT((DIF<DEA),10)=10;Q1:MACD超跌*"MACD.MACD"(LONG,SHORT,M),COLORFF00FF,LINETHICK2;{本行中,大智慧版本選擇*(-1);飛弧版本選擇*(1)}MACD金叉:=CROSS(DIF,DEA);DTPL:=MA10>MA30ANDMA20>MA30ANDMA30>REF(MA30,1);關(guān)注:=(MACD金叉ANDREF(Q1,1)<0)*-0.1;均線:(DTPLANDMA5>MA30ANDMA5<MA10)*-0.15,colorFF89B2,LINETHICK1,PRECIS2,DOTLINE;偏離:(C<MIN(MA20*1.05,MA30*1.1)ANDC>MA30)*0.15,COLOR009900,LINETHICK1,PRECIS2,DOTLINE;DRAWTEXT(關(guān)注,-0.15,'GZ'),color00ff00,align1;BDGD:=C=HHV(C,20);GDSJ:=BARSLAST(BDGD);目標(biāo):IF(均線AND偏離ANDGDSJ>=N,0.5,0),COLORffff00,POINTDOT,PRECIS1,LINETHICK3;MBSJ:=BARSLAST(目標(biāo));MAV5:=EMA(V,5);MAV10:=EMA(V,10);LNMACD:=((V-MAV5)/MAV5*2+(V-MAV10)/MAV10)*10;量坑:=LNMACD<=-10;優(yōu)選:=目標(biāo)ANDCOUNT(量坑,3)>=1;DRAWICON(優(yōu)選,-0.2,12);N15HIGH:=REF(HIGH,6);N1LOW:=REF(LOW,1);DRAWTEXT((((((CROSS(MA(CLOSE,13),MA(CLOSE,24))>0)AND(((N15HIGH-N1LOW)/N1LOW)<0.15))AND(OPEN>=MA(CLOSE,13)))AND(CLOSE>=MA(CLOSE,13)))AND(LOW<=MA(CLOSE,13))),0.5,'^回頭望月'),color0099CC;低位金叉:=CROSS(DIF,DEA)ANDDIF<-0.1;STICKLINE(低位金叉,0,0.26,6,1),COLORwhite;DRAWTEXT(低位金叉,低位金叉-1.3,'低金'),COLORWHITE;JCCOUNT:=COUNT(CROSS(DIF,DEA),BARSLAST(DEA>=0));二次金叉:=CROSS(DIF,DEA)ANDDEA<0ANDCOUNT(JCCOUNT=2,21)=1;STICKLINE(二次金叉,0,0.2,4,0),ColorFF00FF;DRAWTEXT(二次金叉,0.4,'二金'),ColorYELLOW;A4:=BARSLAST(ref(cross(dif,dea),1));B1:=ref(c,A4+1)>candref(dif,A4+1)<difandcross(dif,dea);DRAWTEXT(FILTER(B1>0,5),dif+0.2,'背離'),COLORyellow;STICKLINE(MACD>=0ANDMACD>=REF(MACD,1),0,MACD,3,0),COLORRED{COLOR6058FF};STICKLINE(MACD>=0ANDMACD<REF(MACD,1),0,MACD,3,0),COLORblue{COLOR6058FF};STICKLINE(MACD<0ANDMACD>=REF(MACD,1),0,MACD,3,0),COLOR4ABEFF{COLORFFFF00};STICKLINE(MACD<0ANDMACD<REF(MACD,1),0,MACD,3,0),COLORFFFF00;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;周K:=MA(".K#WEEK"(9,3,3),5);周D:=MA(".D#WEEK"(9,3,3),5);周J:=MA(".J#WEEK"(9,3,3),5);DRAWICON(k<20andcross(k,d),MACD,1),align2;周金RAWTEXT(CROSS(".K#WEEK"(9,3,3),".D#WEEK"(9,3,3)),MACD,'▲'),align2,COLORred;周死RAWTEXT(CROSS(".d#WEEK"(9,3,3),".k#WEEK"(9,3,3)),macd*1.5,'▼'),align2,COLORgreen;月金RAWTEXT(CROSS(".K#MONTH"(9,3,3),".D#MONTH"(9,3,3)),MACD,'▲'),align2,COLORMAGENTA;月死:DRAWTEXT(CROSS(".D#MONTH"(9,3,3),".K#MONTH"(9,3,3)),macd*1.5,'▼'),align2,COLOR3fbb8b;if(dif<0,dif,0),coloryellow,linethick2;if(dif<0,0,dif),colorred,linethick2;if(dif<dea,dif,dea),COLORWHITE,linethick2;if(dif>dea,dea,dea),COLORgreen{colorff00ff},linethick2;HH:=MA(CLOSE,10);GG:=MA(CLOSE,12);上:=ema((MA(HIGH,3)*1.05),30);下:=ema((MA(LOW,3)*0.96),30);決戰(zhàn):STICKLINE((((CROSS(DIF,DEA)AND((下-REF(下,1))>0))AND(MACD>=REF(MACD,1)))AND(DIF<0)),DIF,0.3,1,0),color0000FF;{DRAWICON((((CROSS(DIF,DEA)AND((下-REF(下,1))>0))AND(MACD>=REF(MACD,1)))AND(DIF<0)),0.4,0);}DRAWTEXT((((CROSS(DIF,DEA)AND((下-REF(下,1))>0))AND(MACD>=REF(MACD,1)))AND(DIF<=0)),0.3,'DIF金叉'),color0000FF;STICKLINE(FILTER(((((MACD>=REF(MACD,5))AND((下-REF(下,1))>0))AND(MACD<=0))AND((GG-REF(GG,1))>=0)),3),0,0.4,1,0),color00FF00;{DRAWICON(FILTER(((((MACD>=REF(MACD,5))AND((下-REF(下,1))>0))AND(MACD<=0))AND((GG-REF(GG,1))>=0)),3),0.5,0);}DRAWTEXT(FILTER(((((MACD>=REF(MACD,5))AND((下-REF(下,1))>0))AND(MACD<=0))AND((GG-REF(GG,1))>=0)),3),0.4,'絕佳買入'),color00FF00;{穩(wěn)贏劍參數(shù)描述:N(1,100,12)M(1,100,20)}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;STICKLINE(REF(J,7)<0ANDJ>1,10,0,10,0),COLOR00FF00;VAR1:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100;VAR2:=SMA(VAR1,3,1);VAR3:=SMA(VAR2,3,1);貴:=N,COLOR00FF00;VAR4:=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);VAR5:=CROSS(VAR4,10)ANDVAR3<N;抄底:IF(VAR5,90,1

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

最新文檔

評(píng)論

0/150

提交評(píng)論