My question is not in the right forum. 
It's concerning the Auto Trade forum :
http://finance.groups.yahoo.com/group/AmiBroker-at/

An answer, to Barry Scarborough's question, is given here by Chris
DePuy and TJ
http://finance.groups.yahoo.com/group/AmiBroker-at/message/3515


--- In [email protected], "reinsley" <[EMAIL PROTECTED]> wrote:
>
> 
> 
> Thanks to Ed emp62 that has written few lines somewhere in the ABous
> expanses, I found a surprising way of doing.
> 
> sigbuy = O>Ref(C,-1);
> sigsell = O<Ref(C,-1);
> 
> sigbuyonclose = Ref(O,-1)>Ref(C,-2);
> sigsellonclose = Ref(O,-1)<Ref(C,-2);
> 
> Backtesting and real time trading give same signals...
> 
> NB : hope this basic question will be useful for beginners digging
> into archives.
> 
> Regards
> 
> --- In [email protected], "reinsley" <reinsley@> wrote:
> >
> > Hello,
> > 
> > How can we place an order on the close of the bar for real ?
> > 
> > I see many way of doing it in the backtester, 
> > SetTradeDelays(0,0,0,0);
> > BuyPrice =  C;
> > 
> > But what is the equivalent command to place a real order into IB
> > Controller ?
> > 
> > My signal is on the Open, but I want to place a market order on the
> > close of the bar.
> > 
> > Buy = O>Ref(C,-1) AND MarketON;
> > Sell = O<Ref(C,-1) OR MarketOFF; 
> > Short = Sell;
> > Cover = Buy;
> > 
> > I don't find the help, I don't know the right words to goggle.
> > 
> > Thank you 
> > 
> > regards
> >
>


Reply via email to