這樣寫的最大回撤模型是否正確 [金字塔]
- 咨詢內(nèi)容:
//最大回撤模型如下
當(dāng)前資產(chǎn):asset,noaxis,colorgray;
if barpos=1 then
begin
MaxAsset:=當(dāng)前資產(chǎn);
Maxhc:=0;
end
if 當(dāng)前資產(chǎn)>MaxAsset then MaxAsset:=當(dāng)前資產(chǎn);
if MaxAsset-當(dāng)前資產(chǎn)>Maxhc then Maxhc:=MaxAsset-當(dāng)前資產(chǎn);
最大回撤:Maxhc,linethick0,COLORRED;如上一段最大回撤模型,是論壇上某人編寫的,請問這樣的模型是否正確?
- 金字塔客服:
http://www.weistock.com/bbs/dispbbs.asp?boardid=10&Id=9439
阿火秘笈第五個(gè)
[此貼子已經(jīng)被作者于2013/10/16 10:30:06編輯過]
有思路,想編寫各種指標(biāo)公式,程序化交易模型,選股公式,預(yù)警公式的朋友
可聯(lián)系技術(shù)人員 QQ: 1145508240 進(jìn)行 有償 編寫!(不貴!點(diǎn)擊查看價(jià)格!)
相關(guān)文章
-
沒有相關(guān)內(nèi)容