Forex



Go Back   Forex Trading > Trading systems > Martingale/Average Cost and Hedging
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
  #1721 (permalink)  
Old 10-01-2009, 06:31 PM
Senior Member
 
Join Date: Dec 2007
Posts: 492
Enforcer is on a distinguished road
Check Experts and Journal logs carefully, see if are any errors.
Check at Tools->Options->Experts id is live trading allowed, experts enabled, and external experts import allowed.
Check Pipmaker if is allowed to trade - press F7->Common.
Set Ecn mode to false.
Can't see a reason for this issue, especially I run various tests on 5 brokers + 1 real account and is working on all.
__________________
www.signalcopy.com - Most advanced tools for copy Metatrader signals.
Free MT4 account statistics - advanced stats and graphs for MT4 accounts
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
  #1722 (permalink)  
Old 10-01-2009, 06:35 PM
Senior Member
 
Join Date: Jan 2009
Posts: 106
James666 is on a distinguished road
I think i have figured it out. This EA will not open any trades unles ALL other trades are closed, even if its a different pair.

I was trading USDJPY on demo. The minute i closed it manually, GBPUSD opened.

Then I closed the GBPUSD and opened a manual EURUSD. The EA did not trade. I closed the EURUSD and immediately, the GBPUSD opened again...

Does this make sense?
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
  #1723 (permalink)  
Old 10-01-2009, 06:38 PM
Senior Member
 
Join Date: Dec 2007
Posts: 492
Enforcer is on a distinguished road
Yes, it make sense.
PHP Code:
extern bool ExclusiveMode  true//will not trade if any other open order is found, either same symbol and different magic, either other symbol no matter magic 
__________________
www.signalcopy.com - Most advanced tools for copy Metatrader signals.
Free MT4 account statistics - advanced stats and graphs for MT4 accounts
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
  #1724 (permalink)  
Old 10-01-2009, 06:54 PM
Senior Member
 
Join Date: Jan 2009
Posts: 106
James666 is on a distinguished road
OK. do you need me to amend the code? WHat should i change it too.

Can you also look at something else? When money management is off, the lot sizes i try and trade with do not match what I request, and neither do the increments. Have a look please.

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
  #1725 (permalink)  
Old 10-01-2009, 07:09 PM
Senior Member
 
Join Date: Dec 2007
Posts: 492
Enforcer is on a distinguished road
Just set ExclusiveMode = false;
When true is not trading if any other order is open - to protect account from excessive drawdown. .

I'll check lot sizes in manual mode.
__________________
www.signalcopy.com - Most advanced tools for copy Metatrader signals.
Free MT4 account statistics - advanced stats and graphs for MT4 accounts
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
  #1726 (permalink)  
Old 10-01-2009, 07:50 PM
Senior Member
 
Join Date: Jan 2009
Posts: 106
James666 is on a distinguished road
ok done. Should work now!

Thanks for your help. Got there in the end I think. Lets hope it trades now!
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
  #1727 (permalink)  
Old 10-02-2009, 10:45 AM
Senior Member
 
Join Date: Jan 2009
Posts: 106
James666 is on a distinguished road
Hey enforcer

The EA works. I had some trades in EURJPY, EURUSD and GBPUSD. Thanks for your help in making this work - it was a simple solution.

With its logic, what other pairs should this work on? Those that can trend or those that are better at ranging?
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
  #1728 (permalink)  
Old 10-02-2009, 10:59 AM
Senior Member
 
Join Date: Dec 2007
Posts: 492
Enforcer is on a distinguished road
Hard to say...
Run some tests and find proper settings for each pair.
Anyway, keep an eye on open trades, never know when trend go crazy.
__________________
www.signalcopy.com - Most advanced tools for copy Metatrader signals.
Free MT4 account statistics - advanced stats and graphs for MT4 accounts
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
  #1729 (permalink)  
Old 10-02-2009, 05:44 PM
Senior Member
 
Join Date: Jan 2009
Posts: 106
James666 is on a distinguished road
Sorry to be such a pest again. I dont think many management works. I am trading with MM off. I have requested 0.1 lots with pf of 5. However, it is trading with 0.13 lots...

COuld be a coding issue here.
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
  #1730 (permalink)  
Old 10-03-2009, 09:48 AM
nondisclosure007's Avatar
Senior Member
 
Join Date: Apr 2007
Posts: 125
nondisclosure007 is on a distinguished road
Interesting EA. It's got a lot of potential.

Well, I back tested this on EURUSD for 2008, it was doing great until December. Then I noticed a problem it has quite often. It will open trends going in an opposite direction (not sure which setting turns this off). See near the end of the trades. December wiped out the balance. I had to reset lot size to 0.1 (broker), switch TradeComment in 2 of the OrderSend() functions to "TradeComment" (error stated it wasn't a string).

Now, I am still very impressed w/ this. I see Enforcer is working on the Loss management piece. That will be sweet.

Now, to Enforcer,
I'm willing to do all Optimization on this EA. I've got a server thats an Intel Core 2 Duo 3.16 Ghz, 8gb ram and about 2TB of space. It runs 24/7. I'll setup a dedicated virtual PC and give it all the cpu power of the box. Just tell me whic metatrader you want me to run (ie. from a broker and/or just metaquotes). ...And where you want me to get the historical data from (the Alpari databank has been down for quite a while).

StrategyTester.gif
Quote:
Originally Posted by Enforcer View Post
Version 16

Changes from v15_5:
Attached Files
File Type: htm StrategyTester.htm (312.5 KB, 17 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
Reply

Bookmarks

Tags
adaptive RSI, ADAPTIVE RSI.EX4, ADXMA, bless ea, cache:QNp-4lQtnkIJ:www.forex-tsd.com/martingale-average-cost-hedging/8126-pipmaker-v1-price-action-b, don_forex, ea pipmaker, forex, forex pipmaker, Forex price action, forex price action EA, forex tsd, forex tsd pipmaker, forex-tsd, i_Trend.ex4, ordersend error 4051, pallada, pallada ea, pip maker, Pipmaker, pipmaker 15, pipmaker 9-1, pipmaker ea, pipmaker expert, pipmaker expert advisor, pipmaker forex, pipmaker Forex TSD, PipMaker mq4, PipMaker MT4, pipmaker settings, pipmaker v10, pipmaker v14, PIPMAKER V15, pipmaker v15_3, PipMaker v5, pipmaker v9, PipMakerV5aNeo, PipMaker_NeoV5a_Rodmod8.mq4, pipmaker_v15, Pipmaker_V15.mq4, Pipmaker_V15_4.mq4, Price, price action, price action ea, price action expert advisor, price action forex, price action forex trading, price action mq4, price action trading, slope direction line, slope direction line modified.mq4, Terminator, terminator ea, tsd forex, USD CDN Terminator EA, www.forex-tsd.com


Currently Active Users Viewing This Thread: 2 (1 members and 1 guests)
victor57
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
Price action reversal EA help !!!!! compro99 Expert Advisors - Metatrader 4 5 11-18-2009 07:39 PM
Want some action? FX of course Kirsty_FX Suggestions for Trading Systems 2 05-17-2007 03:15 AM
EA Based on Price Movement babarmughal Expert Advisors - Metatrader 4 10 05-29-2006 08:56 PM
Bar Action Shahzadfx Expert Advisors - Metatrader 4 16 04-04-2006 05:38 AM


All times are GMT. The time now is 11:59 PM.



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