PureBytes Links
Trading Reference Links
|
Raising to a power is the ^ operator.
cc = ( 2 ^ ( 1/cascades) - 1 ) ^ 0.25;
Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: David Jennings
To: amibroker@xxxxxxxxxxxxxxx
Sent: Friday, December 08, 2006 5:18 PM
Subject: [amibroker] math Power function
Amongst others, I'm trying to evaluate the following:
cc = pow(pow(2, 1/cascades) - 1, 0.25);
However, Amibroker seems to have the facility to raise a variable to a power missing from the library.
Grateful if someone could tell me how they accomplish this.
Many thanks
DJ
Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.15.15/580 - Release Date: 12/8/2006 12:53 PM
|