PureBytes Links
Trading Reference Links
|
arun103,
This what you need?
pds:=Input("Periods", 1, 100, 60);
n:=Input("n * avg volume", 2, 10, 2);
ValueWhen(1,n*Mov(V,pds,S),Peak(1,H,0.5));
ValueWhen(1,n*Mov(V,pds,S),Trough(1,L,0.5))
Preston
--- In equismetastock@xxxxxxxxxxxxxxx, "arun103" <arun103@xxx> wrote:
>
> I want to find and plot peaks and troughs that are formed when the
> volume is more than twice the average volume. I have taken average
> volume as Mov(V,60,S). (If such peaks/troughs don't exist then the
> formula shouldn't plot anything????)
>
> The following code doesn't plot correct peaks and troughs. What is
the
> problem here? Can anybody help?
>
> pds:=Input("Periods", 1, 100, 60);
> n:=Input("n * avg volume", 2, 10, 2);
> ValueWhen(1, n * Mov(V,60,S), Peak(1, H , 0.5));
> ValueWhen(1, n * Mov(V,60,S), Trough(1, L , 0.5))
>
> Thanks
>
> arun103
>
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/
|