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

[EquisMetaStock Group] Re: Formula for filter in the explorer, help please....



PureBytes Links

Trading Reference Links

Kwok,

Change the Vidya to:

Vidya:=(Cum(1)<Pds)*C+(Cum(1)>=Pds)*((Alpha*k*C)+(1-Alpha*k)*PREV);
Vidya

The P variable allows you to place a Vidya on any indicator. The 
explorer doesn't like it unless it is attached to a chart first. By 
using C you will eliminate the problem and be able to perform an 
exploration on numerous charts.

Preston



--- In equismetastock@xxxxxxxxxxxxxxx, Kwok <grid@xxx> wrote:
>
> 
>   
> 
> I use MS Pro 7.0.
> I use indicator Vidya(Chande):
> 
> Pds:= Input("Number of Periods?",1,1000,20);
> Alpha:= 2/(Pds+1);
> 
> {Chande Momentum Oscillator}
> {UD = Up day}
> {DD = Down day}
> UD:= Sum((C-Ref(C,-1))*(C>Ref(C,-1)),9);
> DD:= Sum((Ref(C,-1)-C)*(C<Ref(C,-1)),9);
> CMOsc:= (UD-DD)/(UD+DD);
> 
> k:= Abs(CMOsc);
> 
> Vidya:= (Cum(1) < Pds) * P + (Cum(1)>=Pds) * ((Alpha * k * P) + (1-
Alpha
> * k) * PREV);
> Vidya
> 
> 
> I use periods 5
> Can someone please help me some formula
> I want to explore securities in the explore system filter.
> Close >= Vidya
> 
> Thank's
> 
> Best regards,
> Kwok
>






------------------------ Yahoo! Groups Sponsor --------------------~--> 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/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/