版權(quán)說(shuō)明:本文檔由用戶(hù)提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、狼巡成本均線(xiàn)(日線(xiàn)主圖指標(biāo))源碼如下:aa:=(sum(close*amount,360)/sum(amount,360);a1:=(sum(close*amount,300)/sum(amount,300);a2:=(sum(close*amount,240)/sum(amount,240);a3:=(sum(close*amount,180)/sum(amount,180);a4:=(sum(close*amount,120)/sum(amount,120);a5:=(sum(close*amount,90)/sum(amount,90);a6:=(sum(close*amount,60)
2、/sum(amount,60);a7:=(sum(close*amount,30)/sum(amount,30);b1:(a1+a2+a3)/3;b2:(a3+a4+a5)/3;b3:(a6+a7+a5)/3;b4:(aa+a1)/2,linethick2;狼巡成本均線(xiàn)(改良版日線(xiàn)主圖指標(biāo))源碼如下:rsv:=(high+low+open+close)/4;a1:=(sum(rsv*amount,360)/sum(amount,360);a2:=(sum(rsv*amount,350)/sum(amount,350);a3:=(sum(rsv*amount,340)/sum(amount,34
3、0);a4:=(sum(rsv*amount,330)/sum(amount,330);a5:=(sum(rsv*amount,320)/sum(amount,320);a6:=(sum(rsv*amount,310)/sum(amount,310);a7:=(sum(rsv*amount,300)/sum(amount,300);a8:=(sum(rsv*amount,270)/sum(amount,270);a9:=(sum(rsv*amount,260)/sum(amount,260);a10:=(sum(rsv*amount,250)/sum(amount,250);a11:=(sum
4、(rsv*amount,240)/sum(amount,240);a12:=(sum(rsv*amount,230)/sum(amount,230);a13:=(sum(rsv*amount,220)/sum(amount,220);a14:=(sum(rsv*amount,210)/sum(amount,210);a15:=(sum(rsv*amount,180)/sum(amount,180);a16:=(sum(rsv*amount,170)/sum(amount,170);a17:=(sum(rsv*amount,160)/sum(amount,160);a18:=(sum(rsv*a
5、mount,150)/sum(amount,150);a19:=(sum(rsv*amount,140)/sum(amount,140);a20:=(sum(rsv*amount,130)/sum(amount,130);a21:=(sum(rsv*amount,120)/sum(amount,120);a22:=(sum(rsv*amount,90)/sum(amount,90);a23:=(sum(rsv*amount,80)/sum(amount,80);a24:=(sum(rsv*amount,70)/sum(amount,70);a25:=(sum(rsv*amount,60)/su
6、m(amount,60);a26:=(sum(rsv*amount,50)/sum(amount,50);a27:=(sum(rsv*amount,40)/sum(amount,40);a28:=(sum(rsv*amount,30)/sum(amount,30);b1:(a1+a2+a3+a4+a5+a6+a7)/7,linethick2;b2:(a8+a9+a10+a11+a12+a13+a14)/7;b3:(a15+a16+a17+a18+a19+a20+a21)/7;b4:(a22+a23+a24+a25+a26+a27+a28)/7;狼巡成本ma (日線(xiàn)主圖)源碼如下:ma1:ma(
7、close,5); ma2:ma(close,10); ma3:ma(close,20); ma4:ma(close,30); aa:=(sum(close*amount,360)/sum(amount,360); a1:=(sum(close*amount,300)/sum(amount,300); a2:=(sum(close*amount,240)/sum(amount,240); a3:=(sum(close*amount,180)/sum(amount,180); b1:(a1+a2+a3)/3; b2:(aa+a1)/2,linethick2; 狼巡股票rk2(日線(xiàn)圖)源碼如下:r
8、sv:=(close-llv(low,50)/(hhv(high,50)-llv(low,50)*100;long:=ema(ema(rsv,10),10);xn:=ema(ema(long,5),5);longxn:3*long-2*xn;longxm:sma(longxn,5,1);longxr:sma(longxn,10,1);a1:80;a2:50;a3:20;lb:(long-xn)*2,colorstick;狼巡長(zhǎng)線(xiàn)longm(日線(xiàn)圖)源碼如下:long:ema(close,30)-ema(close,90);xn:ema(long,10);longxn:3*long-2*xn;l
9、b:(long-xn)*3,colorstick;aa:0;狼巡obwm(日線(xiàn)圖)源碼如下:a1:=sum(if(closeref(close,1),vol,if(close(b1+b2)/2;cc2:=cross(longxn,20);cc1 and cc2;狼巡日線(xiàn)選股公式2rsv:=(high+low+open+close)/4;a1:=(sum(rsv*amount,360)/sum(amount,360);a2:=(sum(rsv*amount,330)/sum(amount,330);a3:=(sum(rsv*amount,300)/sum(amount,300);a4:=(sum
10、(rsv*amount,270)/sum(amount,270);a5:=(sum(rsv*amount,240)/sum(amount,240);a6:=(sum(rsv*amount,210)/sum(amount,210);b1:=ema(a1+a2+a3)/3,5);b2:=ema(a4+a5+a6)/3,5);rsv1:=(close-llv(low,50)/(hhv(high,50)-llv(low,50)*100;long:=ema(ema(rsv1,10),10);xn:=ema(ema(long,5),5);longxn:=3*long-2*xn;longxm:=sma(lo
11、ngxn,5,1);longxr:=sma(longxn,10,1);aa1:=80;aa2:=50;aa3:=20;ab1:=sum(if(closeref(close,1),vol,if(close(b1+b2)/2;cc2:=cross(longxn,20);cc3:=xn10;cc1 and cc2 and cc3;狼巡周線(xiàn)選股公式:rsv:=(close-llv(low,13)/(hhv(high,13)-llv(low,13)*100;long:=ema(ema(rsv,8),5);xn:=ema(ema(long,5),5);longxn:=2*long-1*xn;lb:=(lo
12、ng-xn);aa1:=(close+open+high+low)/4;longa:=ema(ema(aa1,8),8)-ema(ema(aa1,13),13);xna:=ema(longa,5);longxna:=3*longa-2*xna;lba:=(longa-xna)*2;ab1:=(sum(close*amount,120)/sum(amount,120);ab2:=(sum(close*amount,150)/sum(amount,150);ab3:=(sum(close*amount,90)/sum(amount,90);ab4:=(sum(close*amount,60)/su
13、m(amount,60);ab5:=(sum(close*amount,30)/sum(amount,30);ab6:=(sum(close*amount,20)/sum(amount,20);ab7:=(sum(close*amount,10)/sum(amount,10);aab:=(ab1+ab2+ab3)/3;abb:=(ab3+ab4+ab5)/3;acb:=(ab5+ab6+ab7)/3;cc1:=closeaab;cc2:=cross(longxn,xn);cc3:=cross(longxna,xna);注:以下指標(biāo)源碼均經(jīng)過(guò)我的嚴(yán)格測(cè)試,如果讀者在引入過(guò)程中出現(xiàn)錯(cuò)誤,請(qǐng)檢查自己
14、所引入的源碼有沒(méi)有漏掉某些字句或重新安裝行情系統(tǒng)軟件。建議使用通達(dá)信行情軟件。cci修改指標(biāo)typ:=(high+low+close)/3;cci:(typ-ma(typ,n)/(0.015*avedev(typ,n);cca:ema(cci,m);參數(shù)n為50,m為10狼巡rk2公式源碼:rsv:=(close-llv(low,21)/(hhv(high,21)-llv(low,21)*100;k:=ema(ema(rsv,8),8);d:=ema(ema(k,5),5);j:3*k-2*d;longxr:sma(j,5,1);longxk:sma(j,10,1);a1:80;a2:50;a
15、3:20;狼巡rk2公式源碼:rsv:=(close-llv(low,m1)/(hhv(high,m1)-llv(low,m1)*100;k:=ema(ema(rsv,m2),m2);d:=ema(ema(k,m3),m3);j:3*k-2*d;longxr:sma(j,m4,1);longxk:sma(j,m5,1);a1:80;a2:50;a3:20;其中最大值為300500,最小值為2,默認(rèn)值:m1=21,m2=8,m3=5,m4=5,m5=10。狼巡boll公式源碼:rsv:=(high+low+open+close)/4;m1:sma(sma(rsv,2,1),2,1),color0
16、06600;m2:sma(sma(rsv,3,1),3,1),colorred;m3:sma(sma(rsv,4,1),4,1),colorred;m4:sma(sma(rsv,5,1),5,1),colorred;m5:sma(sma(rsv,6,1),6,1),colorred;m6:sma(sma(rsv,7,1),7,1),colorred;m7:sma(sma(rsv,8,1),8,1),colorred;m8:sma(sma(rsv,9,1),9,1),colorred;m9:sma(sma(rsv,10,1),10,1),color006600,linethick2;boll:m
17、a(close,60);upper:boll+2*std(close,60);lower:boll-2*std(close,60);狼巡趨勢(shì)指標(biāo)公式源碼:rsv:=(high+low+open+close)/4;m1:sma(sma(rsv,2,1),2,1),color006600;m2:sma(sma(rsv,3,1),3,1),colorred;m3:sma(sma(rsv,4,1),4,1),colorred;m4:sma(sma(rsv,5,1),5,1),colorred;m5:sma(sma(rsv,6,1),6,1),colorred;m6:sma(sma(rsv,7,1),7
18、,1),colorred;m7:sma(sma(rsv,8,1),8,1),colorred;m8:sma(sma(rsv,9,1),9,1),colorred;m9:sma(sma(rsv,10,1),10,1),color006600,linethick2;m10:sma(close,50,1),colorff00ff;m11:sma(close,100,1),color0000ff;m12:sma(close,150,1),colorblue;m13:sma(close,200,1),colorbrown;狼巡趨勢(shì)ma指標(biāo)公式源碼:rsv:=(high+low+open+close)/4
19、;m1:sma(sma(rsv,2,1),2,1),color006600;m2:sma(sma(rsv,3,1),3,1),colorred;m3:sma(sma(rsv,4,1),4,1),colorred;m4:sma(sma(rsv,5,1),5,1),colorred;m5:sma(sma(rsv,6,1),6,1),colorred;m6:sma(sma(rsv,7,1),7,1),colorred;m7:sma(sma(rsv,8,1),8,1),colorred;m8:sma(sma(rsv,9,1),9,1),colorred;m9:sma(sma(rsv,10,1),10,
20、1),color006600,linethick2;m10:ma(close,60),colorff00ff;m11:ma(close,120),color0000ff;m12:ma(close,250),colorblue;m13:ma(close,320),colorbrown;狼巡成本均線(xiàn)公式源碼:rsv:=(high+low+open+close)/4;a1:=(sum(rsv*amount,360)/sum(amount,360);a2:=(sum(rsv*amount,350)/sum(amount,350);a3:=(sum(rsv*amount,340)/sum(amount,
21、340);a4:=(sum(rsv*amount,330)/sum(amount,330);a5:=(sum(rsv*amount,320)/sum(amount,320);a6:=(sum(rsv*amount,310)/sum(amount,310);a7:=(sum(rsv*amount,300)/sum(amount,300);a8:=(sum(rsv*amount,270)/sum(amount,270);a9:=(sum(rsv*amount,260)/sum(amount,260);a10:=(sum(rsv*amount,250)/sum(amount,250);a11:=(s
22、um(rsv*amount,240)/sum(amount,240);a12:=(sum(rsv*amount,230)/sum(amount,230);a13:=(sum(rsv*amount,220)/sum(amount,220);a14:=(sum(rsv*amount,210)/sum(amount,210);a15:=(sum(rsv*amount,180)/sum(amount,180);a16:=(sum(rsv*amount,170)/sum(amount,170);a17:=(sum(rsv*amount,160)/sum(amount,160);a18:=(sum(rsv
23、*amount,150)/sum(amount,150);a19:=(sum(rsv*amount,140)/sum(amount,140);a20:=(sum(rsv*amount,130)/sum(amount,130);a21:=(sum(rsv*amount,120)/sum(amount,120);a22:=(sum(rsv*amount,90)/sum(amount,90);a23:=(sum(rsv*amount,80)/sum(amount,80);a24:=(sum(rsv*amount,70)/sum(amount,70);a25:=(sum(rsv*amount,60)/
24、sum(amount,60);a26:=(sum(rsv*amount,50)/sum(amount,50);a27:=(sum(rsv*amount,40)/sum(amount,40);a28:=(sum(rsv*amount,30)/sum(amount,30);b1:(a1+a2+a3+a4+a5+a6+a7)/7;b2:(a8+a9+a10+a11+a12+a13+a14)/7;b3:(a15+a16+a17+a18+a19+a20+a21)/7;b4:(a22+a23+a24+a25+a26+a27+a28)/7;狼巡籌碼指標(biāo)公式源碼:amm:=ref(close,1);amn:=
25、ref(close,120);rc1:=(close+amm)/2;rc2:=(amn+amm+close)/3;rc3:=(rc2*rc1);rc4:=ema(rc3,40)-ema(rc3,120);oo:=winner(open)*rc4;cc:=winner(close)*rc4;hh:=winner(high)*rc4;ll:=winner(low)*rc4;co:=(oo+cc+ll+hh)/4;stickline(co=0.50,hh,ll,0,0),colorred;stickline(co=0.50,cc,oo,5,1),colorred;stickline(co0.50,h
26、h,ll,0,0),colorblue;stickline(co0.50,cc,oo,5,1),colorblue;stickline(co0,hh,ll,0,0),color008800;stickline(coref(hhv(high,n1),1),hhv(high,n1),5);drawicon(closeref(hhv(high,n1),1),hhv(high,n1),5);drawicon(closesar(n,s,m),sar(n,s,m),drawnull),colorred;b:if(close=h,sar1,2);drawicon(sar1=indexo,indexh,ind
27、exl,0,1),colorred;stickline(indexc=indexo,indexc,indexo,0.8,1),colorred;stickline(indexc=indexo,indexh,indexl,0,1),color008800;stickline(indexcd,k,drawnull),colorred,linethick2;if(kd,d,drawnull),colorred,linethick2;if(k=d,k,drawnull),colorgreen,linethick2;if(k=80,k,drawnull),colorblue,linethick2;if(
28、k=80,d,drawnull),colorblue,linethick2;if(k=20,k,drawnull),colormagenta,linethick2;if(km13;a2:=m10m13;a3:=cross(m1,m9);a1 and a2 and a3;狼巡趨勢(shì)選股源碼(刪除a3條件):rsv:=(high+low+open+close)/4;m9:=sma(sma(rsv,10,1),10,1);m10:=sma(close,50,1);m13:=sma(close,200,1);a1:=m9m13;a2:=m10m13;amm:=ref(close,1);amn:=ref(
29、close,120);rc1:=(close+amm)/2;rc2:=(amn+amm+close)/3;rc3:=(rc2*rc1);rc4:=ema(rc3,40)-ema(rc3,120);oo:=winner(open)*rc4;cc:=winner(close)*rc4;hh:=winner(high)*rc4;ll:=winner(low)*rc4;co:=(oo+cc+ll+hh)/4;中軸:=0;上軌:=0.50;下軌:=-0.50;a4:=co-下軌;a1 and a2 and a4 and a5;狼巡趨勢(shì)選股源碼(未刪除a3條件):rsv:=(high+low+open+c
30、lose)/4;m1:=sma(sma(rsv,2,1),2,1);m9:=sma(sma(rsv,10,1),10,1);m10:=sma(close,50,1);m13:=sma(close,200,1);a1:=m9m13;a2:=m10m13;a3:=cross(m1,m9);amm:=ref(close,1);amn:=ref(close,120);rc1:=(close+amm)/2;rc2:=(amn+amm+close)/3;rc3:=(rc2*rc1);rc4:=ema(rc3,40)-ema(rc3,120);oo:=winner(open)*rc4;cc:=winner(
31、close)*rc4;hh:=winner(high)*rc4;ll:=winner(low)*rc4;co:=(oo+cc+ll+hh)/4;中軸:=0;上軌:=0.50;下軌:=-0.50;a4:=co-下軌;a1 and a2 and a3 and a4 and a5;狼巡成本均線(xiàn)選股指標(biāo)公式源碼:rsv:=(high+low+open+close)/4;a1:=(sum(rsv*amount,360)/sum(amount,360);a2:=(sum(rsv*amount,350)/sum(amount,350);a3:=(sum(rsv*amount,340)/sum(amount,
32、340);a4:=(sum(rsv*amount,330)/sum(amount,330);a5:=(sum(rsv*amount,320)/sum(amount,320);a6:=(sum(rsv*amount,310)/sum(amount,310);a7:=(sum(rsv*amount,300)/sum(amount,300);a22:=(sum(rsv*amount,90)/sum(amount,90);a23:=(sum(rsv*amount,80)/sum(amount,80);a24:=(sum(rsv*amount,70)/sum(amount,70);a25:=(sum(r
33、sv*amount,60)/sum(amount,60);a26:=(sum(rsv*amount,50)/sum(amount,50);a27:=(sum(rsv*amount,40)/sum(amount,40);a28:=(sum(rsv*amount,30)/sum(amount,30);b1:=(a1+a2+a3+a4+a5+a6+a7)/7;b4:=(a22+a23+a24+a25+a26+a27+a28)/7;aa1:=b1b4;amm:=ref(close,1);amn:=ref(close,120);rc1:=(close+amm)/2;rc2:=(amn+amm+close
34、)/3;rc3:=(rc2*rc1);rc4:=ema(rc3,40)-ema(rc3,120);oo:=winner(open)*rc4;cc:=winner(close)*rc4;hh:=winner(high)*rc4;ll:=winner(low)*rc4;co:=(oo+cc+ll+hh)/4;中軸:=0;上軌:=0.50;下軌:=-0.50;aa2:=co-下軌;aa1 and aa2 and aa3;狼巡成本配伍選股指標(biāo)公式源碼:rsv:=(high+low+open+close)/4;a1:=(sum(rsv*amount,360)/sum(amount,360);a2:=(s
35、um(rsv*amount,350)/sum(amount,350);a3:=(sum(rsv*amount,340)/sum(amount,340);a4:=(sum(rsv*amount,330)/sum(amount,330);a5:=(sum(rsv*amount,320)/sum(amount,320);a6:=(sum(rsv*amount,310)/sum(amount,310);a7:=(sum(rsv*amount,300)/sum(amount,300);a22:=(sum(rsv*amount,90)/sum(amount,90);a23:=(sum(rsv*amount
36、,80)/sum(amount,80);a24:=(sum(rsv*amount,70)/sum(amount,70);a25:=(sum(rsv*amount,60)/sum(amount,60);a26:=(sum(rsv*amount,50)/sum(amount,50);a27:=(sum(rsv*amount,40)/sum(amount,40);a28:=(sum(rsv*amount,30)/sum(amount,30);b1:=(a1+a2+a3+a4+a5+a6+a7)/7;b2:=(a22+a23+a24+a25+a26+a27+a28)/7;aa1:=b1a2;rsv2:=(close-llv(low,50)/(hhv(high,50
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶(hù)所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶(hù)上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶(hù)上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶(hù)因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 人力資源中介服務(wù)合同
- 臨時(shí)工勞動(dòng)合同環(huán)境保護(hù)
- 會(huì)計(jì)實(shí)習(xí)生勞動(dòng)合同簡(jiǎn)易版
- 二手水源熱泵空調(diào)購(gòu)銷(xiāo)合同樣本
- 人工智能研究與應(yīng)用合作協(xié)議書(shū)
- 北京市東城區(qū)第十一中學(xué)2024年高三第二學(xué)期期末考試數(shù)學(xué)試題試卷
- 人才派遣合同協(xié)議書(shū)范本
- 交通運(yùn)輸考勤規(guī)則
- 交通運(yùn)輸合同制度
- 交通運(yùn)輸勞動(dòng)合同樣本原件
- 辦理營(yíng)業(yè)執(zhí)照委托書(shū)
- 危險(xiǎn)貨物道路運(yùn)輸安全卡4
- 船舶電氣安裝理論圖紙相結(jié)合PPT課件
- 道路交通標(biāo)志與標(biāo)線(xiàn)PPT課件
- 幕墻打膠工藝
- 違約損失率(LGD)研究
- 新冀教版九年級(jí)英語(yǔ)上冊(cè)第26課課件
- 編寫(xiě)標(biāo)準(zhǔn)必備文件 國(guó)家標(biāo)準(zhǔn) 地方標(biāo)準(zhǔn) 行業(yè)標(biāo)準(zhǔn) 企業(yè)標(biāo)準(zhǔn) 格式模板大全
- 《鉆木取火》PPT
- 2021-2025鄉(xiāng)村5年規(guī)劃三篇
- 無(wú)線(xiàn)電遙控帆船講解
評(píng)論
0/150
提交評(píng)論