后臺程序化
作者:金字塔 來源:cxh99.com 發(fā)布時間:2018年05月26日
-
咨詢內(nèi)容:
OO:VALUEWHEN(DATE<>REF(DATE,1),O);//表示今日第一根K線的開盤價
if C>=OO+1 and (TIME>=090000 and TIME<145500) and holding=0 then buy(1,1,limitr,c);//開多
if C<=OO-1 and (TIME>=090000 and TIME<145500) and holding=0 then buyshort(1,1,limitr,c);//開空
if C<=enterprice-4 or C>=enterprice+1 then sell(holding>0,holding,limitr,c) ;//多頭止盈止損
if C>=enterprice+4 or C<=enterprice-1 then ?sellshort(holding<0,holding,limitr,c);//空頭止盈止損
if (TIME>=145900 and TIME<200000) or (TIME>=225500) then begin //收盤前全平
sell(holding>0,holding,limitr,c);
sellshort(holding<0,holding,limitr,c);
end
怎么修改雙邊持倉。
?
-
金字塔客服:
圖表是虛擬持倉環(huán)境,不支持鎖倉。開倉前必須平反手倉。
后臺可以
?
?來源:程序化久久網(wǎng)( www.tumamayizhan.com )
-
用戶回復(fù):
修改下后臺雙邊持倉,發(fā)過來,謝謝
?
-
網(wǎng)友回復(fù):
提供你專業(yè)版用戶賬號信息,
http://www.weistock.com/bbs/dispbbs.asp?boardid=16&Id=57075
第三點參考學(xué)習(xí)
[此貼子已經(jīng)被作者于2017/4/28 15:07:48編輯過]