I am trying to translate a function from EasyLanguage (TradeStation) and got 
stuck on the TradeStation funtion "power"

x = (1 - cosine(y)) / (power(1.414213562, (2 / z)) - 1);


// basically: 1.414213562 ^ (2/z)

sofar I got in Amibroker:

x = (1 - cos(y)) / ????

and I think I need to use "exp" next but my maths are so rusty that I cannot 
figure out how to proceed.

Any help appreciated, 

Thanks, Marinus

Reply via email to