自行計(jì)算標(biāo)準(zhǔn)差 [金字塔]
- 咨詢(xún)內(nèi)容:
variable:cc=0;
variable:mrj=0;
variable:mcj=0;
variable:zc=0;
variable:fy=0;
buycond:=ma(c,10)>ma(c,60);
sellcond:=ma(c,10)<ma(c,60);if barpos=1 then cishu:=0;
if cc>0 and sellcond then begin
zc:=zc+(c-mrj)*10;cishu:=cishu+1;
cc:=0;
end
if cc<0 and buycond then begin
zc:=zc+(mcj-c)*10;cishu:=cishu+1;
cc:=0;
end
if cc=0 and buycond then begin
mrj:=c;
cc:=1;
end
if cc=0 and sellcond then begin
mcj:=c;
cc:=-1;
end
if cc>0 then begin
fy:=(c-mrj)*10;
end
if cc<0 then begin
fy:=(mcj-c)*10;
end資產(chǎn):zc+fy,noaxis;
平均盈利:資產(chǎn)/cishu;
標(biāo)準(zhǔn)差:((每一筆交易的盈虧-平均盈利)*(每一筆交易的盈虧-平均盈利))/cishu;
平均盈利及cishu都為已知。
每一筆交易的盈虧:從第一個(gè)信號(hào)到最后一個(gè)信號(hào),每一次平倉(cāng)信號(hào)的盈虧。
如何實(shí)現(xiàn)?
- 金字塔客服:
樓主 這個(gè)問(wèn)題 我們考慮下給你答復(fù)
- 用戶(hù)回復(fù):
http://www.weistock.com/bbs/dispbbs.asp?boardid=2&Id=12645
下個(gè)版本很快就將推出
屆時(shí)將增加大量統(tǒng)計(jì)函數(shù) 個(gè)人覺(jué)得這個(gè)版本推出了 您直接可以使用
敬請(qǐng)期待
如果以上指標(biāo)公式不適用于您常用的行情軟件
或者您想改編成選股公式,以便快速選出某種形態(tài)個(gè)股的話,
相關(guān)文章
-
沒(méi)有相關(guān)內(nèi)容