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

[EquisMetaStock Group] Re: Problem with BarsSince and Sum



PureBytes Links

Trading Reference Links

Fernando,

Take a look at the RSI formula.
Basically does what you want. To apply it to your situation you will 
need to change to the sum of the volume instead of the close but 
everything else would be the same.

Preston

--- In equismetastock@xxxxxxxxxxxxxxx, "Fernando Santos" 
<ptc_man3@xxx> wrote:
>
> Hi.
> 
> I'm having some problems with the Sum() and BarsSince()function.
> 
> What I want is to Sum the volume if and only when c>ref(c,-1) but 
by
> the numbers of bars of that variable.
> 
> Let me explain better, imagine that during this month, the close 
was
> higher then the previous days close 12 times.
> 
> How can I say that I want to sum the volume for those 12 specific 
days
> when I need to know the time periods for the sum function?
> 
> Using barsince() doesn't seem to work since Sum() doesn't recognize
> the barssince() result as time periods.
> 
> Any ideas?
> 
> Thanks
>



------------------------------------

Yahoo! Groups Links

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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/equismetastock/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:equismetastock-digest@xxxxxxxxxxxxxxx 
    mailto:equismetastock-fullfeatured@xxxxxxxxxxxxxxx

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