Forex
Google

Go Back   Forex Trading > Metatrader Training > Metatrader 4 mql 4 - Development course > Questions
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 (2) Thread Tools Display Modes
  #361 (permalink)  
Old 09-16-2006, 04:22 PM
newdigital newdigital is online now
Administrator
 
Join Date: Sep 2005
Posts: 15,436
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
I don't understand predeterming and determing but i think it is Codersguru's EA . EMAcross. There are many EAs based on MAs. A lot. So try to look at this. I may create but it was create already and it was create many times:

- This section for example,

- ema help and

- EMA CROSS upgrade...coders guru please help and

- Ema Cross! and

- Universal MA Cross EA

Or just check some EAs which i created using Gordago tool about two months ago:

1. ma_expert.mq4 is simple ema crossing;

2. MA_ExpertProfit.mq4: it is the same EA but it will close the orders in s/l or t/p only.

3. MA_ExpertProfit_all.mq4: it will close the order on s/l or t/p, or on the other crossing signal. This EA should work on particular account only. Just change the line "int Account = 111111;" to your account number inside the code. For example your account is 1235463. So this line should be like this:
int Account = 1235463;

4. MA_ExpertProfit_noacc.mq4: it is the same with item # 3. But without any account and it may work in any account (i mean account in Metatrader).

I am not sure that those EAs will work well as i am not a coder.

