ExpertAdvisorBuilder Forum Index ExpertAdvisorBuilder
ExpertAdvisorBuilder Forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Guide(Old thread)
Goto page 1, 2  Next
 
Post new topic   Reply to topic    ExpertAdvisorBuilder Forum Index -> ExpertAdvisorBuilder Forum
View previous topic :: View next topic  
Author Message
S.B.T.
Site Admin


Joined: 30 Dec 2005
Posts: 73
Location: Japan

PostPosted: Fri Dec 30, 2005 9:57 pm    Post subject: Guide(Old thread) Reply with quote

This Guide already had been old.
Check new Guide out now, please.


MetaTrader 4 makes you enable to create original trading systems by MetaQuotes Language.
However, it' not easy for you who haven't had experience of programming, because MetaQuotes Language has a specification looked like C very well.
So, I produced this Expert Advisor Builder for such you.
I wish this Expert Advisor Builder to be useful for your creating trading systems, your studying MetaQuotes Language, or your testing strategies, etc.

Now, I easily explain the usage of Expert Advisor Builder.

Overview:
1.Click Add under Buy logics, Sell logics, Close(Buy) logics, or Close(Sell) logics from Logics(To delete the created logic, Click Del).
2.When you click them, the form to set logic is displayed.
3.Please choose the boolean, the indicator(Left), the comparison operator, and the indicator(Right) from the displayed form(The boolean is'nt valued in the first logic of each item).
4.When you choose the indicator, the form to input parameters is displayed.
5.Please input parameters to the displayed form.
6.And fill the form required repeatedly.
7.Then Input the setting concerning the order with Order.
8.When you click the Complete! button, you can download the source code which is created automatically.

About the setting Logics:
・Basically, the indicators you can choose in the indicator form is them installed in MetaTrader 4 by the standard.
・To use indicators are not installed by the standard, please choose Custom Indicator, and input the name of the indicator(file name except the extension) and parameters.
・Major custom indicators are already added to the indicator form.
・To use the custom indicators, the .ex4 file of the indicator should exist in C:\Program Files\MetaTrader 4\experts\indicators\(When MetaTrader 4 is installed in C:\Program Files\MetaTrader 4\).
Close, Hihg, Low, Open means a closing price (or a current price), a high price, a low price, and an opening price.
・Please choose Number/Variable, when you'd like to input the numerical value directly.
・The parameters displayed in the parameter form are the same as them you usually input in MetaTrader 4.
・There are Symbol, Timeframe, Mode and Shift as the parameters MetaTrader 4 doesn't have(Only a part of indicators has Mode).
・In Symbol, please choose the currency pair(brand) used to calculate the indicator.
・In Timeframe, please choose the time period used to calculate the indicator.
・When you'd like to use the currency pair(brand)/the time period of the chart that Expert Advisor is attached to, please choose Current in Symbol, Timeframe.
・In Mode, please choose the line used for the logic when the indicator has two or more lines.
・In Shift, please input the number of periods back from the current bar.
・If you input 0 in Shift, the value of the current indicator is used for the logic.
・If you input 1 in Shift, the value of the previous indicator of one is used for the logic.
・Similarly, the value of the indicator before the input numerical value is used for the logic.

About the setting Order options:
・In SignalMode, please choose which you'd like to have signals(orders).
Each Tick means signals are executed whenever the rate changes.
Complete Bar means signal are executed only when bar is completed.
・Even when you choose Each Tick, it's only once that some signals(orders) in the same bar is executed.
・Similarly, even when you choose the Each Tick, any signal(BUY, SELL, and CLOSE) is never executed at the same time(and two or more times).
・Exceptionally, only the Entry order after the Exit order is immediately executed(this is for Reversal orders).
Lots, Slippage, StopLoss, TakeProfit, and TrailingStop means them to a order.
・You can choose Use or Non-use by pull-down menu.


Last edited by S.B.T. on Tue May 05, 2009 8:55 am; edited 19 times in total
Back to top
View user's profile Send private message Visit poster's website
smitht7993



Joined: 03 Jan 2006
Posts: 4

PostPosted: Tue Jan 03, 2006 9:36 am    Post subject: Reply with quote

Hi S.B.T.,

Looks like the beginning of a great MT4 forum.

Is it possible that you clean up your post. From the beginning of "About the setting Logics:" it is not readable.

Thanks,
Tom Very Happy
Back to top
View user's profile Send private message
S.B.T.
Site Admin


Joined: 30 Dec 2005
Posts: 73
Location: Japan

PostPosted: Tue Jan 03, 2006 11:00 am    Post subject: Reply with quote

a Happy new year to smitht7993, and all.

Tutorial isn't complete yet.
The part you cannot read is written by my mother tongue.
I'm translating Tutorial into English now.
(Though it's slowly because I'm not good at writting English...)

Please wait a little more.

Thanks


S.B.T.
Back to top
View user's profile Send private message Visit poster's website
smitht7993



Joined: 03 Jan 2006
Posts: 4

PostPosted: Tue Jan 03, 2006 11:11 am    Post subject: Reply with quote

Thank you S.B.T.

Happy New Year to you as well!

If I may help proof read the english side let me know.
Back to top
View user's profile Send private message
magpie



Joined: 24 Jan 2006
Posts: 1

PostPosted: Tue Jan 24, 2006 4:27 pm    Post subject: Multiple lots exits Reply with quote

Hi,

Really interesting idea! Obviously a lot of work went into the EA builder, which is much appreciated!

My question is:

is there a way of having multi exits? For example an entry long at 1.2000 with 3 lots, then exit 1st lot after 50 pips, 2 lots after 100 pips, then let the last lot run until your preferred exit criteria is met?

thanks,

Magpie
Back to top
View user's profile Send private message
S.B.T.
Site Admin


Joined: 30 Dec 2005
Posts: 73
Location: Japan

PostPosted: Tue Jan 24, 2006 9:32 pm    Post subject: Reply with quote

Hi,

EA Builder doesn't support multiple entries/exits.
However, It's possible for you to create such strategies.
I suggest that you are able to do it by the following way.
It's the way of creating/runnning 2(or more) EAs.

One is EA that makes entry long at 1.2000 with 1lot, then makes exit with 1lot after 50pips.
Another is EA that makes entry long with 2lots, then makes exit with 2lots after 100pips.



S.B.T.
Back to top
View user's profile Send private message Visit poster's website
showmethetrade



Joined: 13 Apr 2006
Posts: 7

PostPosted: Thu Apr 13, 2006 7:08 am    Post subject: Reply with quote

SBT,
I completed an EA but could not save it in mt4 format. please assist.
Back to top
View user's profile Send private message
S.B.T.
Site Admin


Joined: 30 Dec 2005
Posts: 73
Location: Japan

PostPosted: Thu Apr 13, 2006 11:08 am    Post subject: Reply with quote

Hello, showmethetrade.

After filling the required form of EA Builder, press 'Complete!' button.
The download of the EA you created will be begun.
Then compile the EA by MQL Editor and attach it to the chart, or test it on strategy-tester.

If you haven't allowed the executed of JavaScript by your browser, allow it.
However if it is useless, tell me your OS/Browser and their version, please.
(I checked EA Builder on IE6/FireFox 1.5/Netscape 7/Opera 8 with XP sp2.)


S.B.T.
Back to top
View user's profile Send private message Visit poster's website
showmethetrade



Joined: 13 Apr 2006
Posts: 7

PostPosted: Thu Apr 13, 2006 11:16 am    Post subject: Reply with quote

S.B.T
Thanks; It worked.
Back to top
View user's profile Send private message
GoatT



Joined: 28 Jun 2006
Posts: 3

PostPosted: Thu Jul 20, 2006 9:35 am    Post subject: Re: Guide Reply with quote

・Even when you choose Each Tick, it's only once that some signals(orders) in the same bar is executed.
・Similarly, even when you choose the Each Tick, any signal(BUY, SELL, and CLOSE) is never executed at the same time(and two or more times).
・Exceptionally, only the Entry order after the Exit order is immediately executed(this is for Reversal orders).


Can you expand on this a bit SBT? I have an EA I made (buy when 5 ema crosses above 13 ema) and I'd like the opposite to happen too (sell when 5<13)...how would I have to set it up to make that happen??

I attached the EA if it helps....seems to work great with buy orders.
Back to top
View user's profile Send private message
p3trucc1



Joined: 27 Mar 2007
Posts: 3
Location: Indonesia

PostPosted: Thu Mar 29, 2007 2:36 am    Post subject: HELP ME please !! Reply with quote

hey, anybody know how to convert RSI period 7 ( input level 10,20,50,80 and 90).
I want to make it for my signal.
If RSI 7 line position is between 10 - 20 for buy signal. and RSI 7 line position is between 80 - 90 for sell signal.

please help me Smile
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
rosst



Joined: 06 Jul 2006
Posts: 1

PostPosted: Wed Apr 25, 2007 4:51 am    Post subject: Back Testing Reply with quote

Do these EA's Backtest with Stragedy Tester?
Back to top
View user's profile Send private message
p3trucc1



Joined: 27 Mar 2007
Posts: 3
Location: Indonesia

PostPosted: Wed Apr 25, 2007 11:01 pm    Post subject: RSI Reply with quote

I'm confused with strategy tester.... Sad
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
Pram_zip



Joined: 07 Dec 2007
Posts: 1

PostPosted: Fri Dec 07, 2007 6:18 pm    Post subject: try wiyh Parabolic SAR Reply with quote

Hi,

I'm newbie on EA,and try build Expert Advisor with EA builder

I try to use Parabolic SAR in my EA and I'm following the step on guide,but after I tried it it can't work.

Could you help me or give me an example EA with paraboli SAR??


Tx u
Very Happy
Back to top
View user's profile Send private message
matrixebiz



Joined: 07 Dec 2006
Posts: 2

PostPosted: Tue Jan 29, 2008 11:26 pm    Post subject: Reply with quote

S.B.T. wrote:
Hi,

EA Builder doesn't support multiple entries/exits.

S.B.T.

Please explain.
I want the EA to check multiple iCustom indicator entries and when all agree on a Buy at the same time to place a trade. Can I use this Builder? Would I do this under Buy and Sell logics? I would just add three or four indicators for each?
Thank you
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ExpertAdvisorBuilder Forum Index -> ExpertAdvisorBuilder Forum All times are GMT + 9 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group