關(guān)于策略開(kāi)平倉(cāng)數(shù)
作者:MC 來(lái)源:cxh99.com 發(fā)布時(shí)間:2015年01月21日
- 咨詢內(nèi)容:
滿足條件1平空倉(cāng)一手,同時(shí)開(kāi)多倉(cāng)一手,滿足條件2時(shí)平多倉(cāng)一手,同時(shí)開(kāi)空倉(cāng)一手,如何寫?
if condition1 then begin
- MC技術(shù)部:
if condition1 then
buy next bar at market;
if condition2 then
sellshort next bar at market;