Metatrader Forum | Forex Expert-Advisor | Broker & Forex Tools

Metatrader Forum | Forex Expert-Advisor | Broker & Forex Tools (http://www.expert-advisor.com/forum/index.php)
-   Programmierung MQL4 (http://www.expert-advisor.com/forum/forumdisplay.php?f=220)
-   -   trig func (http://www.expert-advisor.com/forum/showthread.php?t=4174)

MIND FACTORY 24.03.15 09:02

trig func
 
Hallo Leute!

ich suche die möglicheit, einen sinuswert in einen Winkel zurückzverwandeln.
MathSin(rad) ergibt den Sinus eines winkels in rad

gibt es im mql dazu auch die umherfunktion?

also aus dem Sin den winkel zu errechnen.

Jeder taschnerechner kann das in etwa als sin ^-1 inder auch inv sin.

danke

traderdoc 24.03.15 10:59

double MathArcsin(
double val // -1<value<1
);

Z.B. arcsin 1 = Pi/2 rad = 90º

traderdoc

MIND FACTORY 24.03.15 13:58

vielen Dank!

keine Ahnung warum es nicht auf Anhieb funktioniert hat. jetzt läufts jedenfalls.##

danke nochmals.


Alle Zeitangaben in WEZ +1. Es ist jetzt 14:57 Uhr.

Powered by vBulletin® Version 3.8.5 (Deutsch)
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.6.1
Powered by vBCMS® 2.7.0 ©2002 - 2024 vbdesigns.de
Copyright ©2009 - 2023 by Expert-Advisor.com - Das Metatrader Forum