PureBytes Links
Trading Reference Links
|
Thanks Keith
Hope to be able to try this later today
Cheers,
Graham
http://groups.msn.com/ASXShareTrading
http://groups.msn.com/FMSAustralia
-----Original Message-----
From: Keith Bennett [mailto:kbennett@xxxxxxxxxx]
Sent: Friday, 9 May 2003 12:10 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: Flips Holds and Exrems
Sorry Graham that would be:
x = Flip(BuySig1 AND BuySig2, SellSig);
Keith
--- In amibroker@xxxxxxxxxxxxxxx, "Keith Bennett" <kbennett@xxxx>
wrote:
> Hi Graham,
>
> I think what you need is:
>
> Flip = (BuySig1 AND BuySig2, SellSig);
>
> A 1 is returned when BuySig1 AND BuySig2 are True and is reset to
> zero whan SellSig is True.
>
> Worth a try.
>
> Keith
>
> --- In amibroker@xxxxxxxxxxxxxxx, "Graham" <gkavanagh@xxxx> wrote:
> > I am trying to understand the method of holding a trade signal
> until the
> > confirmation signal occurs (if it does)
> >
> > I have a relatively simple system that requires the cross of 2
> types of MAs,
> > then before entry I need the cross of a stochastic above its
> trigger line.
> > If the confirmation signal occurs then Buy occurs.
> >
> > The summary of the logic would be
> >
> > BuySig1 = cross(MA1,MA2);
> >
> > BuySig2 = cross(Stoch1,Stoch2);
> >
> > SellSig = cross(MA2,MA1);
> >
> >
> >
> >
> >
> > If BuySig2 does not happen before a sell signal, then no trade
> occurs. There
> > are times when I get multiple BuySig2 signals after a trade would
> have
> > entered, but I do not want to add more trades, just hold on the
> first one.
> >
> > What I do not understand is if the Flip function works for this,
or
> is it
> > the Exrem I should use. Using the Hold would be ok but I do not
> want to set
> > any time constraints.
> >
> >
> >
> > Cheers,
> > Graham
> >
> > <http://groups.msn.com/ASXShareTrading>
> > http://groups.msn.com/ASXShareTrading
> >
> > <http://groups.msn.com/FMSAustralia>
> http://groups.msn.com/FMSAustralia
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Rent DVDs Online - Over 14,500 titles.
No Late Fees & Free Shipping.
Try Netflix for FREE!
http://us.click.yahoo.com/YoVfrB/XP.FAA/uetFAA/GHeqlB/TM
---------------------------------------------------------------------~->
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
|