PureBytes Links
Trading Reference Links
|
Infinite thanks, Jose, extremely helpful as usual ! Now another
question: aside from creating a template from a custom indicator (as
suggested earlier in this forum), is the any more efficient way to
create custom colors for new indicators that one wishes to build,
please?
Many thanks in advance.
VBABUFF
--- In equismetastock@xxxxxxxxxxxxxxx, "Jose Silva" <josesilva22@xxx>
wrote:
>
> Try this code for Month's Close:
>
> ---8<--------------------------------
>
> { Indicator input }
> pds:=Input("Previous Nth Month",1,120,1);
>
> { New month signal }
> NewMonth:=Month()<>Ref(Month(),-1);
>
> { Nth month's Close }
> NthMthClose:=ValueWhen(pds,NewMonth,Ref(C,-1));
>
> { Plot on daily/weekly chart }
> NthMthClose
>
> ---8<--------------------------------
>
>
> For weekly values, take a look at some of the indicator code found
in
> http://www.metastocktools.com/#metastock
>
> OHLC - Weekly
> -------------
> True weekly Open/High/Low/Close/WC/Typ for daily/intraday charts,
> independent of any missing data.
>
>
> jose '-)
> http://www.metastocktools.com
>
>
>
>
> --- In equismetastock@xxxxxxxxxxxxxxx, vbabuff <no_reply@> wrote:
> >
> > Hello.
> >
> > I am a definite beginner but so far have not figured out how to
create
> > a formula to calculate last month's close & the previous month's
close
> > (ditto for last week's close and prev week close)> Has anybody
ever
> > comne across a similar problem, please?
> >
> > Thank you so much for the help and attention.
> >
> > Best,
> >
> > VBABUFF
>
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/
|