K線走完模式
作者:金字塔 來源:cxh99.com 發(fā)布時間:2016年04月27日
- 咨詢內(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種模式那個優(yōu)?
- 用戶回復(fù):
只要能實現(xiàn)你想法的就可以了,沒什么優(yōu)不優(yōu)的