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

Re: [amibroker] simple code idea tried to solve with looping



PureBytes Links

Trading Reference Links

This should be simple I think but I am going round in circles as usual.

An always in system. Stop and Reverse. Any ideas?

Buy on an initial breakout signal such as

buy = Cross(H,Ref(HHV(H, 5),-1)); //break out when high breaks highest high
of last 5 days.

Stop is a trailing stop.

When stopped out, Go short.

When short is stopped out go Long,

continue this for ever.







------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/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/