Forex
Google

Go Back   Forex Trading > Downloads > Tools and utilities
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 05-21-2007, 03:02 PM
iscuba11's Avatar
iscuba11 iscuba11 is offline
Senior Member
 
Join Date: May 2006
Location: Houston
Posts: 400
iscuba11 is on a distinguished road
Smile Programming Modules

I have made notes as I have learned the hows on coding. I am sharing them with the forum. Please add additional examples to programming different things in a indicator or EA to this thread. To view the different modules, you will have to have Microsoft Word after you unzip the file. I hope these notes and examples will help someone trying to code this language.

Dave
Attached Files
File Type: zip Programming Notes.zip (305.1 KB, 395 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-21-2007, 05:46 PM
EbenB's Avatar
EbenB EbenB is offline
Member
 
Join Date: Mar 2007
Location: Cape Town
Posts: 35
EbenB is on a distinguished road
Programming notes

Thanks Dave,

Thanks for your notes. It's very clear.

I will let you have my notes soon - also studying code to eventually develop my own "private" EA.

BTW: If you look like the one in your avatar, you can have my car!

Keep well.

EbenB
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-21-2007, 07:29 PM
iscuba11's Avatar
iscuba11 iscuba11 is offline
Senior Member
 
Join Date: May 2006
Location: Houston
Posts: 400
iscuba11 is on a distinguished road
Smile

I do not look like this yet, but my alter ego is Einstein (Like Einstein and Thomas Edison, I can tell you of at least 2,000 things that do not work that relate to EA's!).

You can see me at my website: www.lulu.com/HOWTOHEAL.

Please add your notes and examples for helping your brother programmers out.

Peace!

Dave
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 05-21-2007, 08:09 PM
crazybunny crazybunny is offline
Member
 
Join Date: Nov 2005
Posts: 61
crazybunny is on a distinguished road
Smile thanks dave

thanks dave
sure it is very useful
thanks for sharing
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 05-29-2007, 03:31 PM
EbenB's Avatar
EbenB EbenB is offline
Member
 
Join Date: Mar 2007
Location: Cape Town
Posts: 35
EbenB is on a distinguished road
Quote:
Originally Posted by iscuba11
I do not look like this yet, but my alter ego is Einstein (Like Einstein and Thomas Edison, I can tell you of at least 2,000 things that do not work that relate to EA's!).

You can see me at my website: www.lulu.com/HOWTOHEAL.

Please add your notes and examples for helping your brother programmers out.

Peace!

Dave
Hi Dave,

Had a look at your photo on the web-site. There's not much of a difference.....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 06-04-2007, 02:12 PM
iscuba11's Avatar
iscuba11 iscuba11 is offline
Senior Member
 
Join Date: May 2006
Location: Houston
Posts: 400
iscuba11 is on a distinguished road
Smile

God still loves me no matter what I look like! Soon I shall up be up with God in His Kingdom - Hope you are ready also??


Dave
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 06-19-2007, 09:47 PM
jimven's Avatar
jimven jimven is offline
Senior Member
 
Join Date: Mar 2007
Location: Upstate New York
Posts: 116
jimven is on a distinguished road
It makes no difference what you look like...you look fine. I'm older yet, but you wouldn't know it by my Avatar! HA!

Anyway, it sounds like a fine work you're doing! Keep up the good work for the Kingdom of God!

Jesus is the only one who can bring prosperity into your life, if He wills...even in the FOREX market. I give Him credit when I succeed and when I fail.

And I work hard at it. I think I've got a profitable EA through forwardtesting. Most of the ideas in it are kind of a gift from God, but you still have to work.
__________________
Success is more perspiration than inspiration . . .
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 11-26-2007, 03:44 PM
cyberpasta cyberpasta is offline
Junior Member
 
Join Date: May 2007
Posts: 15
cyberpasta is on a distinguished road
Hi!! I'm learning mq4. I've coded a littel EA and I'd like to add a "RSI protect", something like: If RSI>90 and odertype=op_BUY and orderprofit>=X pips move SL to +X". I've been trying but I don't get that I want. Any help?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 12-10-2007, 08:17 PM
fuzzbomb fuzzbomb is offline
Junior Member
 
Join Date: Jul 2007
Posts: 6
fuzzbomb is on a distinguished road
Easy Expert Functions - Include file

While coding my own experts, I realized that the process for opening/closing orders, etc. is pretty much the same every time, and I kept reusing the same code every time I wanted to try a new strategy.

Instead of having to write new code each time to open and close orders, I decided to write an include file with functions that will do it automatically, and keep track of the state of opened/closed orders, trailing stops, adding to profitable positions and hedging.

The end result is that it takes minutes to code an EA to try out a new strategy using different indicators. That way, the programmer can concentrate on coding buy/sell logic instead of dealing with routine actions.

Try it out, modify it and let me know if you like it or have any suggestions.
Attached Files
File Type: mqh EasyExpert.mqh (16.0 KB, 108 views)
File Type: mq4 EasyExpert MA Cross.mq4 (783 Bytes, 87 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 12-10-2007, 11:42 PM
wolfe's Avatar
wolfe wolfe is offline
Senior Member
 
Join Date: Jan 2006
Posts: 673
wolfe is on a distinguished road
Nice work fuzzbomb! I also use an include file for coding, it cuts down on a lot of redundant coding. It's the only way to go! Especially when testing new ideas. Thanks for sharing, this will help a lot of people if they use it.
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
Need Help Programming EA mikejody Metatrader 4 0 05-15-2007 03:26 PM
Please Help In Programming Ea Goen Questions 0 05-04-2007 07:18 PM
Programming My First EA - - - ???? resalin Setup Questions 4 05-03-2007 03:06 PM


All times are GMT. The time now is 09:39 AM.