Re: [amibroker] entry price coding assistance

2007-10-21 Thread Randy Mueller
Thanks David, that worked like a charm! Randy - Original Message - From: David Smith To: amibroker@yahoogroups.com Sent: Sunday, October 21, 2007 9:22 AM Subject: RE: [amibroker] entry price coding assistance Hi Randy, You seem to want a stop entry order for

RE: [amibroker] entry price coding assistance

2007-10-21 Thread David Smith
Hi Randy, You seem to want a stop entry order for tomorrow after you get a trigger, set at today's high. Try this. Trigger = code; Buy = ref(Trigger,-1) and H >= ref(H,-1); BuyPrice = max(Open, ref(H,-1)); I use this with trade delay's all set to zero. Cheers, David