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

Re: [amibroker] I am stuck



PureBytes Links

Trading Reference Links

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


------------------------ Yahoo! Groups Sponsor --------------------~--> 
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/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/