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

[amibroker] Re: Exrem - Thanks!



PureBytes Links

Trading Reference Links


Thanks so much - I'll give it a try!

--- In amibroker@xxxxxxxxxxxxxxx, "qweds_560" <qweds_560@xxxx> wrote:
> 
> Hello Mike,
> 
> Use:
> 
> Buy=ExRem(Buy, Day()!=Ref(Day(),-1));
> Short=ExRem(Short,Day()!=Ref(Day(),-1));
> 
> This will give you only the first buy and first short of the day. 
> 
> Sam
> 
> > 
> > --- In amibroker@xxxxxxxxxxxxxxx, "mikelaurataylor" 
> > <mikelaurataylor@xxxx> wrote:
> > > 
> > > Two related questions I'm hoping someone can help me with:
> > > 
> > > 1. Assuming you have a minute by minute array and set up a buy 
> > > signal on a crossover - but only want the buy signal on the 
> first 
> > > crossover of the day.    Can you do this w/o building a loop 
but 
> > > rather via some function?
> > > 
> > > 2. Assuming you issue the buy signal and now have another 
> > crossover 
> > > signal for a sell.   How do you tell it to issue a sell ONLY 
if 
> > you 
> > > have previously bought - or does it do this automatically?
> > > 
> > > Thanks
> > > 
> > > MIke





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.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:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/