請問這兩種寫法有什么區(qū)別 [金字塔]
- 咨詢內(nèi)容:
if holding>0 then begin
if enterprice-low>=i then
sell(1,v1,thisclose); 這個是收盤價交易
end
if holding=0 then begin
if high>=bbreak then
buy(1,v1);這個沒有交易命令,盤中好像不會開倉呀 為什么,這種寫法要怎么用
end
if holding=0 then begin
if low<=sbreak then
buyshort(1,v1);
end
end - 金字塔客服: buy函數(shù)少了價位參數(shù)
有思路,想編寫各種指標公式,程序化交易模型,選股公式,預(yù)警公式的朋友
可聯(lián)系技術(shù)人員 QQ: 262069696 進行 有償 編寫!(不貴!點擊查看價格!)
相關(guān)文章
-
沒有相關(guān)內(nèi)容