logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
cenergy  
#1 Posted : Thursday, April 13, 2006 1:20:41 AM(UTC)
cenergy

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 4/13/2006(UTC)
Posts: 1
Location: Michigan

Are the PWR and POWER functions identical in the MetaStock Formula Language? Thanks.
wabbit  
#2 Posted : Thursday, April 13, 2006 1:25:32 AM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
An easy way to find is to create an new indicator with both terms in it, and observe, yes, they are the same. wabbit :D P.S. I could be wrong here, but I think Pwr() is a deprecated term left over from a previous version when it was replaced by Power() ??
Jose  
#3 Posted : Thursday, April 13, 2006 7:00:26 AM(UTC)
Jose

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 1/19/2005(UTC)
Posts: 1,065
Location: Koh Pha-Ngan, Earth

Was thanked: 2 time(s) in 2 post(s)
Related to this topic, ever tried using Power(Data Array, variable Power)? MetaStock does not accept variable power, but here is a way around it: [code:1:559892377f] ================ Power - variable ================ ---8<--------------------------------------- { Power(DataArray,VariablePower) MS function. With thanks to MG Ferreira. http://www.metastocktools.com } DataArray:=C; VariablePower:=DataArray/Mov(DataArray,63,S); { Power(DataArray,VariablePower) equivalent } VarPower:=Exp(Log(DataArray)*VariablePower); VarPower ---8<--------------------------------------- [/code:1:559892377f] jose '-)
Users browsing this topic
Guest (Hidden)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.