this ea builder does not work
  #11 (permalink)  
Old 04-25-2007, 08:15 PM
Freshman
 
Join Date: Mar 2007
Posts: 19
Thanks: 0
Thanked 1 Time in 1 Post
forex9 is on a distinguished road
Default this ea builder does not work

Quote:
Originally Posted by scorpion View Post
Somebody has coded an online version of auto mql builder for mt4. Check it out at Expert Advisor Builder for MetaTrader 4

Is online version easier to use?
it dont work, dont waste your time
Reply With Quote
  #12 (permalink)  
Old 05-08-2007, 08:34 PM
Sophomore
 
Join Date: Jul 2006
Posts: 39
Thanks: 2
Thanked 3 Times in 3 Posts
Bill R is on a distinguished road
Default

That's been out for a while. It works, once you get tha hang of it's usage.
Reply With Quote
  #13 (permalink)  
Old 05-10-2007, 03:31 AM
Sophomore
 
Join Date: Jul 2006
Posts: 39
Thanks: 2
Thanked 3 Times in 3 Posts
Bill R is on a distinguished road
Default

I have a small routine to trace wins/losses when they get erased from a chart:

ObjectsDeleteAll( EMPTY, OBJ_TREND );
for( i = 0; i < HT; i++ )
if( OrderSelect( i, SELECT_BY_POS, MODE_HISTORY ) )
{
ObjectCreate( "TrendH"+i, OBJ_TREND, 0, OrderOpenTime(), OrderOpenPrice(), OrderCloseTime(), OrderClosePrice());
ObjectSet( "TrendH"+i, OBJPROP_WIDTH, 2 );
ObjectSet( "TrendH"+i, OBJPROP_RAY, False );
ObjectSet( "TrendH"+i, OBJPROP_STYLE, STYLE_DOT );
if ( OrderType()==OP_BUY )
if ( OrderOpenPrice() < OrderClosePrice() ) ObjectSet( "TrendH"+i, OBJPROP_COLOR, Green );
else ObjectSet( "TrendH"+i, OBJPROP_COLOR, Red );
else if ( OrderType()==OP_SELL )
if ( OrderOpenPrice() > OrderClosePrice() ) ObjectSet( "TrendH"+i, OBJPROP_COLOR, Green );
else ObjectSet( "TrendH"+i, OBJPROP_COLOR, Red );
}

Of course, anybody can use any of this that you want in your EA.

Problem is, I'd like the OBJPROP_STYLE line to function and it doesn't. Does anybody know of a resource that tells you which properties apply to which objects? You'd think STYLE applies to trendline object types, but it doesn't seem to, unless there's still another property that turns this one on/off. Any help would be appreciated.
Reply With Quote
  #14 (permalink)  
Old 05-10-2007, 03:34 AM
Sophomore
 
Join Date: Jul 2006
Posts: 39
Thanks: 2
Thanked 3 Times in 3 Posts
Bill R is on a distinguished road
Default

Sorry - you also need:

int i = 0;
int HT = OrdersHistoryTotal();

(I know anybody who uses this should be able to figure this out, but...)
Reply With Quote
a good link to learn
  #15 (permalink)  
Old 05-12-2007, 06:44 PM
Freshman
 
Join Date: Sep 2006
Posts: 8
Thanks: 4
Thanked 4 Times in 1 Post
misfx is on a distinguished road
Default a good link to learn

Quote:
Originally Posted by scorpion View Post
How come?

Maybe you're a coder?
I wouldn't call myself a coder, but I do write my own EA's. Here is the most complete manual of MQL4 that I know of:
http://www.networksimplicity.com/met...ql4-manual.pdf

Hope it helps and thank you for the good work you do.
If it doesn't work as a link, just go to the site and look for a manual. It is great. Good luck guys!

Last edited by misfx : 05-12-2007 at 06:46 PM. Reason: addition
Reply With Quote
The Following 4 Users Say Thank You to misfx For This Useful Post:
New here
  #16 (permalink)  
Old 05-12-2007, 11:46 PM
Freshman
 
Join Date: May 2007
Posts: 3
Thanks: 3
Thanked 0 Times in 0 Posts
davidbeh is on a distinguished road
Smile New here

Hi scorpion

Im David beh me very in this forum can you tell me where to start if i want to ask about fx mt4 setting of GBP/USD entry to buy and sell signal.

Thanks and cheers

Beh


Quote:
Originally Posted by scorpion View Post
Hi alertfx, other members may know, but I don't. Since the syntax looks familiar, I just know how to code.

In fact somebody answered this question already, so you may want to search the forum for it.

Good luck!
Reply With Quote
  #17 (permalink)  
Old 05-14-2007, 06:45 AM
Sophomore
 
Join Date: Jul 2006
Posts: 39
Thanks: 2
Thanked 3 Times in 3 Posts
Bill R is on a distinguished road
Default

Hey Scorp - do you know why, if I can make a trend line into a ray, change it's color, etc., I can't set it to dot or dot-dash? Any reason why this won't work?

Misfx - I haden't seen that manual, but I have it now. Thanks. - Bill
Reply With Quote
  #18 (permalink)  
Old 05-20-2007, 03:56 PM
Freshman
 
Join Date: Jan 2007
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Melpheos is on a distinguished road
Default

the online version has greatly evolved now, it's now version of 24 apr 2007 and can actually produce working EA (i did not say profitable)
Reply With Quote
  #19 (permalink)  
Old 12-11-2007, 10:58 AM
Freshman
 
Join Date: Nov 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Jovager is on a distinguished road
Default

I have an EA with SL=50.

I will change it to have : SL =50 OR MACD < Previous MACD (example).

How code it ?

Thanks in advance.

Jo
Reply With Quote
  #20 (permalink)  
Old 12-14-2007, 06:46 PM
bossxero's Avatar
Forex Leader
 
Join Date: Nov 2006
Posts: 412
Thanks: 95
Thanked 79 Times in 49 Posts
bossxero will become famous soon enoughbossxero will become famous soon enough
Send a message via ICQ to bossxero Send a message via MSN to bossxero Send a message via Yahoo to bossxero Send a message via Skype™ to bossxero
Default

Quote:
Originally Posted by Jovager View Post
I have an EA with SL=50.

I will change it to have : SL =50 OR MACD < Previous MACD (example).

How code it ?

Thanks in advance.

Jo
Where are the codes? Pasted the code of the ea here and we can help you out.
__________________
F r e e___F o r e x___E b o o k s___a n d___S t u f f s

-> Cheap MQL Coding service for your EA/indicator is Here <- <-

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
ZeroCode Sample: Create "10-Minute" Strategy Expert scorpion Tutorials, Tips & Tricks 16 04-13-2008 11:29 PM
ZeroCode Expert Running 3 Majors (?) Scicronys MetaTrader and ZeroCode 8 12-12-2007 08:58 AM
Support and Resistance Expert Advisor suffic369 Classified Ads 2 07-03-2006 06:57 AM
Calling out an expert gazuz MetaTrader and ZeroCode 1 10-21-2005 07:48 AM
Can not get the Expert to work...Help! jimbo61 MetaTrader and ZeroCode 2 08-19-2005 03:57 AM


All times are GMT. The time now is 05:22 AM.
Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0

Registered members have access to special online forex currency trading tools, software, mt4 expert advisors and indicators. Register now