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

Re: EasyLanguage



PureBytes Links

Trading Reference Links

The only way to do this is to work with Stop or Limit
orders. So if you want to buy at 'value1', and value1
is above the current price you would write:

 buy next bar at value1 stop;

Again, this implies you need to know at what price you
want to buy BEFORE the bar starts.

Victor Cuadra
602-524-4491
www.cuadraE.com

--- optimization <optimization@xxxxxxxxxxxxxx> wrote:
> Can anyone help?
> 
> I would like to create a signal to buy immediately
> as a price is reached or
> touched (as opposed to "buy next bar at market" or
> "buy this bar on close"),
> can this be done? I guess I could set the strategy
> testing resolution to
> "tick" but is there a better way?
> 
> Thanks in advance
> PaulW
> 


=====
Victor Cuadra
www.cuadraE.com