請老師改一個后臺的模型 [金字塔]
- 咨詢內容:
老師辛苦了,請您把這個改成后臺運行的模型 if cc2>0 and l<lo then begin pc:=min(max(holding,0),cang2); kc:=cang2-pc; if pc>0 then sell(1,pc,limitr,min(o,lo-0.2)-0.6); if kc>0 then buyshort(1,kc,limitr,min(o,lo-0.2)-0.6); cc2:=0; end if cc2<0 and h>hi then begin pc:=min(abs(min(holding,0)),cang2); kc:=cang2-pc; if pc>0 then sellshort(1,pc,limitr,max(o,hi+0.2)+0.6); if kc>0 then buy(1,kc,limitr,max(o,hi+0.2)+0.6); cc2:=0; end if cc2=0 and h>hi then begin pc:=min(abs(min(holding,0)),cang2); kc:=cang2-pc; if pc>0 then sellshort(1,pc,limitr,max(o,hi+0.2)+0.6); if kc>0 then buy(1,kc,limitr,max(o,hi+0.2)+0.6); cc2:=1; end if cc2=0 and l<lo then begin pc:=min(max(holding,0),cang2); kc:=cang2-pc; if pc>0 then sell(1,pc,limitr,min(o,lo-0.2)-0.6); if kc>0 then buyshort(1,kc,limitr,min(o,lo-0.2)-0.6); cc2:=-1; end
- 金字塔客服:
這段代碼是要實現什么目的?有來源鏈接嗎
- 網友回復:
實現程序化自動交易(可以對所有品種)目的,圖表程序化可以運行,請老師改成后臺的,我想把把所有品種模擬一下你只管改成后臺運行就可以謝謝,老師
- 網友回復: 要了解這個思路才好改后臺,圖表改后臺不是改幾個函數就行的。
有思路,想編寫各種指標公式,程序化交易模型,選股公式,預警公式的朋友
可聯系技術人員 QQ: 511411198 進行 有償 編寫!(不貴!點擊查看價格!)
相關文章
-
沒有相關內容