Forex
Google
New signals service!

Go Back   Forex Trading > Programming > Metatrader Programming


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 (1) Thread Tools Display Modes
  #711 (permalink)  
Old 02-20-2008, 04:15 PM
Member
 
Join Date: Oct 2006
Posts: 71
Big Be is on a distinguished road
Help with EA errors

Whammo,
Where is your start() function?
Operations, except variable initialization, generally have to be inside a function.

Which EA are you copying? (There are some ideas I would like to examine in there.)

Big Be
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #712 (permalink)  
Old 02-20-2008, 08:37 PM
Junior Member
 
Join Date: Dec 2007
Location: Poland, Warsaw
Posts: 6
janekpietrzyk is on a distinguished road
To Big Me

Hi, I solved my problem using iMaOnArray. Thanks for your help!

By the way if U could post any EA, that would open multiple positions, with the part of code U were refering to a few days ago - it would be great.

Regards,
J
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #713 (permalink)  
Old 02-21-2008, 05:16 AM
etrade's Avatar
Senior Member
 
Join Date: Aug 2007
Posts: 266
etrade is on a distinguished road
Question

Can anyone let me know how can i change this code

SetIndexStyle(0,DRAW_ARROW);
SetIndexArrow(0, 233);
SetIndexStyle(1,DRAW_ARROW);
SetIndexArrow(1, 234);
SetIndexStyle(2,DRAW_ARROW);
SetIndexArrow(2, 233);
SetIndexStyle(3,DRAW_ARROW);
SetIndexArrow(3, 234);


to change arrow shapes to dots, circle, and other available shapes

In fact, I need to know the codes for such signals
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #714 (permalink)  
Old 02-21-2008, 05:48 AM
Member
 
Join Date: Apr 2007
Posts: 88
newmont is on a distinguished road
Give this a try

"This is the mt4 site that contains the info that you are after, the arrows and shapes are listed with the number to enter for the required object.Wingdings - MQL4 Documentation
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #715 (permalink)  
Old 02-21-2008, 08:05 AM
Dan7974's Avatar
Senior Member
 
Join Date: Jul 2006
Posts: 264
Dan7974 is on a distinguished road
Help me please!

Everyone,

I have a question:

1)I have this indicator. Every bar, I need to delete that indicator, and attach it to the chart again. If I don't do this, it shows different results. I am trying to code an EA for this indicator, and I don't know how to make the EA take off the indi. and attach it again, so that the data refreshes. I tried RefreshRates(); and it didn't work either. What could be the problem?

Thank you!!!!!!!!!!!!
__________________
God Bless Everyone, and their trading logic.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #716 (permalink)  
Old 02-21-2008, 08:13 AM
Administrator
 
Join Date: Sep 2005
Posts: 16,816
Blog Entries: 145
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
Which indicator?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #717 (permalink)  
Old 02-21-2008, 08:36 AM
Dan7974's Avatar
Senior Member
 
Join Date: Jul 2006
Posts: 264
Dan7974 is on a distinguished road
Lukas1 MA-4Hcolormodified
__________________
God Bless Everyone, and their trading logic.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #718 (permalink)  
Old 02-21-2008, 08:44 AM
jatki24300's Avatar
Senior Member
 
Join Date: Feb 2007
Location: Texas
Posts: 109
jatki24300 is on a distinguished road
Post Indicator

Dan can you post the indicator I do not have that one in my collection. Thanks. Jatki24300
__________________
I have not mastered any language.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #719 (permalink)  
Old 02-21-2008, 09:02 AM
Dan7974's Avatar
Senior Member
 
Join Date: Jul 2006
Posts: 264
Dan7974 is on a distinguished road
Quote:
Originally Posted by jatki24300 View Post
Dan can you post the indicator I do not have that one in my collection. Thanks. Jatki24300

Does anyone know how to fix the problem?
__________________
God Bless Everyone, and their trading logic.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #720 (permalink)  
Old 02-21-2008, 10:17 AM
jatki24300's Avatar
Senior Member
 
Join Date: Feb 2007
Location: Texas
Posts: 109
jatki24300 is on a distinguished road
Indicators

Lukas......
Attached Files
File Type: mq4 MTF_MA-4H.mq4 (5.0 KB, 5 views)
File Type: mq4 lukas1.mq4 (7.1 KB, 6 views)
__________________
I have not mastered any language.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Tags
candle time, CHinGsMAroonCLK, coders guru, expert advisor, forex, how to code, I_XO_A_H, mechanical trading, trading

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

LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/metatrader-programming/554-how-code.html
Posted By For Type Date
Need an experienced programmer? - Page 2 Post #0 Refback 09-24-2008 07:24 AM

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to code this? iscuba11 Metatrader 4 mql 4 - Development course 1 08-03-2007 05:22 PM


All times are GMT. The time now is 10:19 AM.



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