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)
-   -   iMA Abfrage pro Tick (http://www.expert-advisor.com/forum/showthread.php?t=2806)

Indi 28.03.13 11:32

iMA Abfrage pro Tick
 
Hallo Kollegen,

ich würde gerne die Indikator Abfrage per Tick programmieren.
Bislang gelang mir nur der Standard Timeframe.

Wie kann ich den int timeframe statt auf 1M auf 1Tick stellen?


double iMA(string symbol, int timeframe, int period, int ma_shift, int ma_method, int applied_price, int shift)

Herzlichen Dank!
Wolfgang

traderdoc 28.03.13 12:17

"Wie kann ich den int timeframe statt auf 1M auf 1Tick stellen?"

Per Mt4 gar nicht!
Mal abgesehen von der Frage, was für ein Sinn dahintersteckt, würde ich mir einfach die mathematische Formel zu Berechnung des MA nehmen, die Variablen übergeben und fertig ist!

traderdoc


Alle Zeitangaben in WEZ +2. Es ist jetzt 09:31 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