Go Back   BabyPips.com Forex Forum > Main Discussion > Forextown
Forextown The magical town where all traders can gather together to discuss anything and everything about the Forex. Also, check out our main Forex site for more Forex goodness.

Welcome to the BabyPips.com forum!

You are currently viewing our boards as a guest which allows you to view the discussions, but prevents you from contributing. By joining our FREE community you will be able to do all of the following:

  • Post topics & responses to other discussions
  • Communicate privately with other members (PM)
  • Respond to polls
  • Upload content
  • Post comments on our blogs
  • Contribute on our Forexpedia

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.



Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-15-2007, 09:27 PM
 

Join Date: Mar 2007
Posts: 2
Default MetaTrader Writing Tutorials?

Hey,

I'm new to this but I'm experienced in c++ and java (similar languages to MetaTrader's scripting language).

I'm trying to find a good introduction to EA programming, but so far I haven't found anything satisfactory.

I tried CodeGuru's, but frankly those tutorials are full of errors and are virtually unreadable.

Does anyone have links?

Thanks
Reply With Quote
  #2 (permalink)  
Old 03-17-2007, 06:47 PM
Newbie
 

Join Date: Mar 2007
Posts: 16
Default

newbii,

I'm learning the MetaTrader script language too, its REALLY easy. I don't have any links, I have been looking into other scripts & looking into their documentation. Do you have any specific questions, I should be able to answer them. Its a very simplistic language, just figure out how to draw lines for charts first (Index Buffers), then look at their functions for trading (SelectOrder, PlaceOrder, etc). Even when I download a "complex" EA's I see it's usually nothing more than 100 different conditions and a math equation...

Jeff.
Reply With Quote
  #3 (permalink)  
Old 03-21-2007, 01:26 AM
 

Join Date: Mar 2007
Posts: 2
Default

Quote:
Originally Posted by webjeff View Post
newbii,

I'm learning the MetaTrader script language too, its REALLY easy. I don't have any links, I have been looking into other scripts & looking into their documentation. Do you have any specific questions, I should be able to answer them. Its a very simplistic language, just figure out how to draw lines for charts first (Index Buffers), then look at their functions for trading (SelectOrder, PlaceOrder, etc). Even when I download a "complex" EA's I see it's usually nothing more than 100 different conditions and a math equation...

Jeff.
Hi Jeff,

Actually I was just having trouble with the whole idea of bars. Now that I have that down, everything makes a lot more sense .

One question, though:

I have a function like this:

int func( double& arr[] )
{
return 0;
}

But when I try to call it via:
func( Close );

The compiler yells at me (says something about a type mismatch even though the docs say Close is a double array). Could you help ?

Thanks
Reply With Quote
  #4 (permalink)  
Old 08-22-2007, 03:11 AM
Junior Member
 

Join Date: May 2007
Posts: 54
Default

i am confused.. so is the script language used for creating EAs and this separate from the APIs?

thanks.
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

BB 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


All times are GMT -4. The time now is 01:00 AM.
Content Relevant URLs by vBSEO 3.2.0
"Decide that you want it more than you are afraid of it."
Bill Cosby