K線走完模式 [金字塔]
- 咨詢內(nèi)容:
平多:sell(tmp<0 and holding>0,手?jǐn)?shù),marketr);平空:sellshort(tmp>0 and holding<0,手?jǐn)?shù),marketr);開多:buy(tmp>0 and holding<=0,手?jǐn)?shù),marketr);開空:buyshort(tmp<0 and holding>=0,手?jǐn)?shù),marketr);
今天晚上黃金多次出現(xiàn)不成交,5分周期
- 金字塔客服:
if holding=0 then begin if tmp>0 then buy(1,手?jǐn)?shù),marketr);endif holding=0 then begin if tmp<0 then buyshort(1,手?jǐn)?shù),marketr); endif holding>0 then begin if tmp<0 then begin sell(1,holding,marketr); buyshort(1,手?jǐn)?shù),marketr); endendif holding<0 then begin if tmp>0 then begin sellshort(1,holding,marketr); buy(1,手?jǐn)?shù),marketr); endend這2種模式那個(gè)優(yōu)?
- 用戶回復(fù): 只要能實(shí)現(xiàn)你想法的就可以了,沒什么優(yōu)不優(yōu)的
有思路,想編寫各種指標(biāo)公式,程序化交易模型,選股公式,預(yù)警公式的朋友
可聯(lián)系技術(shù)人員 QQ: 511411198 進(jìn)行 有償 編寫!(不貴!點(diǎn)擊查看價(jià)格!)
相關(guān)文章
-
沒有相關(guān)內(nèi)容