請教問題 [金字塔]
- 咨詢內容:
條件A時做多 IF A then buy
多頭連續虧損平倉兩次后,日內不再做多 - 金字塔客服:
有空頭沒?
- 用戶回復:
以下是引用jinzhe在2013/12/26 13:38:28的發言:
有空頭沒?
沒有空頭
- 網友回復:
variable:n=0;
if date<>ref(date,1) then n:=0;
if 開多 and n<2 then buy;
if 平倉條件 and holding>0 then begin
sell;//假定這里平倉使用thisclose
if close-enterprice<0 then n:=n+1;
if close-enterprice>0 then n:=0;
end
有思路,想編寫各種指標公式,程序化交易模型,選股公式,預警公式的朋友
可聯系技術人員 QQ: 1145508240 進行 有償 編寫!(不貴!點擊查看價格!)
相關文章
-
沒有相關內容