籌碼均線 公式、源碼 主圖指標(biāo)公式 副圖指標(biāo)公式[通達(dá)信公式]
相關(guān)標(biāo)簽:
籌碼均線 通達(dá)信 源碼 主圖 附圖
說明;看了(籌碼均線改通達(dá)信)這張?zhí)?hellip;……改好后,不理想。
嘻嘻,其實就三條線足夠了。
牛市成本獲利
ap1:=amount/(vol*volunit);
ap2:=(o+h+l+c)/4;
yes:=ap1>h or ap1<l;
amt:=if(yes,ap2*vol*volunit,amount);
CB3:=SUM(amt,3)/SUM(VOL,3)/100;
CB5:=SUM(amt,5)/SUM(VOL,5)/100;
CB8:=SUM(amt,8)/SUM(VOL,8)/100;
CB13:=SUM(amt,13)/SUM(VOL,13)/100;
CB21:=SUM(amt,21)/SUM(VOL,21)/100;
CB34:=SUM(amt,34)/SUM(VOL,34)/100;
CB55:=SUM(amt,55)/SUM(VOL,55)/100;
CB89:=SUM(amt,89)/SUM(VOL,89)/100;
CB144:=SUM(amt,144)/SUM(VOL,144)/100;
CB233:=SUM(amt,233)/SUM(VOL,233)/100;
CB377:=SUM(amt,377)/SUM(VOL,377)/100;
CB610:=SUM(amt,610)/SUM(VOL,610)/100;
短期成本:(CB8+CB13+CB21)/3,pointdot,linethick2;
中期成本:(CB34+CB55+CB89)/3,pointdot,linethick2;
長期成本:(CB144+CB233+CB377)/3,pointdot,linethick2;
平均成本:=(短期成本+中期成本+長期成本)/3,linethick2;
獲利20:長期成本*0.191+長期成本,pointdot;
獲利30:長期成本*0.382+長期成本,pointdot;
虧損20:長期成本-(長期成本*0.191),pointdot;
虧損30:長期成本-(長期成本*0.382),pointdot;
牛市啟動:ema(cost(72),21),linethick2,COLORYELLOW;
牛市成本:ema(cost(34),3),pointdot,COLORYELLOW;{成本火力}
ap1:=amount/(vol*volunit);
ap2:=(o+h+l+c)/4;
yes:=ap1>h or ap1<l;
amt:=if(yes,ap2*vol*volunit,amount);
CB3:=SUM(amt,3)/SUM(VOL,3)/100;
CB5:=SUM(amt,5)/SUM(VOL,5)/100;
CB8:=SUM(amt,8)/SUM(VOL,8)/100;
CB13:=SUM(amt,13)/SUM(VOL,13)/100;
CB21:=SUM(amt,21)/SUM(VOL,21)/100;
CB34:=SUM(amt,34)/SUM(VOL,34)/100;
CB55:=SUM(amt,55)/SUM(VOL,55)/100;
CB89:=SUM(amt,89)/SUM(VOL,89)/100;
CB144:=SUM(amt,144)/SUM(VOL,144)/100;
CB233:=SUM(amt,233)/SUM(VOL,233)/100;
CB377:=SUM(amt,377)/SUM(VOL,377)/100;
CB610:=SUM(amt,610)/SUM(VOL,610)/100;
短期成本:(CB8+CB13+CB21)/3,pointdot,linethick2;
中期成本:(CB34+CB55+CB89)/3,pointdot,linethick2;
長期成本:(CB144+CB233+CB377)/3,pointdot,linethick2;
平均成本:(短期成本+中期成本+長期成本)/3,linethick2;
獲利20:長期成本*0.191+長期成本,pointdot;
獲利30:長期成本*0.382+長期成本,pointdot;
虧損20:長期成本-(長期成本*0.191),pointdot;
虧損30:長期成本-(長期成本*0.382),pointdot;
牛市啟動:ema(cost(72),21),linethick2,COLORYELLOW;
牛市成本:ema(cost(34),3),pointdot,COLORYELLOW;籌碼均線
ap1:=amount/(vol*volunit);
ap2:=(o+h+l+c)/4;
yes:=ap1>=h or ap1<=l;
amt:=if(yes,ap2*vol*volunit,amount);
CB6:=SUM(amt,6)/SUM(VOL,6)/100;
CB13:=SUM(amt,13)/SUM(VOL,13)/100;
CB21:=SUM(amt,21)/SUM(VOL,21)/100;
CB34:=SUM(amt,34)/SUM(VOL,34)/100;
CB55:=SUM(amt,55)/SUM(VOL,55)/100;
CB89:=SUM(amt,89)/SUM(VOL,89)/100;
CB144:=SUM(amt,144)/SUM(VOL,144)/100;
CB233:=SUM(amt,233)/SUM(VOL,233)/100;
CB377:=SUM(amt,377)/SUM(VOL,377)/100;
短期成本:(CB6+CB13+CB21)/3;
中期成本:(CB34+CB55+CB89)/3,colorred;
長期成本:=(CB144+CB233+CB377)/3;
平均成本:=(短期成本+中期成本+長期成本)/3;
啟動:ema(cost(71),21),COLORgreen;
牛市成本:ema(cost(34),3),COLORwhite,linethick2;
牛市啟動:ema(cost(81),30),COLORyellow;
嘻嘻,其實就三條線足夠了。DRAWTEXT_FIX(C>O,0.01,0.9,0,' www.kzuj.com.cn '),COLORRED;
DRAWTEXT_FIX(C>O,1,1,0,'程序化交易模型'),COLORRED;
有思路,想編寫各種指標(biāo)公式,程序化交易模型,選股公式,預(yù)警公式的朋友
可聯(lián)系技術(shù)人員 QQ: 511411198 進(jìn)行 有償 編寫!(不貴!點擊查看價格!)
相關(guān)文章
-
沒有相關(guān)內(nèi)容