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 Thread Tools Display Modes
  #371 (permalink)  
Old 04-22-2008, 06:53 AM
MANSTIR's Avatar
Member
 
Join Date: Nov 2007
Posts: 93
MANSTIR is on a distinguished road
---my Problem Solved-- Thanks

Last edited by MANSTIR; 04-28-2008 at 04:35 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #372 (permalink)  
Old 04-28-2008, 06:49 PM
Junior Member
 
Join Date: Apr 2008
Posts: 1
manofthecold is on a distinguished road
Sorry i figured this out now. so nvm

Last edited by manofthecold; 04-28-2008 at 07:10 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #373 (permalink)  
Old 05-05-2008, 04:01 AM
MANSTIR's Avatar
Member
 
Join Date: Nov 2007
Posts: 93
MANSTIR is on a distinguished road
a)What is the source code for ( as a filter)?

1-- iPrice Up or iPrice Down

2-- iBar Up or iBar Down

b)can we put 60%/70%/80% iBar Up/Down as a filter?

thanks

regards,

MANSTIR
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #374 (permalink)  
Old 05-06-2008, 10:13 PM
Junior Member
 
Join Date: Oct 2006
Posts: 7
exorcist is on a distinguished road
Problem in writing Metatrader Expert

Hi Guys,

I wrote an expert which works in strategy tester but when i run it on live chart, it doesnt work i.e. no order opens
Do any one has any idea what i am doing wrong?

Regards
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #375 (permalink)  
Old 05-07-2008, 12:06 AM
Senior Member
 
Join Date: Oct 2007
Posts: 216
Dave137 is on a distinguished road
Smile

Open up the expert advisor properties from the graph by right clicking your mouse when the mouse arrow is on the graph. Make sure Allow live trading is checked. You should have a smiley face at the top right of the graph after you close this expert advisor setup box. If you have the smiley face, then it will now trade in real time.

It also pays to check out and experiment with each drop down box of the tool icons above the graph. Good luck!

Dave
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #376 (permalink)  
Old 05-07-2008, 03:38 AM
Junior Member
 
Join Date: Feb 2008
Posts: 3
MMDealer is on a distinguished road
Programmers, Please Read.

Hey guys,

Im looking for a bit of help. Im learning to code, very slowly, however i was just looking for advice as to how i can write the following EA.

I have been trading this live for a couple of months now, with alot of success.

Apply a 6EMA to the Batfink Trend Change Indicator. On the 4hr chart on your pair of choice (i prefer GBPUSD and GBPJPY):

Short when 6EMA slope changes from positive to negative

Long when 6EMA slope changes from negative to positive.

Im looking for an EA that can enter on these signals immediately, with 2 lots on each order, so the TP's can be managed. External Variable on the following would be great, to chnage up the EA on each pair traded:

- Initial Stop Size
- Initial TP on 1st lot
- Initial TP on 2nd lot
- Point at which Trailing stop is applied. (ive been doing this when first TP is hit)
- Depth of Trailing Stop

The indicator is attached, the 6EMA has to be overlayed. Thanks ALOT to anyone who can take the time to help with this code. I think it is very promising as a set and forget system.

Cheers,
Mitch.
Attached Images
File Type: jpg IndicatorPic.JPG (80.7 KB, 128 views)
Attached Files
File Type: mq4 BatFink Trend Change Indicator.mq4 (3.4 KB, 22 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #377 (permalink)  
Old 05-07-2008, 12:11 PM
Junior Member
 
Join Date: Oct 2006
Posts: 7
exorcist is on a distinguished road
Hey Dave,

Thanks,
I already did that thing but it is not working.
Instead of a smiley face, there is a cross with the name of EA.
Still struggling to get the EA work on Live charts as it is working on strategy tester.

Regards
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #378 (permalink)  
Old 05-07-2008, 12:48 PM
Junior Member
 
Join Date: Oct 2006
Posts: 7
exorcist is on a distinguished road
Got it right
Thanks to all anyways
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #379 (permalink)  
Old 05-23-2008, 09:20 AM
Junior Member
 
Join Date: Apr 2008
Posts: 5
ssg10 is on a distinguished road
Process new bar only?

Hi all. Sorry if I post at wrong side of forum. I hope not.

I have a coding question. How can I make sure my piece of code is only executed if a new 5-min bar is formed, and not every new tick? Thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #380 (permalink)  
Old 05-24-2008, 09:34 AM
Senior Member
 
Join Date: Dec 2005
Location: In front of my trading desk
Posts: 344
Devil2000 is on a distinguished road
Quote:
Originally Posted by ssg10 View Post
Hi all. Sorry if I post at wrong side of forum. I hope not.

I have a coding question. How can I make sure my piece of code is only executed if a new 5-min bar is formed, and not every new tick? Thanks!
You can use Time[x], x=0,1,2,3,...
__________________
Need a professional MQL4 programmer? PM me
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Tags
close, eas, profit, reach

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Learning Cycles For New Traders Dan7974 General Discussion 350 01-18-2008 06:04 PM
Learning to code for autotrading GoatT Metatrader Programming 8 01-10-2007 08:55 PM
Self learning expert mrtools Expert Advisors - Metatrader 4 32 10-22-2006 05:29 PM


All times are GMT. The time now is 10:41 PM.



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