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