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

Re: [EquisMetaStock Group] Ref function help sought...found



PureBytes Links

Trading Reference Links

Yes, I am working on divergences between current value of DI() and a 
prior value of DI() where both occur at a valley in a cycle 
oscillator.

I am looking for a formula that will run as part of an Exploration, 
as opposed to an Expert.  Thanks for the comments but I do not 
believe that using an Input approach will work since the value X 
will be different for each stock as the exploration runs.

--- In equismetastock@xxxxxxxxxxxxxxx, le corbeaux masque 
<lecorbeauxmasque7@xxxx> wrote:
> this will return the value of MDI
> the last time low was the lowest low value in X period
> 
> 
> k:=input("what is all this about",1,200,13);
> k1:=inpt("set time lenght for mdi",1,200,13);
> k0:=If(L=LLV(L,k),1,0);
> ValueWhen(1,k0=1,MDI(k1));
> 
> 
> working on divergences ?
> 
> 
> --- taforme <no_reply@xxxxxxxxxxxxxxx> wrote:
> > I would like to obtain a value of the function DI()
> > a number of 
> > periods ago.  I understand how to use Ref(DI(), -X)
> > where X is a 
> > constant,e.g. 7 periods ago would be Ref(DI(), -7). 
> > However, I 
> > would like for X to be a variable integer determined
> > for each stock 
> > where X is determined by a LLVBars(data,#) function.
> > 
> > 
> > More specifically, I want to compare a current DI()
> > value with a 
> > past DI() value with the number of periods ago of
> > DI() determined to 
> > coinside with a low value of another cycle based
> > function for the 
> > same stock.
> > 
> > When I put the function that always results in an
> > integer, e.g. 8 to 
> > 30, into the X position of the Ref function, I get
> > an error stating 
> > that the Ref function requires a constant for X.
> > 
> > Is there another approach that would let me
> > accomplish my desire?
> > 
> > Thanks in advance for helpful comments,
> > TAtrader
> > 
> > 
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com


------------------------ Yahoo! Groups Sponsor ---------------------~-->
ReplayTV: CNet Ranked #1 over Tivo!
Instant Replay & Pause live TV.
Special Sale: 50% off!
http://us.click.yahoo.com/UUMW7B/.5qGAA/ySSFAA/BefplB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
equismetastock-unsubscribe@xxxxxxxxxxxxxxx

 

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