WineHQ
WineHQ Forums
Running MetaTrader 4 in Wine
Goto page 1, 2  Next
 
Post new topic   Reply to topic    WineHQ Forums Forum Index -> Wine Users
View previous topic :: View next topic  
Author Message
mel8331



Joined: 16 Jan 2009
Posts: 1

PostPosted: Fri Jan 16, 2009 7:23 am    Post subject: Running MetaTrader 4 in Wine Reply with quote

Metatrader 4 ( http://www.metaquotes.net/ ) do run in Wine but is not fully compatible ie not all function are working. I wish future Wine will enable Metatrader 4 to run properly.

Another wish list is for Wine to incorporate a "File Explorer" that will show the "C:\" directory instead of having to work with the complicate Linux directory.
Back to top
View user's profile Send private message
dAnIK SeNT
Guest





PostPosted: Fri Jan 16, 2009 8:12 am    Post subject: Running MetaTrader 4 in Wine Reply with quote

On Fri, Jan 16, 2009, mel8331 wrote:
Quote:
Another wish list is for Wine to incorporate a "File Explorer" that will
show the "C:\" directory instead of having to work with the complicate
Linux directory.

Try executing in terminal window:
wine winefile

--
Best regards,
Danila Sentiabov aka dAnIK SeNT
Back to top
austin987



Joined: 22 Feb 2008
Posts: 2375

PostPosted: Fri Jan 16, 2009 10:13 am    Post subject: Running MetaTrader 4 in Wine Reply with quote

On Fri, Jan 16, 2009 at 7:23 AM, mel8331 <wineforum-user@winehq.org> wrote:
Quote:
Metatrader 4 ( http://www.metaquotes.net/ ) do run in Wine but is not fully compatible ie not all function are working. I wish future Wine will enable Metatrader 4 to run properly.

File bugs.

--
-Austin
Back to top
View user's profile Send private message AIM Address
L. Rahyen



Joined: 22 Feb 2008
Posts: 111

PostPosted: Fri Jan 16, 2009 10:26 am    Post subject: Running MetaTrader 4 in Wine Reply with quote

On 2009-01-16 (Friday) 13:23:19 mel8331 wrote:
Quote:
Metatrader 4 ( http://www.metaquotes.net/ ) do run in Wine but is not fully
compatible ie not all function are working. I wish future Wine will enable
Metatrader 4 to run properly.

What exactly doesn't work for you? Personally I use Wine in my server where I
have many instances of Metatrader running simultaneously. I use a lot of
functions in Metatrader and everything working great for me (note that
I'm using some native dlls). However, version of Wine I use in my server is
pretty old - obviously I can't upgrade it often because of possible
regressions in Wine: this isn't acceptable for my particular task (if Wine
fail to work properly I may lose real money). In other words I didn't test
Metatrader with new Wine.

If you describe what exactly doesn't work for you I (probably) can give you
advice(s) how to deal with the problem(s). Also don't forget to mention what
version of Wine you are using, what build of Metatrader and what native
dll(s).
Back to top
View user's profile Send private message
austin987



Joined: 22 Feb 2008
Posts: 2375

PostPosted: Fri Jan 16, 2009 10:31 am    Post subject: Running MetaTrader 4 in Wine Reply with quote

On Fri, Jan 16, 2009 at 10:25 AM, L. Rahyen <research@science.su> wrote:
Quote:
On 2009-01-16 (Friday) 13:23:19 mel8331 wrote:
Quote:
Metatrader 4 ( http://www.metaquotes.net/ ) do run in Wine but is not fully
compatible ie not all function are working. I wish future Wine will enable
Metatrader 4 to run properly.

What exactly doesn't work for you? Personally I use Wine in my server where I
have many instances of Metatrader running simultaneously. I use a lot of
functions in Metatrader and everything working great for me (note that
I'm using some native dlls). However, version of Wine I use in my server is
pretty old - obviously I can't upgrade it often because of possible
regressions in Wine: this isn't acceptable for my particular task (if Wine
fail to work properly I may lose real money). In other words I didn't test
Metatrader with new Wine.

Could you install in a test system and test for regressions? We can't
fix bugs we don't know about Smile.



--
-Austin
Back to top
View user's profile Send private message AIM Address
L. Rahyen



Joined: 22 Feb 2008
Posts: 111

PostPosted: Fri Jan 16, 2009 1:21 pm    Post subject: Running MetaTrader 4 in Wine Reply with quote

On 2009-01-16 (Friday) 16:30:52 Austin English wrote:
Quote:
On Fri, Jan 16, 2009 at 10:25 AM, L. Rahyen <research@science.su> wrote:
Quote:
On 2009-01-16 (Friday) 13:23:19 mel8331 wrote:
Quote:
Metatrader 4 ( http://www.metaquotes.net/ ) do run in Wine but is not
fully compatible ie not all function are working. I wish future Wine
will enable Metatrader 4 to run properly.

What exactly doesn't work for you? Personally I use Wine in my
server where I have many instances of Metatrader running simultaneously.
I use a lot of functions in Metatrader and everything working great for
me (note that I'm using some native dlls). However, version of Wine I use
in my server is pretty old - obviously I can't upgrade it often because
of possible regressions in Wine: this isn't acceptable for my particular
task (if Wine fail to work properly I may lose real money). In other
words I didn't test Metatrader with new Wine.

Could you install in a test system and test for regressions? We can't
fix bugs we don't know about Smile.

I know that. And I plan to do so as soon as I have more free time (in fact I
have few bugs that I want to report but need to do some additional
research/regression testing first) - currently I'm overloaded with work.
However, after a week or two I probably will find some free time to report
all bugs that I found so far (and also retest all my most important programs
with recent Wine and do regression test(s) if necessary).
Back to top
View user's profile Send private message
Surjanto



Joined: 23 Jan 2009
Posts: 1

PostPosted: Mon Jan 26, 2009 8:57 pm    Post subject: Reply with quote

Is there anyone success install Metatrader 4 using Wine?

What version of wine do you use?
wine 1.1 or 0.9?

What linux do you use?
uBuntu 8.10 or Centos 5.2 or .... what?

Please help me, thanks in advance
Back to top
View user's profile Send private message
L. Rahyen



Joined: 22 Feb 2008
Posts: 111

PostPosted: Tue Jan 27, 2009 5:41 am    Post subject: Running MetaTrader 4 in Wine Reply with quote

On 2009-01-27 (Tuesday) 02:57:12 Surjanto wrote:
Quote:
Is there anyone success install Metatrader 4 using Wine?

I thought I already answered this question to you; or you didn't received my
reply to your PM where you asked same questions? I sent it to you on Jan 23,
2009 9:45 pm. I think I simply repost it here - to be sure that you received
it this time and also because it may be helpful to others who looking for
similar answers.

BTW, when something doesn't work please describe exactly what the problem is,
what errors do you get (if any), and post terminal output, and mention what
version(s) of Wine you have tried.

* * *

Quote:
1.What version of wine did you install?

On my server I have stable configuration based on wine-0.9.44 with some
native overrides and patches. However, general recommendation is not to use
old Wine unless you are sure that new Wine doesn't work good enough for you
or you already have stable and tested configuration with older Wine and don't
want to upgrade (for example because of possibility of regressions in newer
versions).

I just tried and MetaTrader works fine with new Wine 1.1.13 from git (but
standard 1.1.13 release probably will work fine too).

However MetaTrader's installer doesn't install mfc42.dll (without it
MetaTrader doesn't work) so you need to do this by yourself. Quickest way to
install and run MetaTrader in recent Wine:

1) First you need to install winetricks; to do so run this:

wget http://kegel.com/wine/winetricks
chmod +x winetricks
sudo mv winetricks /usr/bin/

2) Then install requirements for MetaTrader (gecko is used for HTML
rendering):

winetricks -q gecko vcrun6

3) Install MetaTrader with Wine and work with it as usually.

You may encounter some bugs though. For example bug "[Bug 4304] Metatrader:
Double clicking to change table values doesn't work" - if this is important
to you then read this bug report and try workarounds described there.

If something still doesn't work for you or you have additional questions -
feel free to ask, maybe I will be able to help.

Quote:
2.Under what linux version? Centos 5.2? uBuntu 8.10? or what?

I use Debian GNU/Linux Lenny on my server; however, this isn't recent Lenny -
it is more than 1 year old. But actually this doesn't matter because you are
free to use any distro you like.

Quote:
3.Do you run your MT4 in Linux VPS?

No. I have my own 1U server in collocation center.
Back to top
View user's profile Send private message
milja2008



Joined: 01 Feb 2009
Posts: 7
Location: Jamaica

PostPosted: Sun Feb 01, 2009 2:05 pm    Post subject: Feeling lost Reply with quote

Hi there,
I have been scouring different forums trying to find an answer as to why am unable to get Ubuntu 8.10 , with wine 1.0.1 to install mfc42.dll . Without it I will never get MT4 to run .
I have followed your posts still with no success. Any assistance would be appreciated. The only system on my machine is Ubuntu 8.10

Thanks
Back to top
View user's profile Send private message
austin987



Joined: 22 Feb 2008
Posts: 2375

PostPosted: Sun Feb 01, 2009 2:22 pm    Post subject: Running MetaTrader 4 in Wine Reply with quote

On Sun, Feb 1, 2009 at 2:05 PM, milja2008 <wineforum-user@winehq.org> wrote:
Quote:
Hi there,
I have been scouring different forums trying to find an answer as to why am unable to get Ubuntu 8.10 , with wine 1.0.1 to install mfc42.dll . Without it I will never get MT4 to run .

'winetricks mfc42' doesn't work?

Terminal output. Can you upgrade to 1.1.14?

--
-Austin
Back to top
View user's profile Send private message AIM Address
vitamin



Joined: 23 Feb 2008
Posts: 4293

PostPosted: Sun Feb 01, 2009 2:23 pm    Post subject: Re: Feeling lost Reply with quote

milja2008 wrote:
unable to get Ubuntu 8.10 , with wine 1.0.1 to install mfc42.dll.

You mean you can't copy one single file? What sort of problem you have what that?
Back to top
View user's profile Send private message
milja2008



Joined: 01 Feb 2009
Posts: 7
Location: Jamaica

PostPosted: Sun Feb 01, 2009 2:46 pm    Post subject: Reply with quote

Can't upgrade at this time.

I've tried all the suggestions I have found.

Just can't load mfc42.dll

MetaTrader 4 requires this file to be in the C:\windows\system32 directory.

My windows directory is blank ! I see no system32 directory !
Back to top
View user's profile Send private message
austin987



Joined: 22 Feb 2008
Posts: 2375

PostPosted: Sun Feb 01, 2009 2:50 pm    Post subject: Running MetaTrader 4 in Wine Reply with quote

On Sun, Feb 1, 2009 at 2:46 PM, milja2008 <wineforum-user@winehq.org> wrote:
Quote:
Can't upgrade at this time.

I've tried all the suggestions I have found.

Just can't load mfc42.dll

MetaTrader 4 requires this file to be in the C:\windows\system32 directory.

My windows directory is blank ! I see no system32 directory !

Then you've botched something up majorly. Restart in a clean ~/.wine.



--
-Austin
Back to top
View user's profile Send private message AIM Address
L. Rahyen



Joined: 22 Feb 2008
Posts: 111

PostPosted: Sun Feb 01, 2009 3:03 pm    Post subject: Running MetaTrader 4 in Wine Reply with quote

On 2009-02-01 (Sunday) 20:46:30 milja2008 wrote:
Quote:
Can't upgrade at this time.

I've tried all the suggestions I have found.

Just can't load mfc42.dll

MetaTrader 4 requires this file to be in the C:\windows\system32 directory.

My windows directory is blank ! I see no system32 directory !

Assuming you are using default Wine prefix run this:

sudo rm -rf ~/.wine
wineboot

"sudo" is there in case you have broken permissions (BTW, never run Wine as
root if you don't know what you are doing!) and "rm -rf ~/.wine" will remove
your default Wine prefix with all Windows programs you have installed (if
any). "wineboot" will create clean Wine prefix (because you have deleted old
one by previous command). Then you can copy mfc42.dll to
~/.wine/drive_c/windows/system32/ or run "winetricks vcrun6".
Back to top
View user's profile Send private message
milja2008



Joined: 01 Feb 2009
Posts: 7
Location: Jamaica

PostPosted: Sun Feb 01, 2009 3:04 pm    Post subject: Reply with quote

ok wine was removed and then reinstalled .

now what? When I look in Places, computer, file system, media, windows then that folder is blank Sad


Last edited by milja2008 on Sun Feb 01, 2009 3:08 pm; edited 1 time in total
Back to top
View user's profile Send private message
milja2008



Joined: 01 Feb 2009
Posts: 7
Location: Jamaica

PostPosted: Sun Feb 01, 2009 3:11 pm    Post subject: Reply with quote

Please slow down guys , I'm new to Ubuntu but catching most of what you're saying. Am I to run this from the terminal window ? Default wine prefix ? now you lost me.
Back to top
View user's profile Send private message
austin987



Joined: 22 Feb 2008
Posts: 2375

PostPosted: Sun Feb 01, 2009 3:22 pm    Post subject: Running MetaTrader 4 in Wine Reply with quote

On Sun, Feb 1, 2009 at 3:11 PM, milja2008 <wineforum-user@winehq.org> wrote:
Quote:
Please slow down guys , I'm new to Ubuntu but catching most of what you're saying. Am I to run this from the terminal window ?







Yes

--
-Austin
Back to top
View user's profile Send private message AIM Address
L. Rahyen



Joined: 22 Feb 2008
Posts: 111

PostPosted: Sun Feb 01, 2009 3:29 pm    Post subject: Running MetaTrader 4 in Wine Reply with quote

On 2009-02-01 (Sunday) 21:11:41 milja2008 wrote:
Quote:
Please slow down guys , I'm new to Ubuntu but catching most of what you're
saying. Am I to run this from the terminal window ?

Of course. All commands should be run in a X terminal (like konsole,
gnome-terminal or xterm); otherwise commands may not work as expected.
Back to top
View user's profile Send private message
milja2008



Joined: 01 Feb 2009
Posts: 7
Location: Jamaica

PostPosted: Sun Feb 01, 2009 3:31 pm    Post subject: Reply with quote

what did i leave out ?
****@****-desktop:~$ cp mfc42.dll/.wine/drive_c/windows/system32
cp: missing destination file operand after `mfc42.dll/.wine/drive_c/windows/system32'

The mfc42.dll file is currently on my desktop.


Last edited by milja2008 on Sun Feb 01, 2009 3:33 pm; edited 1 time in total
Back to top
View user's profile Send private message
austin987



Joined: 22 Feb 2008
Posts: 2375

PostPosted: Sun Feb 01, 2009 3:39 pm    Post subject: Running MetaTrader 4 in Wine Reply with quote

On Sun, Feb 1, 2009 at 3:31 PM, milja2008 <wineforum-user@winehq.org> wrote:
Quote:
what did i leave out ?
****@****-desktop:~$ cp mfc42.dll/.wine/drive_c/windows/system32
cp: missing destination file operand after `mfc42.dll/.wine/drive_c/windows/system32'

A) You need a space between dll and /.wine

B) That's not the right way to do it. Use winetricks as I said before.

--
-Austin
Back to top
View user's profile Send private message AIM Address
milja2008



Joined: 01 Feb 2009
Posts: 7
Location: Jamaica

PostPosted: Sun Feb 01, 2009 3:48 pm    Post subject: Reply with quote

What is the command line for winetricks?

****@****-desktop:~$ winetricks vcrun6
bash: winetricks: command not found
Back to top
View user's profile Send private message
L. Rahyen



Joined: 22 Feb 2008
Posts: 111

PostPosted: Sun Feb 01, 2009 3:59 pm    Post subject: Running MetaTrader 4 in Wine Reply with quote

On 2009-02-01 (Sunday) 21:48:21 milja2008 wrote:
Quote:
What is the command line for winescripts?

****@****-desktop:~$ winetricks vcrun6
bash: winetricks: command not found

I really recommend you to reread this thread! All yours questions are
answered *multiple* times! But I repeat most important things for you anyway:

1) First you need to install winetricks; to do so run this:

wget http://kegel.com/wine/winetricks
chmod +x winetricks
sudo mv winetricks /usr/bin/

2) Then install requirements for MetaTrader (gecko is used for HTML
rendering):

winetricks -q gecko vcrun6

3) Install MetaTrader with Wine and work with it as usually.
Back to top
View user's profile Send private message
milja2008



Joined: 01 Feb 2009
Posts: 7
Location: Jamaica

PostPosted: Sun Feb 01, 2009 4:20 pm    Post subject: Reply with quote

Thank you for your assistance.
Back to top
View user's profile Send private message
altmerman



Joined: 12 Feb 2009
Posts: 2

PostPosted: Thu Feb 12, 2009 4:37 am    Post subject: Tooltips Reply with quote

Hello! Metatrader works fine under wine - that is simply great.
But thereś one thing which starts to drive me crazy sometimes. When you point the mouse to the candle (or any object) a tip shows up with info like high-low-close-open. But then i point to the BLANK space and the tip shows up AGAIN. the same last one. It is disturbing.

If anyone could help with this matter?

Thanks in advance
Back to top
View user's profile Send private message
altmerman



Joined: 12 Feb 2009
Posts: 2

PostPosted: Thu Feb 12, 2009 6:02 am    Post subject: PROBLEM SOLVED Reply with quote

I found out that comctl32.dll is responsible for tooltips. Simply copying the file from real windowsXp wasnt any help.
Then I saw it in winetricks panel and installed - and voila! It works just fine - no tooltips appear where theyre not suppose to appear.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    WineHQ Forums Forum Index -> Wine Users All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group