[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Buy and Sell procedures in backtester



PureBytes Links

Trading Reference Links

Hi,

I'm new to AB and am planning to backtest some ideas. Is there a way 
of grouping BUY and SELL functions into a procedure in the backtester 
- like this:

Buy = If Procedure 1 is met
Sell = If Procedure 2 is met

Procedure 1{
MA must be > x
other lines of code
}

I would like to do it like this rather than a long line for the Buy 
statment. Is it possible?

Thanks,alex 



Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.16.9/623 - Release Date: 1/11/2007 3:33 PM