Expert Advisor Please!!.

If you don't know where to start, start here! Don't be afraid to ask questions.

Moderator: moderators

cal
rank: <50 posts
rank: <50 posts
Posts: 1
Joined: Sat May 09, 2009 1:40 pm
Reputation: 0
Gender: Male

Expert Advisor Please!!.

Postby cal » Mon May 11, 2009 3:27 pm

Hello, I would like someone to code the following: I will open the trade. Expert advisor will close trade on first bar MA cross period 4 and period 8 (slow). Thats all. The Expert will then wait for the next opened trade then close on ma cross. EXPERT ONLY CLOSES THE TRADE. Can this be done?
Thanks in advance
Cal

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.

User avatar
rowdy
rank: 150+ posts
rank: 150+ posts
Posts: 157
Joined: Fri Feb 20, 2009 1:22 pm
Reputation: 0
Location: Murfreesboro, Tennessee
Gender: Male

Postby rowdy » Mon May 11, 2009 5:01 pm

Go to www.mql4.com and read the book section. This is very well written even for non-programmers. Writing EAs is a lot of work, but you can do it. Your other alternative is to pay someone to write it. Use google and you can find people that will do it.

User avatar
blubbb
rank: 150+ posts
rank: 150+ posts
Posts: 219
Joined: Mon Sep 29, 2008 8:07 pm
Reputation: 0
Location: Europe
Gender: Male

Postby blubbb » Tue May 12, 2009 5:35 pm

Something like this? Try it on a demo. You can set a fixed time frame so you still can switch between time frames in MT4 and nothing should happen. Look into the code, it is rather easy to understand.

BUT TRY IT ON A DEMO FIRST!
Attachments
Blubbb_Close_on_EMA4_8_cross.mq4
(1.76 KiB) Downloaded 20 times

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.


Return to “beginners forum”