Forex



Go Back   Forex Trading > Downloads > Tools and utilities
Forex Forum Register More recent Blogs Calendar Advertising Others Help






Register
Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.

From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.

Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
  • Elite Section
    Get access to private discussions, specialized support, indicators and trading systems reported every week.
  • Advanced Elite Section
    For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more

Reply
 
Thread Tools Display Modes
  #81 (permalink)  
Old 12-30-2007, 12:58 PM
Administrator
 
Join Date: Sep 2005
Posts: 20,079
Blog Entries: 241
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
And I updated this small thread http://www.forex-tsd.com/metatrader-...ing-forum.html with more functions.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #82 (permalink)  
Old 12-31-2007, 05:10 AM
Member
 
Join Date: Jul 2007
Posts: 63
Ghamm is on a distinguished road
Quote:
Originally Posted by DooMGuarD View Post
hy all

how i make a delphi code for use in MQL4... like DLL access...

anbody have a sample?

regards

charles
You can't.. object pascal is a different animal. You can however make a DLL to do tons of stuff. I also have source to do most of the common indicators in Delphi, but you will need to give it your own bars of data..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #83 (permalink)  
Old 01-17-2008, 06:43 PM
Junior Member
 
Join Date: Dec 2007
Posts: 1
laurent68 is on a distinguished road
Quote:
Originally Posted by codersguru View Post
Hi folks,

A lot of people asked me and metaquotes forum about file handling functions.
I think MT4 have a lot of bugs in those functions.
1- They don't work in backtesting
2- They don't write outside "MetaTrader 4\experts\files" path.

Today I opened my Visual C++ and wrote a file handling dll for MT4, I hope you enjoy it, and its source code, and tell me your .

Setup:
1- Extract the "mtguru1.dll" to "MetaTrader 4\experts\libraries" path.
2- Extract "FilesDemo.mq4" to "MetaTrader 4\experts\indicators" path and compile it.
3- Extract "gFiles.mqh" to "MetaTrader 4\experts\include".
4- Load FilesDemo from your Indicators - don't forget to enbable "Allow DLL Import"
5- Enjoy.
hi

really great and usefull

but i have a problem if i write a long text in a file and a short one in the same file, few minutes after.

i find old end of the text in the final file

any idea ?

many thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #84 (permalink)  
Old 04-03-2008, 02:36 AM
Junior Member
 
Join Date: Nov 2007
Posts: 1
avid1 is on a distinguished road
How lunch a second terminal from a Expert Adivsor working in a first terminal

Your source code is amazing! However, it does not allow me achieving what I need to perform my trading strategy.

What I need to do is to lunch a second terminal from my expert advisor. However, if I use your code as follows:

int file = gFileOpen("C:\Metatrader 2\terminal.exe",READ);

Nothing happen, and no terminal is lunched. Could you help me with this?

I understand I could do this task with WINAPI OpenFile; however, I am not a programmer and do not know how to declare it in mq4 and afterwards use it.

Best regards,

Andres
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #85 (permalink)  
Old 04-25-2008, 06:54 AM
Junior Member
 
Join Date: Apr 2006
Posts: 24
Carlo is on a distinguished road
Automatic EA trading

Dear All,

I had one EA stored in the folder named "expert" just under MT4, and the required DLL is stored into the folder named "library".

This EA is for automatic trading.

After attach the EA to the chart, it show the error message at the bottom:

"Can not load ...DLL."

Is any expert can tell me where is the problem ?

Carlo
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #86 (permalink)  
Old 04-25-2008, 07:09 AM
Administrator
 
Join Date: Sep 2005
Posts: 20,079
Blog Entries: 241
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
You should have dll file in the folder. If you have it so allow dll (read few posts above on this page).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #87 (permalink)  
Old 04-25-2008, 06:37 PM
Junior Member
 
Join Date: Apr 2006
Posts: 24
Carlo is on a distinguished road
Smile

Quote:
Originally Posted by newdigital View Post
You should have dll file in the folder. If you have it so allow dll (read few posts above on this page).

I checked the MT4 folder, where is the folder you are mention ?

i only find the sample/dll sample.

Sonebody told me to save it into the expert/library, but the MT$ show the error message that can not load ...dll !

thanks
Carlo
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #88 (permalink)  
Old 04-26-2008, 12:02 AM
Linuxser's Avatar
User Root
 
Join Date: May 2006
Location: Helliconia (Winter)
Posts: 4,410
Blog Entries: 56
Linuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond repute
Quote:
Originally Posted by Carlo View Post
I checked the MT4 folder, where is the folder you are mention ?

i only find the sample/dll sample.

Sonebody told me to save it into the expert/library, but the MT$ show the error message that can not load ...dll !

thanks
Carlo
See the pictures. Do you have the same settings?

2008-04-25_195914.gif

2008-04-25_195953.gif
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #89 (permalink)  
Old 04-26-2008, 08:27 AM
Junior Member
 
Join Date: Apr 2006
Posts: 24
Carlo is on a distinguished road
Quote:
Originally Posted by Linuxser View Post
See the pictures. Do you have the same settings?

Attachment 60014

Attachment 60015

I was so tired to find where the problem is. I am not the expert as yours.
Really need some expert to help me.

As in the following attachment, I saved the dll in the folder .../expert/libraries

so, where is the problem ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #90 (permalink)  
Old 04-26-2008, 01:26 PM
Linuxser's Avatar
User Root
 
Join Date: May 2006
Location: Helliconia (Winter)
Posts: 4,410
Blog Entries: 56
Linuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond repute
Quote:
Originally Posted by Carlo View Post
I was so tired to find where the problem is. I am not the expert as yours.
Really need some expert to help me.

As in the following attachment, I saved the dll in the folder .../expert/libraries

so, where is the problem ?
Don´t you mind to attach the EA to see the code and if we can reproduce the error.

If you can´t attach the code look for some quote in the code like the following and post it.

Quote:
#include <3c_BB_Osc.mqh>
or some line ending with DLL like abcd.dll

Have you checked the name of the dll inside the indicator it`s exactly the same as the dll name?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks

Tags
awesome, metatrader kernel32.dll, MT4 FILES, mtguru1.dll, mtguru1.zip


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
File Functions intelligent_14 Questions 6 07-11-2006 09:37 PM
Unusual Functions intelligent_14 Questions 3 06-24-2006 12:20 AM
Appendix 2 - Trading functions codersguru Lessons 8 12-26-2005 02:46 PM
Lesson 7 - Functions codersguru Lessons 2 11-02-2005 04:32 PM


All times are GMT. The time now is 12:10 AM.



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