Forum

MQL for Android

Is there anyway way of programming mql4 on android?? I have a c and c++ compiler on there but not sure the meta quotes app lets you program? Would it be possible to emulate on an android

Volatility Formula

Hello peeps, im just wondering if theres any actual equation for volatility? I've seen it used and measured in various ways and i know you can measure the total change in a day vs the current value, or change vs range, or high - low / volume or some nominal value based on time etc but is there an

Multiple inheritance

The Normal syntax doesnt seem to register, does mql cater for multiple inheritance or do i have to work around it? I was attempting a partial MVC, well different adaptation but essentially wanted a controller class between MarketIndicator and Trader, they both inherit statistics class but for

Collaboration and project work

I'm just curious as to whether theres any outlet for combining idea's and skills together. Like a website or such. I was going to email my old university to find out if there were provisions for getting a team together, such as 2/3 coders, 2 mathematicians, an electro mechanical engineer and a

Strategy Tester specific data used

When testing out my EA over various periods of time, the strategy tester will say testing M15, testing M5, testing M1 and then start running my EA. I'm wondering on what basis does it decide what data to use as your test data? For example my OnTick() data will be different if it uses M15 as opposes

DLL's

I've created a C++ file and used all the right syntax required for mql4 to speak to my DLL such as #define MT4_EXPFUNC __declspec(dllexport), APIENTRY and _stdcall myfunc() etc Now im just wondering how to actually turn this into a .DLL. I've tried using visual studios implementation of a DLL

Brokers and Spread

Just a quick question regarding non-specific brokers. How do the prices of 1 broker correspond to the prices of a second? If both brokers are left to their own devices the prices would inevitably diverge? Therefor is there some concurrent communication between brokers to keep prices approximately

Historical Data method of close

I'm trying to find a way to specify how the last order was closed. I have used the OrdersHistoryTotal() then OrderSelect(index, SELECT_BY_POS , MODE_HISTORY) and finally OrderType() but this simply refers to the ENUM for OP_BUY, OP_SELL etc. Is there anyway to specifically find out if an order

EA's and start() function

What happened to the Start() function that almost all tutorials and guides use? i get ontick and ontimer instead