So the better way is just to check some links posted above for Codersguru EAs.
Attached Files
File Type: mq4 ma_expert.mq4 (4.9 KB, 35 views)
File Type: mq4 MA_ExpertProfit.mq4 (7.0 KB, 33 views)
File Type: mq4 MA_ExpertProfit_all.mq4 (7.2 KB, 31 views)
File Type: mq4 MA_ExpertProfit_noacc.mq4 (7.0 KB, 29 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #362 (permalink)  
Old 09-16-2006, 07:18 PM
Eaglehawk's Avatar
Eaglehawk Eaglehawk is offline
Senior Member
 
Join Date: Jun 2006
Posts: 141
Eaglehawk is on a distinguished road
Question newdigital, could i ask of assistance

hey newdigital, do you happen to have an answer to problem i mentioned earlier?

Quote:
Originally Posted by Eaglehawk
with this custom indicator buisiness, maybe i'm just not understanding what right in front of me, but i am having troubles finding where i could add a function to determine the value of a line made in an indicator i've been working on.

with my second most recent bit of code i've made, "the day off safety detector" I've thought about working on making an indicator for my advert to interbank's holidays, it has functions there that i had been able to work on so far.

now for what i have done, i've looked through codersguru's lessons #'s 10-12, and i've worked throught what i could understand, (which frankly stopped around the middle of part 3 , (lesson 12) and one trouble area on an integer issue in part two, that is clarified in the begining of the indicator i've been working on, posted here)
i also, lastly forgot to mention one problem, once i have the indicator, i'm not sure how to get it into the ea. i've looked over the forem and found one place where you addressed it was in codersguru's lessons, could you possible clarify which lesson it's in?

thanks in advance, Eaglehawk
__________________
"One's ability to accomplish his or her goals is limited only by the ingenuity of how one uses what he or she already knows."- Eaglehawk
REMEMBER,
"Genius is nothing but a greater aptitude for patience." –Benjamin Franklin

____________________________________

Have a simple ea you just can't figure out how to code??? Odds are you can make it here. Just remember to push complete when you're done, NOT SAVE!!!

http://sufx.core.t3-ism.net/ExpertAdvisorBuilder

Last edited by Eaglehawk : 10-21-2006 at 05:36 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #363 (permalink)  
Old 09-16-2006, 11:37 PM
jth jth is offline
Junior Member
 
Join Date: Aug 2006
Posts: 24
jth is on a distinguished road
thanx newdigital

thanx newdigital for your help and input
Regards
JTH

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #364 (permalink)  
Old 09-17-2006, 05:35 AM
richx7 richx7 is offline
Member
 
Join Date: Dec 2005
Posts: 72
richx7 is on a distinguished road
An Interview with CodersGuru Ahmed Soliman :

http://championship.mql4.com/2006/news/15

He is currently busy Making EAs for the championship in October and writing a book on MT4 EA programming.

Last edited by richx7 : 09-17-2006 at 09:23 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #365 (permalink)  
Old 09-17-2006, 08:42 AM
adria adria is online now
Member
 
Join Date: Dec 2005
Posts: 59
adria is on a distinguished road
iCustom for TD_Points&Line_Auto indicator

How to write the iCustom for TD_Points&Line_Auto indicator.
I would like that EA opens the buy/sell orders when the price crosses
the trendlines TD_Up/TD_Dn.
Attached Files
File Type: mq4 TD_Points&Line_Auto.mq4 (9.5 KB, 29 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #366 (permalink)  
Old 09-17-2006, 09:17 AM
newdigital newdigital is online now
Administrator
 
Join Date: Sep 2005
Posts: 15,436
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
Quote:
Originally Posted by Eaglehawk
hey newdigital, do you happen to have an answer to problem i mentioned earlier?



i also, lastly forgot to mention one problem, once i have the indicator, i'm not sure how to get it into the ea. i've looked over the forem and found one place where you addressed it was in codersguru's lessons, could you possible clarify which lesson it's in?

thanks in advance, Eaglehawk
Eaglehawk,
I am not programmer. I can program something but it takes a long time for me.
Try to look at Codersguru lessons here http://www.metatrader.info/node/34

And there are some thread also:
- icustom
- iCustom function
- Easy iCustom and Alerts!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #367 (permalink)  
Old 09-21-2006, 01:20 PM
markot markot is offline
Junior Member
 
Join Date: Jul 2006
Location: mississauga, ontario
Posts: 4
markot is on a distinguished road
Smile possible improvement on ema cross 2time

I am reposting this here since the original thread on EMA seems inactive for a few weeks.

Hi codersguru!
wonderful work on EAs. I would like to ask if you could ad the following two functions to ema cross v2 time version
1. stop and reverse (with true/false choice)
2. partial close of open lots as price reaches fib levels based on a 55 SMA (levels are 13,-13, 33,-33,55,-55,89-89,144,-144,233,-233)-so many levels to alow for trading in lower time frames.... or perhaps you could add three +/- levels that can be custom set. Also one should be able to set number of lots to close on each level.. In the end if there are still lots opened they should close on S/L, T/S or stop and reverse, whichever comes first.
I think these 2 additions combined with all the awsome options already available in the current version would make this EA a truly universal EA for any sort of MA variations. Thanks for showing us "THE WAY".
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #368 (permalink)  
Old 09-23-2006, 03:11 PM
GreatYves's Avatar
GreatYves GreatYves is offline
Junior Member
 
Join Date: Aug 2006
Posts: 28
GreatYves is on a distinguished road
Help with alert

Hi! I've read the excellent text:Secrets of MetaTrader 4 Client Terminal: Alerting System. This is very good. I have a question.I need to trigger .exe from an EA either for buy, sell, or else. It says we can trigger either a .bat .exe or .vbs instead of the .wav file from the events setup window.. My idea is to have a buy alert and a sell alert trigger different .exe files. Can the PlaySound command can also be used to trigger .exe file from within a .mq4 EA??? I hope my question is clear. Please NewDigital or Codeguru may you answer?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #369 (permalink)  
Old 09-23-2006, 03:18 PM
codersguru's Avatar
codersguru codersguru is offline
Senior Member
 
Join Date: Oct 2005
Posts: 987
codersguru has a spectacular aura aboutcodersguru has a spectacular aura aboutcodersguru has a spectacular aura about
Question Shell script?

Quote:
Originally Posted by GreatYves
Hi! I've read the excellent text:Secrets of MetaTrader 4 Client Terminal: Alerting System. This is very good. I have a question.I need to trigger .exe from an EA either for buy, sell, or else. It says we can trigger either a .bat .exe or .vbs instead of the .wav file from the events setup window.. My idea is to have a buy alert and a sell alert trigger different .exe files. Can the PlaySound command can also be used to trigger .exe file from within a .mq4 EA??? I hope my question is clear. Please NewDigital or Codeguru may you answer?
Please give this article/tool a look:
MetaTrader - Tools - Shell script!
__________________
Hope it helps !
Coders' Guru
Senior MQL programmer:
www.xpworx.com/custom.htm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #370 (permalink)  
Old 09-23-2006, 07:11 PM
GreatYves's Avatar
GreatYves GreatYves is offline
Junior Member
 
Join Date: Aug 2006
Posts: 28
GreatYves is on a distinguished road
Can't reach it! I registred metatrader.info but i don't seem to have acces yet.
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

LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/questions/270-ask.html
Posted By For Type Date
OzFx System:) - Page 639 This thread Refback 06-21-2008 09:53 PM
Forex SRDC Sidus Sibkis EA MT4 Forum OTCSmart This thread Refback 12-08-2007 11:46 AM


All times are GMT. The time now is 01:35 PM.