咨詢內(nèi)容:
Globalvariable:n=1;hgd:=MA(MA(CLOSE,3),1);lgd:=MA(MA(CLOSE,3),3);spk:=cross(hgd,lgd);手數(shù):=SS;if THOLDING2=0 and time<=144000 then begintbuy(spk,手數(shù),MKT),SLITHERMETHOD;extgbdataset('kaiduo',tenterprice);tbuyshort(spk,手數(shù),MKT),SLITHERMETHOD;extgbdataset('kaikong',tenterprice);end對鎖開倉后,要求不在開倉,等多空平倉完在繼續(xù)開多、開空對鎖. 如何限制?
金字塔客服:
Globalvariable:n=1;hgd:=MA(MA(CLOSE,3),1);lgd:=MA(MA(CLOSE,3),3);spk:=cross(hgd,lgd);手數(shù):=SS;if THOLDING2=0 and time<=144000 then begintbuy(spk,手數(shù),MKT),SLITHERMETHOD;extgbdataset('kaiduo',tenterprice);tbuyshort(spk,手數(shù),MKT),SLITHERMETHOD;extgbdataset('kaikong',tenterprice);end對鎖開倉后,要求不在開倉,等多空平倉完在繼續(xù)開多、開空對鎖. 如何限制?