如何取得兩線交叉時(shí)的值 [金字塔]
- 咨詢內(nèi)容:
能不能實(shí)現(xiàn)兩線交叉時(shí)的值啊? CROSS(A,B) 返回A、B交叉時(shí)的值啊?
- 金字塔客服:
valuewhen(cross(a,b),a);
valuewhen(cross(a,b),b);
- 用戶回復(fù):
樓主,看看這段
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;
是哪里出問題了 - 網(wǎng)友回復(fù):
跟圖表交易的差異太大
- 網(wǎng)友回復(fù): 就是兩個(gè)簡(jiǎn)單的判斷的啊
有思路,想編寫各種指標(biāo)公式,程序化交易模型,選股公式,預(yù)警公式的朋友
可聯(lián)系技術(shù)人員 QQ: 1145508240 進(jìn)行 有償 編寫!(不貴!點(diǎn)擊查看價(jià)格!)
相關(guān)文章
-
沒有相關(guān)內(nèi)容