on a single symbol level this can be just done with normal AFL by first defining the entry and exit signals and then analyzing the signals using normal AFL loops for instance.
However on a portfolio level this is more complicated. You will need the Portfolio Backtester Interface. I tried to do it but failed up to now. You can not simply run through the trades and remove trades after you have done the backtest. It seems to me you need to use Preprocess and Postprocess. Setup the backtest using Preprocess. Then find the signals and somehow determine which trade is profitable or not, remove some trades and then do a Postprocess ....... Sofar I did not manage. Would like to know the answer though .... rgds, Ed ----- Original Message ----- From: "Jilm" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Friday, March 31, 2006 5:01 AM Subject: [amibroker] how would i make it take every other trade signal? >i want to make a test so after a profitable trade it will wait 2 buy > signals before taking the next trade. > > ie: it wins a long trade then waits for a sell signal, a buy signal, > then takes the next sell signal. > > > > > > Please note that this group is for discussion between users only. > > To get support from AmiBroker please send an e-mail directly to > SUPPORT {at} amibroker.com > > For other support material please check also: > http://www.amibroker.com/support.html > > > Yahoo! Groups Links > > > > > > Please note that this group is for discussion between users only. To get support from AmiBroker please send an e-mail directly to SUPPORT {at} amibroker.com For other support material please check also: http://www.amibroker.com/support.html Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/amibroker/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
