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

[amibroker] Re: how to get rid of multiple signals from the same stock?



PureBytes Links

Trading Reference Links

Thanks Graham,
  Marcin suggested Equity(1) which did exactly what I needed.  But
your suggestion of exrem() may worth a look too.  I thought I had
looked thru the Reference manual enough when I asked the question, but
guess I didn't really play too much attention to functions I didn't
think are relavent.
thanks,
-john
ps.  Any staff want to comment about my other question on scans &
explorations?

--- In amibroker@xxxxxxxxxxxxxxx, Graham <kavemanperth@xxxx> wrote:
>
> you can use exrem to remove additional signals
> you can use code to only include the first signal of the day, or even
> withi certain time paramters, and exclude others
> It is just matter of adding the right conditions to the buy/sell
statements
> 
> Buy = ???;
> Sell = ???;
> Buy = exrem(buy,sell);
> 
> eg if you only want to buy beofre 10am in the morning
> Buy = YourBuyConditions and timenum()<100000;
> 
> There are a few other ways but could need tailoring to your system
> --
> Cheers
> Graham
> AB-Write >< Professional AFL Writing Service
> Yes, I write AFL code to your requirements
> http://e-wire.net.au/~eb_kavan/ab_write.htm
> 
> 
> On 12/7/05, siu_john <siu_john@xxxx> wrote:
> > Hi Tomasz or anyone,
> >  I am doing AA scans/explores on a group or all of my stocks and in
> > too many times, the signal happens multiple times thru out the day for
> > the same stock.  Thus my results are flooded with too many siganls
> > instead of the only few stocks that are actually returned.
> > I am wondering how do I return either:
> >  - the latest signal only per stock (for latest signal purpose)
> >  and/or
> >  - the first signal and skip to analyse next stocks in question (for
> > execution speed purpose)
> >
> > Also, is there a _REAL_ reason to seperate the functionality of Scans
> > and Explorations?  I find it that I like reporting power of
> > explorations (Scans don't execute Filters, AddColumn()s, etc.) and the
> > automation of scans (checkbox of "Scan every x-minutes" don't apply to
> > explorations).   But seems like I can't have both because of the
> > artifically created distinctions..  It would be so great if we can
> > have both! (unless there's a much better reason for the seperation).
> >
> > thank you so much,
> > -john
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > Please note that this group is for discussion between users only.
> >
> > To get support from AmiBroker please send an e-mail directly to
> > SUPPORT {at} amibroker.com
> >
> > For other support material please check also:
> > http://www.amibroker.com/support.html
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
>






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.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/