Forex
Google

Go Back   Forex Trading > Programming > Metatrader Programming
Forex Forum Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


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
  #1 (permalink)  
Old 09-10-2007, 04:33 PM
lepiricus's Avatar
lepiricus lepiricus is offline
Senior Member
 
Join Date: Jun 2007
Posts: 209
lepiricus is on a distinguished road
Converting mql to visual basic?

Hello,

I am curious it its possible to convert mql coding into visual basic. The reason I ask is that I am toying around with a platform called Fibonacci TraderFibonacci Trader - The first Multiple Time Frame Software for Traders I am using their 2 week free trial now.

Its a multi time frame platform, and their system builder feature is very useful. I use both MT4 and FT but the system builder in FT is very very nice. You can literally design a system and backtest it in just a few minutes. The problem is their indicator selection is rather limited and they don't have such a deposit of knowledge like forex-tsd does with MT4.

the FT platform indicators are all coded in visual basic and I am not much of a coder ( I know a smattering of fortran 77 from engineering course in college).

Is it even possible to convert mql language to visual basic and where might I find some resources?

This bit is quoted from their site, concerning how to code your own indicators
" Do your own programming.
You can create indicators using Dynamic Link Libraries (DLLs). A DLL is a subroutine that Fibonacci Trader can link to and use dynamically. The DLL will be created using Visual Basic 6. In order to use this feature you will need some knowledge of VB6 programming. The Fibonacci Trader will pass the information needed to your DLL which will then return the value of your indicator for each bar in addition to the position of the market for that indicator and prices of any signals using that indicator. The Fibonacci Trader will display the indicator and any alarms set for that indicator.
In addition, you will be able to use your DLL indicators in your systems. "
__________________
All your pips are belong to us!

Last edited by lepiricus : 09-10-2007 at 04:38 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 09-23-2007, 04:50 AM
Manxxx Manxxx is offline
Junior Member
 
Join Date: Sep 2007
Location: Canada
Posts: 3
Manxxx is on a distinguished road
All things are possible in one way or another

The word "convert" may be a bit loose.
The MQL4 language is a C construct, meaning it uses a syntax & structure that's loosly based on C. I would be surprised if you could find a "Converter" for it but it would be reletively simple although time consuming to "Translate" the MQL4 Code to VB.

Example:
MQL4 For loop;
for(i=0;i==15;i++)
{
do something here;
}

Translation to VB;
i=0
For i=1 to 15
Do something here
Next

Hope that helps answer your question.

Manx
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 09-23-2007, 06:56 AM
lepiricus's Avatar
lepiricus lepiricus is offline
Senior Member
 
Join Date: Jun 2007
Posts: 209
lepiricus is on a distinguished road
Quote:
Originally Posted by Manxxx View Post
The word "convert" may be a bit loose.
The MQL4 language is a C construct, meaning it uses a syntax & structure that's loosly based on C. I would be surprised if you could find a "Converter" for it but it would be reletively simple although time consuming to "Translate" the MQL4 Code to VB.

Example:
MQL4 For loop;
for(i=0;i==15;i++)
{
do something here;
}

Translation to VB;
i=0
For i=1 to 15
Do something here
Next

Hope that helps answer your question.

Manx
Yes it does thanks. It appears on the surface that visual basic is easier language to code in, but I understand now how a "converter" wouldn't work.
__________________
All your pips are belong to us!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
MT4 Monitor - MT4 DDE in visual basic 6. codersguru Tools and utilities 23 06-13-2008 06:45 AM
StepMa_Stoch_w/visual alert leightonbeaty Indicators - Metatrader 4 1 10-26-2006 11:18 PM
Converting day_trader General Discussion 4 12-19-2005 06:40 PM
Visual Trader newdigital Tools and utilities 0 10-15-2005 08:42 AM


All times are GMT. The time now is 10:48 PM.