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

[amibroker] Re: Code help - simple stuff for DT



PureBytes Links

Trading Reference Links

Thanks for the code....I think I made a mistake 
ref(h,-2) is the high day say on 12/5
I want the value of low prior to 12/5 which is lower than the low on 
the high day


--- In amibroker@xxxxxxxxxxxxxxx, "DIMITRIS TSOKAKIS" <TSOKAKIS@xxxx> 
wrote:
>  cond1=Ref(H,-2)==HHV(H,5);
> cond2=Ref(L,-1)<ValueWhen(cond1,L);
> cond3=Ref(L,-1)<ValueWhen(cond2,L);
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "epintoem" <epintoem@xxxx> wrote:
> > 1. Identify a high that is higher than the previous and next two 
> > trading days.
> > 2. Identify a previous bar low that is lower than the bar 
> identified 
> > in 1.
> > 3. Identify a previous bar low that is lower than the bar 
> identified 
> > in 2.
> > 
> > Any help will be appreciated


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

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/