期貨期權(quán)交流為什么沒法加倉 [MC]
- 咨詢內(nèi)容:
我寫了以下的程序,想要加倉,結(jié)果圖上只有一個(gè)entry信號,沒法加倉,請問如何解決,很急
var: LTT( 0 ), Myfhigh( 0 ), Myflow( 0 ), Myshigh( 0 ), Myslow( 0 ), mp( 0 ), Myatr( 0 );
mp = marketposition;
condition1 =c>o and marketposition=0;
condition2 =c>o and c[1]>o[1];
condition3 = c>o and c[1]>o[1] and c[2]>o[2];
if condition1 then buy ("entry") next bar at market;
if condition2 then buy ("jiacang1") next bar at market;
if condition3 then buy ("jiacang2") next bar at market;
有思路,想編寫各種指標(biāo)公式,程序化交易模型,選股公式,預(yù)警公式的朋友
可聯(lián)系技術(shù)人員 QQ: 511411198 進(jìn)行 有償 編寫!(不貴!點(diǎn)擊查看價(jià)格!)
相關(guān)文章
-
沒有相關(guān)內(nèi)容