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: [email protected] 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
