{开多} ENTERLONG:AAC>1.05*REF(AAC,1) ,TFILTER;
{平多}EXITLONG:AAC<0.95*REF(AAC,1) ,TFILTER;
{开空}ENTERSHORT:AAC<0.95*REF(AAC,1),TFILTER;
{平空}EXITSHORT:AAC>1.05*REF(AAC,1) ,TFILTER;
if holding>0 and ((AAC<0.95*REF(AAC,1) ) then sell(1,1,MARKET);
if holding<0 and ((AAC>1.05*REF(AAC,1) ) then sellshort(1,1,MARKET);
if holding=0 and AAC>1.05*REF(AAC,1) then buy(1,1,MARKET);
if holding=0 and AAC<0.95*REF(AAC,1) then buyshort(1,1,MARKET);
这俩新旧算法有什么不同,为什么评测效果差太多
开平仓的价格不同,也就是入场点不同,自然结果就不一样了