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

[Metastockusers] Re: How can I implement a horizontal shift for a MA in an expert?



PureBytes Links

Trading Reference Links

Adapted from Preston's post at http://finance.groups.yahoo.com/group/
equismetastock/message/14328 :

---8<--------------
shift:=-5; {"Vertical shift %" (-100~100)}
shift:=shift/100+1;
Mov(C,5,E)*shift;
---8<--------------

jose '-)


--- In Metastockusers@xxxxxxxxxxxxxxx, sukhen@xxxx wrote:
> Is there any way to draw moving average with horizontal shift in a 
> program?
> 
> I checked the help where it states the complete format of the 
formula 
> is mov(price_type, horizontal_shift, vertical_shift, number, type) 
> but while I am trying to write mov(C, -5, 0, 5, E), the interpreter 
> is rejecting saying the format will be without the shift parameters.
> 
> How can I implement the shift parameters? I need to use –5 as 
> horizontal shift. I am using MS 7.0 Pro.
> 
> Thanks in advance
> 
> - Sukhen



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/zMEolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

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

<*> To unsubscribe from this group, send an email to:
    Metastockusers-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/