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

[EquisMetaStock Group] Re: Plotting Peaks/Troughs at mode than double average volume



PureBytes Links

Trading Reference Links

Arun,

Here is your code. Let me warn you though that using peak/trough is 
DANGEROUS because of its dynamic character...meaning the signals 
will change in the same way that the zigzag changes. 

Just to make sure you understand even Spyros Raftopoulos when 
writing about the ZigZag indicator had to use a validity indicator 
inorder to verify his signals.



Periods := Input("Number of volume periods",5,120,60);
n := Input("Number of times average volume",2,10,2);
Event:= V>=(n*Mov(V,Periods,S));
Pk:=If(event,Peak(1,H,0.05),0);
Tr:=If(event,Trough(1,L,0.05),0);
Pk;
Tr{end}



enjoy,

Preston




--- In equismetastock@xxxxxxxxxxxxxxx, Arun Singh <arun103@xxx> 
wrote:
>
> Hi Preston
>    
>   I'm interested in identifying Pks/Tr formed at more than double 
volume to find levels of strong resistance/support. Therefore: 
>    
>   1) If the condition is not met then I want a zero to be plotted.
>    
>   2) The actual Pk/Tr values -- as support/resistance.
>    
>   I realize that this cannot be overlaid on a price chart but it 
can be plotted in a separate inner window.
>    
>   Regards.
>    
>   Arun
> 
>  
> ---------------------------------
> Never miss an email again!
> Yahoo! Toolbar alerts you the instant new Mail arrives. Check it 
out.
> 
> [Non-text portions of this message have been removed]
>




 
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/