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

[amibroker] Re: IsNotThere(Array or Ref(Array,-1) or Ref(Array,-1) or



PureBytes Links

Trading Reference Links

Hi, 

How do you code the bailout exit by Larry Williams? I.e. exit when 
the open is greater than your buyprice. Something like this?

buy=cross(C,bbandtop(C,20,2));
sell=O>valuewhen(buy,C,1);

sellprice=O;

If so, how do you code Nth profitable open, so that exit can occur on 
let's say the second profitable open.

Martin



Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
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/