Forex
Google

Go Back   Forex Trading > Downloads > Expert Advisors - Metatrader 4
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 Thread Tools Display Modes
  #1 (permalink)  
Old 03-29-2007, 04:55 AM
WNW's Avatar
WNW WNW is offline
Senior Member
 
Join Date: Feb 2006
Location: Motown, USA
Posts: 373
WNW is on a distinguished road
Open/close trade on same bar's close?

I have a system that is quite promising in backtesting on other platforms; it needs to look at the closes of the previous 2 bars and then execute a trade at the close of the current bar. It also needs to close any open trades at the close of the current bar. Is it possible to both open and close a trade at the close of the current bar? If this is possible I will post the rules to the system (very simple - no indicators, no progressive betting).
Thanks in advance for any help.
WNW
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 03-29-2007, 05:10 AM
Dan7974's Avatar
Dan7974 Dan7974 is offline
Senior Member
 
Join Date: Jul 2006
Posts: 264
Dan7974 is on a distinguished road
Yes

Oh yeah...

It's possible alright. Can You Post the rules for Your trading systems?


Thanks.


Dan.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-29-2007, 05:37 AM
WNW's Avatar
WNW WNW is offline
Senior Member
 
Join Date: Feb 2006
Location: Motown, USA
Posts: 373
WNW is on a distinguished road
Thanks for your reply.

Here's the rules (this works best on 5M and 15M):

Long:
If the close of the current bar and the preceding bar are both lower than close -3, buy at the close.

Short:
If the close of the current bar and the preceding bar are both higher than
close -3, short at the close.

Exits:
There is no S/L or T/P. Close any open trade at the close of the current bar, regardless of P/L.
As you can see you will sometimes be opening and closing trades simultaneously.

This has over a 50% win rate with the average profit exceeding the average loss after testing over an 8 year period using 1M bars. Very linear EQ curve.

Any help appreciated.
Thanks again,
WNW
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
close all open trades ea G-Riper General Discussion 2 08-02-2006 09:41 PM
Close all open positions jonjonau Expert Advisors - Metatrader 4 6 07-12-2006 05:01 AM
Close All Open Positions? lonespruce Metatrader 4 9 06-22-2006 07:20 AM


All times are GMT. The time now is 06:26 PM.