Forex



Go Back   Forex Trading > Discussion Areas > General Discussion






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
 
Thread Tools Display Modes
  #1 (permalink)  
Old 06-08-2009, 04:54 AM
Member
 
Join Date: Feb 2006
Posts: 63
icm63 is on a distinguished road
MT4 code conversion to vb.net

Hi,

I am try to convert Turbo_JMA to vb.net code , it works but results differ..

NOTE: USING Yahoo SPY data in both cases and same time length of 14.

my vb.net code..in text file

I get the blue line in image1 (vb.net code above), yet it should look like image2 (MT4 code attached). You can see that the average line does not hug price that well in the image1.

turbo_jmav1.jpg
turbo_jma V2.jpg

I am sure my vb.net code cant be that far away from MT4 code, but whats missing.

NOTE: The array in the vb.net goes from the left hand side of chart to the right hand side. The count is a positive one (0,1,2,3 etc). MT4 does the same thing but the count is negative one ( ie 4000, 3999, 3998, etc)

Any ideas,,,

All you need is attached below..data and code, please help !

Software used:
vb.net MS VS 2005
MT4 latest version

NOTE: Next post has all the files in a ZIP files with read me instructions
Attached Files
File Type: mq4 Turbo_JMA.mq4 (10.9 KB, 13 views)
File Type: txt vbnetcode_v2.txt (15.5 KB, 15 views)
File Type: txt SPY.txt (204.3 KB, 6 views)

Last edited by icm63; 06-09-2009 at 07:14 AM.
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 06-09-2009, 07:15 AM
Member
 
Join Date: Feb 2006
Posts: 63
icm63 is on a distinguished road
Zip file, with more info
Attached Files
File Type: zip README_MQ4_vbnet.zip (165.6 KB, 4 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
  #3 (permalink)  
Old 06-10-2009, 06:42 PM
Member
 
Join Date: Feb 2006
Posts: 63
icm63 is on a distinguished road
Work done, via website : GetAFreeLancer.com

It was a real beast !
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

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
VT to MT4 conversion Beno General Discussion 12 06-10-2008 04:30 PM
Conversion Calculator for Moving averages spiritbreezer Metatrader 4 0 11-26-2007 11:54 AM
Mql2Mq4 Conversion Tool Beta V0.2 yousky Tools and utilities 33 10-20-2006 09:59 AM
4 Hr Expert very profitable needs conversion saslam Expert Advisors - Metatrader 4 8 09-24-2006 12:57 PM
MQLII to MQL4 conversion and vice versa! codersguru Suggestions for Trading Systems 18 06-02-2006 05:07 PM


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



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