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

[EquisMetaStock Group] Re: PL-Dot- Jose



PureBytes Links

Trading Reference Links

The -1 is part of the Ref() function - it delays the signal by one 
bar.  +1 would move it forward in time.

avg:=(H+L+C)/3; -> Today's average of High+Low+Close (HLC).

Mov(avg,3,S) -> HLC avg of the last three days (days 0-2), including 
today.

Ref( Mov(avg,3,S) ,-1) -> HLC avg of the last three days (1-3) prior 
to today.


jose '-)
http://www.metastocktools.com




--- In equismetastock@xxxxxxxxxxxxxxx, MasterJ <rivolena@xxxx> wrote:
>
> Dear Jose,
>   i understand the logic beind the ref syntax, but do not understand 
> the syntax (,-1) at the end of the formula. Could you please
> elaborate ?What is the difference between -1 or +1
> 
> Jose Silva <josesilva22@xxxx> wrote:
>   
> avg:=(H+L+C)/3;
> Ref(Mov(avg,3,S),-1)
> 
> 
> jose '-)
> http://www.metastocktools.com
> 
> 
> 
> --- In equismetastock@xxxxxxxxxxxxxxx, "Randy Barlow" <rcbarlow@xxxx
> wrote:
>
> How would the following be entered in Metastock Format?
> 
> {Avg[H(1),L(1),C(1)} + Avg[H(2),L(2),C(2)] + Avg[H(3),L(3),C(3)]}/3







------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/BefplB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

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

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