如何取得兩線交叉時的值 [金字塔]
- 咨詢內容:
能不能實現兩線交叉時的值啊? CROSS(A,B) 返回A、B交叉時的值啊?
- 金字塔客服:
valuewhen(cross(a,b),a);
valuewhen(cross(a,b),b);
- 用戶回復:
樓主,看看這段
if kd1 then begin
KD:buy(holding=0,1,market);
IF aa>bb then begin
if a6 then begin
sell(1,0,market),ORDERQUEUE;
end;
if aa>bb and a2 then begin holding>0;
end;
if aa>bb and a5 then begin
sell(1,0,market),ORDERQUEUE;
end;
if aa>bb and a2 then begin
buy(holding=0,1,market);
end;
if aa>bb and a5 then begin
sell(1,0,market),ORDERQUEUE;
end;
end;
是哪里出問題了 - 網友回復:
跟圖表交易的差異太大
- 網友回復: 就是兩個簡單的判斷的啊
有思路,想編寫各種指標公式,程序化交易模型,選股公式,預警公式的朋友
可聯系技術人員 QQ: 1145508240 進行 有償 編寫!(不貴!點擊查看價格!)
相關文章
-
沒有相關內容