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

[amibroker] Re: I am stuck



PureBytes Links

Trading Reference Links


look at EXREM

--- In amibroker@xxxxxxxxxxxxxxx, "John Simovic" <jsimovic@xxxx> 
wrote:
> What I really would like to be able to do is sell on condition the 
buy
> went through, not sell even if a buy was not executed
>  
> -----Original Message-----
> From: Graham [mailto:kavemanperth@x...] 
> Sent: Friday, 11 February 2005 19:29 PM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: Re: [amibroker] I am stuck
>  
> something like this ?
> sell = ref(buy,-1) or cross(h,valuewhen(buy,buyprice)*1.02);
> 
> 
> On Fri, 11 Feb 2005 16:44:12 +1100, John Simovic <jsimovic@xxxx>
> wrote:
> > 
> > 
> > I would like to get the following code 
> > 
> >  
> > 
> > Buy = Ref( EMA( Close, 3 ), -1 ) > Ref( MA( Close, 9 ), -1 )
> > 
> > AND Cross( EMA( Close, 9 ), EMA( Close, 3 ) ) 
> > 
> > AND LinRegSlope(C,30)<0 AND Ref(Open,0) > Ref (Close,-1);
> > 
> >  
> > 
> > to exit the next day or at 2% profit. How do I amend it achieve 
this
> goal.
> > 
> >  
> > 
> >  
> > 
> > Kind Regards.
> > 
> >  
> > 
> > Check AmiBroker web page at:
> > http://www.amibroker.com/
> > 
> > Check group FAQ at:
> > http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
> > 
> > 
> > Yahoo! Groups Sponsor
> > ADVERTISEMENT
> > 
> > ________________________________
> > 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 the Yahoo! Terms of 
Service. 
> 
> 
> -- 
> 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 Sponsor
> 
> 
> ADVERTISEMENT
>  
> 
<http://us.ard.yahoo.com/SIG=1298knprt/M=298184.6018725.7038619.30011
76/
> 
D=groups/S=1705632198:HM/EXP=1108196959/A=2532114/R=2/SIG=12k15horp/*
htt
> 
p:/clk.atdmt.com/NFX/go/yhxxxnfx0020000014nfx/direct/01/&time=1108110
559
> 447278> 
> 
>  
> 
<http://view.atdmt.com/NFX/view/yhxxxnfx0020000014nfx/direct/01/&time
=11
> 08110559447278> 
> 
>  
> <http://us.adserver.yahoo.com/l?
M=298184.6018725.7038619.3001176/D=group
> s/S=:HM/A=2532114/rand=586043967> 
>  
>   _____  
> 
> 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
> <mailto:amibroker-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe> 
>   
> *         Your use of Yahoo! Groups is subject to the Yahoo! Terms 
of
> <http://docs.yahoo.com/info/terms/>  Service.





------------------------ 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/