Forex



Go Back   Forex Trading > Downloads > Expert Advisors - Metatrader 4
Forex Forum Register More recent Blogs Calendar Advertising Others Help






Register
Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.

From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.

Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
  • Elite Section
    Get access to private discussions, specialized support, indicators and trading systems reported every week.
  • Advanced Elite Section
    For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 12-08-2008, 07:38 PM
Junior Member
 
Join Date: Nov 2007
Posts: 15
nuozek is on a distinguished road
EA Repetition

Hi

I have a problem with this EA , if somebody could help me.

This EA repeat the order and open the same position for many times after take profit and before the next line cross.

I want the orders that it can open not exceed 1 order per cross. Or a limit variable.

So, If somebody could modify the expert, I would be grateful.

Thanks in advance for any help and support.
Attached Files
File Type: mq4 Absolute Strength Big Cross EA.mq4 (34.5 KB, 42 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #2 (permalink)  
Old 12-09-2008, 01:25 AM
matrixebiz's Avatar
Senior Member
 
Join Date: Oct 2006
Posts: 1,218
matrixebiz is on a distinguished road
Sure, I can take a look. Can you post this file AbsoluteStrength_v1.1_mtf? Is this file an mt4 indicator?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #3 (permalink)  
Old 12-09-2008, 03:54 AM
Junior Member
 
Join Date: Nov 2007
Posts: 15
nuozek is on a distinguished road
Hi matrixebiz

It's a indicator. Here it is:
Attached Files
File Type: mq4 AbsoluteStrength_v1.1_mtf.mq4 (8.5 KB, 44 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #4 (permalink)  
Old 12-09-2008, 12:22 PM
matrixebiz's Avatar
Senior Member
 
Join Date: Oct 2006
Posts: 1,218
matrixebiz is on a distinguished road
OK, here try this.
There is code already in the EA for Stop and Limit orders, do you ever get those initiated? Should they be deleted once TP is hit, maybe ?? Can you give me more info on the system? What settings do you use?

So what I did was add;
extern string Remark6="No re-entry in Bars";
extern int No_ReEntry = 2;

So if a Buy was just opened and closed within the same bar, don't check for another Buy signal for 2 bars. Same for the Sell orders.

Let me know how you make out.
Attached Files
File Type: mq4 Absolute Strength Big Cross v1.2 EA.mq4 (36.0 KB, 45 views)

Last edited by matrixebiz; 12-10-2008 at 01:48 AM. Reason: Changed Re-Entry Code
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #5 (permalink)  
Old 12-10-2008, 04:59 PM
Junior Member
 
Join Date: Nov 2007
Posts: 15
nuozek is on a distinguished road
Thank you, matrixebiz, for the help.

I don't. I did not noticed the code for orders limit.

I'm using the parameters in the report below. But the drawdown is very high in big circles because these orders in succession.

I will do some backtests with your version and then publish the results here.

Hope it works.
Attached Images
File Type: gif Big cross.gif (6.0 KB, 256 views)
Attached Files
File Type: htm Big cross.htm (206.3 KB, 12 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #6 (permalink)  
Old 12-13-2008, 05:17 PM
Junior Member
 
Join Date: Nov 2007
Posts: 15
nuozek is on a distinguished road
Hi matrixebiz

It worked great...

The orders are not repeated if I put a variable big enough in No_ReEntry.

However, I'm receiving the following errors in the log:

Error Occured : function is not allowed in testing mode
Error Occured : no error

What can be?

Thank you for your attention.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #7 (permalink)  
Old 12-15-2008, 05:19 AM
matrixebiz's Avatar
Senior Member
 
Join Date: Oct 2006
Posts: 1,218
matrixebiz is on a distinguished road
Quote:
Originally Posted by nuozek View Post
Hi matrixebiz

It worked great...

The orders are not repeated if I put a variable big enough in No_ReEntry.

However, I'm receiving the following errors in the log:

Error Occured : function is not allowed in testing mode
Error Occured : no error

What can be?

Thank you for your attention.
Can you check with the original EA if you get the message.
Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
how to stop nagging pop up alert repetition mpforex Metatrader 4 0 07-20-2007 11:11 AM


All times are GMT. The time now is 03:38 PM.



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