Thanks, I missed that operator and was looking under the names like cos, tan etc.
--- In [email protected], "Edward Pottasch" <empotta...@...> wrote: > > you answered yourself: > > x = (1 - cos(y))/(1.414213562^(2/z)-1); > > see also: > > http://www.amibroker.net/guide/a_language.html > > > > > > ----- Original Message ----- > From: loewenste...@... > To: [email protected] > Sent: Tuesday, September 22, 2009 10:57 AM > Subject: [amibroker] Noob math question > > > 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 >
