Forex
Google
New signals service!

Go Back   Forex Trading > Metatrader Training > Metatrader 4 mql 4 - Development course > Questions


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 11-13-2005, 01:48 PM
Junior Member
 
Join Date: Oct 2005
Posts: 12
fivewhy is on a distinguished road
re

Hey cardio, if you like that IDE you should try Visual Studio Express. Its totally free and has all the functionality you would need. I think Visual Studio is the best IDE available, amazingly since it is from M$. I'm using it to write an app of my own.

I'm trying to write an app to read reports from MT4 and digest/display various pieces of informtion from the reports. I want to share it and get feedback from the community as to what functionality it should have. It is still a long time away though.

But I think you would like VS Express.
http://msdn.microsoft.com/vstudio/express/default.aspx
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 11-13-2005, 05:36 PM
codersguru's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 987
codersguru has a spectacular aura aboutcodersguru has a spectacular aura aboutcodersguru has a spectacular aura about
Thumbs up Right!

Quote:
Originally Posted by fivewhy
Hey cardio, if you like that IDE you should try Visual Studio Express. Its totally free and has all the functionality you would need. I think Visual Studio is the best IDE available, amazingly since it is from M$. I'm using it to write an app of my own.
Fiveway,

I agree with you, I do trust Microsoft development tools. That's because Microsoft is the Windows creator.

I didn't try Express version yet but I'm going to download it when I go to my office which has ADSL connection. Thanks!

Quote:
Originally Posted by fivewhy
I'm trying to write an app to read reports from MT4 and digest/display various pieces of informtion from the reports. I want to share it and get feedback from the community as to what functionality it should have. It is still a long time away though.

But I think you would like VS Express.
http://msdn.microsoft.com/vstudio/express/default.aspx
That's great! KEEP GOING .
Did you try Metatrader DDE? I think this topic may help you.
__________________
Hope it helps !
Coders' Guru
Senior MQL programmer:
www.xpworx.com/custom.htm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 11-14-2005, 12:21 PM
codersguru's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 987
codersguru has a spectacular aura aboutcodersguru has a spectacular aura aboutcodersguru has a spectacular aura about
Angry That's right!

Quote:
Originally Posted by cardio
Thanks -

I will try it on Monday, because the file functions must also not work on Stratergybuilderfx on the weekend.
Otherwise just getting things going in C# - this free IDE is very cool.

Cheers

Actually the IDE is not so cool, I uninstalled it and did the 400mb download of c# express. And will now try that.

I got another answere from metaquotes when I asked them if file functions work in startergy tester, they answered

'file functions work. but in case of testing all the processed files must be placed in the tester\files directory'

Cheers
Stephen
Hi Stephen,

I've seen the answer too today in Metaquotes forum.
I'm wondering Why didn't they tell us that in their guide?

Anyway, When I opened MetaTrader 4\tester\files directory, I found eurud_1min.csv.
__________________
Hope it helps !
Coders' Guru
Senior MQL programmer:
www.xpworx.com/custom.htm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 11-15-2005, 04:13 PM
Junior Member
 
Join Date: Oct 2005
Posts: 12
fivewhy is on a distinguished road
Yea, MQ is very bad about certain things like that I've noticed. I don't want to gripe about it, b/c MT4 is a solid platform...its just MQ needs to fix soo many minor things. They got major things right, but the small stuff is killing them. Maybe if enough people complain they will do something, but I don't know.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 11-25-2005, 01:46 PM
Senior Member
 
Join Date: Sep 2005
Location: St Louis, MO, USA
Posts: 176
cardio is an unknown quantity at this point
Giving up

Hi
I am giving up on the idea to try debug the EA in C# - porting the thing seems so daughting and I see in Metaquotes version 149 they say that breakpoints will be implemented - hopefully this will enable debugging - anyhow - just to let you know what is happening - if I get more time I will continue for now though - just trial and error.
cheers
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #16 (permalink)  
Old 11-25-2005, 02:04 PM
codersguru's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 987
codersguru has a spectacular aura aboutcodersguru has a spectacular aura aboutcodersguru has a spectacular aura about
Unhappy Could I help?

