PureBytes Links
Trading Reference Links
|
By false signals do you mean excess buy signals after a buy has
occured? If you mean too many buy/sell signals that result in losses,
then the system is wrong :)
A number of ways to remove surplus signals
Equity(1);
exrem(buy,sell);
try this to remove them as well (my homegrown method)
buysig = yourbuyconditions;
sellsig = yoursellconditions;
intrade = flip(buysig,sellsig);
buy = buysig and ref(intrade,-1)==0;
sell = sellsig and ref(intrade,-1);
On Wed, 26 Jan 2005 06:32:37 -0000, sailis20 <sailis20@xxxxxxxxx> wrote:
>
>
> Thnks Graham
>
> The code activates many false signals , even if i remove the MA
> parameter to generate more false signals signals are generated ofen.
> Can u pls advise
>
> Regards
> Selvi
>
> --- In amibroker@xxxxxxxxxxxxxxx, Graham <kavemanperth@xxxx> wrote:
> > try this, hope it works
> >
> >
> > dayhhv = timeframeexpand( timframecompress( hhv(h,3), indaily ),
> indaily );
> > dayllv = timeframeexpand( timframecompress( llv(l,3), indaily ),
> indaily );
> >
> > minMA15 = timeframeexpand( timframecompress( ma(c,15), in15Minute),
> in15Minute);
> > minMA20 = timeframeexpand( timframecompress( ma(c,20), in15Minute),
> in15Minute);
> >
> > Sell=Cross( C,ref(dayllv,-1) ) AND minMA15 > minMA20;
> > Buy=Cross( C,ref(dayllv.-1) ) AND minMA15 < minMA20;
> >
> >
> > On Mon, 24 Jan 2005 08:51:47 -0000, sailis20 <sailis20@xxxx> wrote:
> > >
> > >
> > > Hi All
> > > Iam trying to code a 3 days high for buy and 3 days low for
> sellwith
> > > 5min Rt scan checked .Can any one guide me to correct this
> following
> > > code
> > > TimeFrameSet(in15Minute);
> > > Sell=Cross(C,LLV(L,3))AND MA(C,15)> MA(C,20);
> > > Buy=Cross(C,HHV(H,3))AND MA(C,15)< MA(C,20);
> > > TimeFrameRestore();
> > > AlertIf(Buy,"BUY",FullName(),1);
> > > AlertIf(Sell,"SHORT",FullName(),2);
> > >
> > > Regards
> > >
> > > Selvi
> > >
> > >
> > > 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
> > >
> > >
> > >
> > >
> > >
> >
> >
> > --
> > Cheers
> > Graham
> > http://e-wire.net.au/~eb_kavan/
>
>
> 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
>
>
>
>
>
--
Cheers
Graham
http://e-wire.net.au/~eb_kavan/
------------------------ Yahoo! Groups Sponsor --------------------~-->
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/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/
|