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

[EquisMetaStock Group] Conversion of an indicator ( tradestation to metastock)



PureBytes Links

Trading Reference Links

Hi

I saw this indicator  (wrote by Benkayate) I found it on pro-at, It 
work pretty well, so I am looking if somebody can convert it.

=================================================
Inputs: Prix((high+low)/2), length(10), displace(0);
vars: element1(0), element2(0), finale(0), CentreG(0), MCentreG(0), 
MCentreG1(0);
element2=0;
finale=0;
for element1=0 to length-1 begin
element2=element2+(1+element1)*(Prix[element1]);
finale=finale+(Prix[element1]);
end;
if finale<> 0 then CentreG=-element2/finale;
plot1(CentreG,"CentreG");
plot2(CentreG[1],"CentreG1");
========================================================

Thank's

MG



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