Quote:
Originally Posted by cardio
Hi
I am giving up on the idea to try debug the EA in C# - porting the thing seems so daughting and I see in Metaquotes version 149 they say that breakpoints will be implemented - hopefully this will enable debugging - anyhow - just to let you know what is happening - if I get more time I will continue for now though - just trial and error.
cheers
cardio,
I'm so sorry to hear that .
Could I know exactly what do you want to do? Maybe I can help.
__________________
Hope it helps !
Coders' Guru
Senior MQL programmer:
www.xpworx.com/custom.htm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #17 (permalink)  
Old 11-29-2005, 10:44 AM
Senior Member
 
Join Date: Sep 2005
Location: St Louis, MO, USA
Posts: 176
cardio is an unknown quantity at this point
Cool not to worry

Thanks for your help - the idea of porting the EA to C# was a bad one - requiring to much recoding - now I will just debug by writing out all my variable to a file and see what is going on - so not to worry - lets try make some money.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #18 (permalink)  
Old 11-29-2005, 11:44 AM
codersguru's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 987
codersguru has a spectacular aura aboutcodersguru has a spectacular aura aboutcodersguru has a spectacular aura about
Arrow Debug window!

Quote:
Originally Posted by cardio
Thanks for your help - the idea of porting the EA to C# was a bad one - requiring to much recoding - now I will just debug by writing out all my variable to a file and see what is going on - so not to worry - lets try make some money.
cradio,
Is it helpful to see a window with the state of all the variables during the backtesting, I can code that in VC++ for you (when I've time).
__________________
Hope it helps !
Coders' Guru
Senior MQL programmer:
www.xpworx.com/custom.htm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #19 (permalink)  
Old 11-29-2005, 05:52 PM
Senior Member
 
Join Date: Sep 2005
Location: St Louis, MO, USA
Posts: 176
cardio is an unknown quantity at this point
Cool Sounds good

Hi

That would require putting breakpoints into the EA - and putting the EA into the VC++ enviroment, right? - Else how do you debug? That is what I was trying to do with C# - I have sufficient data to test, and an EA that is basically written in C, - but that contains lots of custom functions like OrderSelect, OrderType, OrderLots - these would have to be rewritten to return the proper values. Functions such as iMA would not have to be written as they can be caluclated in the startergy tester and fed into the program.
If you have the time to do this - or another idea - I would love to test it. I will post up my current method of debugging - if and when I get it going.

Cheers
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #20 (permalink)  
Old 11-29-2005, 08:45 PM
codersguru's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 987
codersguru has a spectacular aura aboutcodersguru has a spectacular aura aboutcodersguru has a spectacular aura about
Arrow watches window

Quote:
Originally Posted by cardio
Hi

That would require putting breakpoints into the EA - and putting the EA into the VC++ enviroment, right? - Else how do you debug? That is what I was trying to do with C# - I have sufficient data to test, and an EA that is basically written in C, - but that contains lots of custom functions like OrderSelect, OrderType, OrderLots - these would have to be rewritten to return the proper values. Functions such as iMA would not have to be written as they can be caluclated in the startergy tester and fed into the program.
If you have the time to do this - or another idea - I would love to test it. I will post up my current method of debugging - if and when I get it going.

Cheers
Hi

My idea was creating a dll in VC++ which you can use in MT4 for debuging your expert advisor.
It will generate a report and pop up a window with the state of the varaibles you use in your EA (like a c++ debuging method called watches).
__________________
Hope it helps !
Coders' Guru
Senior MQL programmer:
www.xpworx.com/custom.htm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Writing indicator value into external file pawelsz Indicators - Metatrader 4 5 02-09-2007 03:01 AM
Help with writing your own strategies hitman22 Metatrader 4 2 03-15-2006 10:22 AM


All times are GMT. The time now is 04:58 AM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.