PureBytes Links
Trading Reference Links
|
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/
------------------------ 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/
|