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

[EquisMetaStock Group] Re: RSI Fractal coding question



PureBytes Links

Trading Reference Links

--- In equismetastock@xxxxxxxxxxxxxxx, "t_r_a_d_e_r2001" 
<priest_bill@xxxx> wrote:
> I should clarify that I was trying to code for the value of a high 
Bill,

Ref(RSI(9),2) is looking for the value of the RSI(9) two days from 
now or the day after tomorrow.

You can look for peaks in the RSI(9) value but it will be an event 
that would have happened at least 3 days ago.

Preston



> made by the RSI which had been preceded and followed by 2 lower 
> highs of the RSI. I still can't see why the code I gave is not 
valid.
> 
> --- In equismetastock@xxxxxxxxxxxxxxx, pumrysh <no_reply@xxxx> 
wrote:
> > Bill,
> > 
> > When you code, set it up like this:
> > 
> > {ValueWhen(Nth, Expression, Data Array)}
> > ValueWhen(1 ,
> > RSI(9)>Ref(RSI(9),-1) AND 
> > RSI(9)>Ref(RSI(9),-2),
> > RSI(9))
> > 
> > Dusant has already explained the forward reference.
> > The code above works. It says this is the value of the RSI(9) 
> > when it is above yesterday and the day before.
> > 
> > Preston
> > 
> > 
> > --- In equismetastock@xxxxxxxxxxxxxxx, "t_r_a_d_e_r2001" 
> > <priest_bill@xxxx> wrote:
> > > Hi,
> > > 
> > > Can anyone see a problem with this code ? Metastock states 
> that "this 
> > > variable or expression must contain only constant data". Thanks 
> in 
> > > advance.
> > > 
> > > 
> > > ValueWhen(1 ,(RSI(9)>Ref(RSI(9),1) AND RSI(9)>Ref(RSI(9,2) AND 
> RSI(9)
> > > >Ref(RSI(9),-1) AND RSI(9)>Ref(RSI(9),-2),RSI(9))




------------------------ Yahoo! Groups Sponsor --------------------~--> 
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/cosFAA/BefplB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/equismetastock/

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