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

Re: [EquisMetaStock Group] Creating 50 EMA Above/Below Ratio



PureBytes Links

Trading Reference Links

Thanks for the reply Pablo...
I tried cutting and pasting your formula into a chart and got a blank
window... some charts say there's a math error... after naming the
'Ratio' variable, is a command necessary to tell the indicator to
display said variable?
- M

--- In equismetastock@xxxxxxxxxxxxxxx, Paolo <italoarg76@xxx> wrote:
>
> 
> lookback:=100;
> EMA:=Mov(C,50,E);
> DaysAbove:=Sum(If(C>EMA,1,0),lookback);
> DaysBelow:=Sum(If(C<EMA,1,0),lookback);
>                    <
> Ratio:=DaysAbove/DaysBelow;
> 
> In DaysBelow should be "C<EMA" : instead of "C>EMA"
> Sorry!!
>          Pablo
> 
> PS: anyway, I'm sure if the formula is fine
>










------------------------ Yahoo! Groups Sponsor --------------------~--> 
Everything you need is one click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/AHchtC/4FxNAA/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/