[amibroker] Re: pyramiding - problems with code

2009-07-03 Thread gborrageiro
hi Edward, Why do you utilize the buy and short price from the previous bar? Buy = Ref( Buy, -1 ); Short = Ref( Short, -1 ); thx --- In amibroker@yahoogroups.com, "Edward Pottasch" wrote: > > do you ever read replies? > > > - Original Message ----- >

[amibroker] Re: pyramiding - problems with code

2009-07-03 Thread gborrageiro
e list of their priorities unfortunately. thanks again. --- In amibroker@yahoogroups.com, "Edward Pottasch" wrote: > > do you ever read replies? > > > - Original Message - > From: gborrageiro > To: amibroker@yahoogroups.com > Sent: Thursday, June 25,

[amibroker] pyramiding - problems with code

2009-06-25 Thread gborrageiro
hi, I am testing some scaling out strategies and can't get the backtester to go short. There's a prob with my code somewhere but I just can't see where. Your help would be appreciated! thanks SetTradeDelays( 0, 0, 0, 0 ); BuyPrice = Avg; ShortPrice = Avg; SetOption( "FuturesMode", True ); SetO

[amibroker] help! pyramiding - scaling out

2009-06-09 Thread gborrageiro
hi, I'm trying to test taking profits on a system using two standard contracts (notional $1mn each contract), with an exit after 5 profitable 5 pips on the first mn, then a trailing 10 pip stop thereafter. I have a coding error somewhere, as long positions work fine but short positions do not.

[amibroker] problems with TRIN despite following http://www.amibroker.com/newsletter/04-2000

2007-06-03 Thread gborrageiro
hello all, I have followed the procedure in http://www.amibroker.com/newsletter/04-2000.html. TRIN appears to display correctly for ^NDX & ^FTSE but not for ^DJI & ^GSPC. I am not quite sure why as I have followed the same procedure for all indices. All the stocks that make up the indices have be