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

[EquisMetaStock Group] Averange daily/intraday range



PureBytes Links

Trading Reference Links

Hi.

I'm having problems with the following formula:

day:=dayofmonth()<>ref(dayofmonth(),-1);
Dh:=highestsince(1,day,h);
Dl:=lowestsince(1,day,l);
Dr:=Dh-Dl;

How can I make an "n" days average of the daily range with this formula?

I'm not even being able to call the previous daily range using 
valuewhen(2,day,dr).

Where's the problem?

Regards,
Fernando


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

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/