Forex



Go Back   Forex Trading > Programming > MetaTrader
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
  #1 (permalink)  
Old 09-10-2007, 05:33 PM
lepiricus's Avatar
Senior Member
 
Join Date: Jun 2007
Posts: 218
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 05:38 PM.
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
  #2 (permalink)  
Old 09-23-2007, 05:50 AM
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #3 (permalink)  
Old 09-23-2007, 07:56 AM
lepiricus's Avatar
Senior Member
 
Join Date: Jun 2007
Posts: 218
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #4 (permalink)  
Old 03-14-2009, 01:35 PM
Junior Member
 
Join Date: Jan 2009
Posts: 2
Piboy is on a distinguished road
It is possible

I am a VB developer and an MQL developer.
I can convert any MQL in VB/DLL.
Happy to do the work for you, provided there is some worthwhile trading strategy for me to share in.
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
  #5 (permalink)  
Old 03-14-2009, 04:05 PM
Junior Member
 
Join Date: Feb 2008
Posts: 10
paulw6182@yahoo.ie is on a distinguished road
Ninja

Hi I got this ea made its heiken ashi
mayby somone can change it to trade on any present bar for quicker order placing and post it back on this tread to share
Thanks
Attached Files
File Type: zip Ninja Tool only!.zip (8.5 KB, 12 views)
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
  #6 (permalink)  
Old 03-15-2009, 01:21 AM
Senior Member
 
Join Date: Nov 2006
Posts: 308
luxinterior is on a distinguished road
Here you go Paul. I just added a new variable to the parameters, SHIFT.

0: current bar and 1 for closed bar.

You could have just dropped me an email and I would of added it for you no problem at all.

Good luck

Lux
Attached Files
File Type: mq4 Ninja.mq4 (11.4 KB, 8 views)
__________________
Build An Expert Advisor. FREE E-course As Seen On TV
ForexArea.com
Users of Gap Trader from 'Forex-Assistant' MUST Read This
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
  #7 (permalink)  
Old 03-15-2009, 02:27 AM
Junior Member
 
Join Date: Feb 2008
Posts: 10
paulw6182@yahoo.ie is on a distinguished road

Thank you so much you rock
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
  #8 (permalink)  
Old 03-15-2009, 03:00 AM
Senior Member
 
Join Date: Nov 2006
Posts: 308
luxinterior is on a distinguished road
No problem at all Paul.

Good luck with everything!

Lux
__________________
Build An Expert Advisor. FREE E-course As Seen On TV
ForexArea.com
Users of Gap Trader from 'Forex-Assistant' MUST Read This
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
  #9 (permalink)  
Old 03-16-2009, 02:41 AM
Junior Member
 
Join Date: Feb 2008
Posts: 10
paulw6182@yahoo.ie is on a distinguished road
Ninja

Hi, Luxinterior
thanks very much for your modification I can c it trades a bit faster but what I was trying to ask is if you could make that it will always place a trade the second you press the expert adviser button no matter what stage the bar is at or how many same colour bars came previously. ihope I explain myself ok
I thought posibly it would mean -1: current bar and 0 for closed bar.
but i have no(sorry a little bad spell check makes misleading) idea about coding.
Thanks

Last edited by paulw6182@yahoo.ie; 05-26-2009 at 09:56 PM.
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


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
MT4 Monitor - MT4 DDE in visual basic 6. codersguru Tools and utilities 26 10-30-2009 09:43 AM
StepMa_Stoch_w/visual alert leightonbeaty Indicators - Metatrader 4 1 10-27-2006 12:18 AM
Converting day_trader General Discussion 4 12-19-2005 07:40 PM
Visual Trader newdigital Tools and utilities 0 10-15-2005 09:42 AM


All times are GMT. The time now is 01:04 PM.



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