A:=((vol)/(CAPITAL))*(100);
S:=((MA(A,30))/(MA(INDEXA,10)))*(MA(INDEXA,60));
Y:=((MA(A,120))/(MA(INDEXA,10)))*(MA(INDEXA,60));
AA:=MA(CLOSE,250);
{ _大智慧股票指标公式}
买入:IF(crOSS(S,Y) and (LOW > AA),1,0),coloryellow;
BB:=BArslAST((买入 > 0));
止损1:=IF((HIGH < AA) and (BB < 150),1,0);
止损:FILTER((止损1 > 0),50),ColorFF00FF;