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

Re: [amibroker] Re: TD Lines - Clarification



PureBytes Links

Trading Reference Links

Thanks to all. Got my question answered by Graham in his reply 
to "Hold cond1".



--- In amibroker@xxxxxxxxxxxxxxx, "joeemmett2000" <joeemmett@xxxx> 
wrote:
> About a month ago there was some talk on the board about buying 
> on 'Breakouts'. You were to buy at a 10 day low and sell when the 
> price reached the 10MA.
> Newlow = C<=Ref(LLV(C,10)-1);
> MAavg = MA(C,10);
> Buy = Newlow;
> Sell = Cross(C,MAavg);
> I was trying to write something that would tell me in 
> the 'Interpretation' section if it was in 'Buy' or 'Sell' mode.
> Below is what I cam up with;
> WriteIf(Buy,"NewLow        Bullish"," ") +
> WriteIf(Sell,"NewLow       Bearish"," ");
> This gives me correct info on the dates when there is a buy or sell 
> signal. On dates when there is no buy or sell signal it sometimes 
> gives me wrong info or most of the time no info at all.
> Would appreciate it if someone could help me out with this.
> Thanks, Joe



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->

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/