Forex



Go Back   Forex Trading > Discussion Areas > General Discussion
Forex Forum Register More recent 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 11-30-2008, 11:42 AM
Beno's Avatar
Senior Member
 
Join Date: Aug 2006
Location: London
Posts: 516
Beno is on a distinguished road
Random entry EA

Attached is a random entry ea that was post on another forum this looks like a good project for the talented traders and coders to get their teeth into.

This will be a great test for any mm system

Good luck

Please post your mods here

Cheers

Beno
Attached Files
File Type: mq4 RndTrade.mq4 (2.8 KB, 127 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 11-30-2008, 06:17 PM
Mr.Marketz's Avatar
Senior Member
 
Join Date: Feb 2006
Posts: 350
Mr.Marketz is on a distinguished road
Step 1 would be to add MM parameters (i.e. position sizing based on equity, and a customizable martingale progression, TP & SL params). Possibly a time filter, too.

Just a thought.
MM

Otherwise, it's like playing a coin flip... no edge.
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-01-2008, 08:58 AM
Kenny Rogers's Avatar
Senior Member
 
Join Date: Oct 2008
Posts: 685
Kenny Rogers is on a distinguished road
Beno,

This EA is actually a very good exercise to becoming a good trader. Because if you really believe in that the market is random, then random entry should not matter. And I do believe many times, the market is very random, just not 100%. But majority of the times, it is.

And I also believe that you can have an EA, and you trade it both way. So you buy and sell at the same time, you can still be profitable on both the long and sells. The secret is money management or trade&risk management. Personally, I subscribe to the trade&risk management over money management. It's basically the same thing just different approach.
__________________
Life is a Gamble. You win some. You lose some. And life goes on.
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-01-2008, 09:44 AM
Beno's Avatar
Senior Member
 
Join Date: Aug 2006
Location: London
Posts: 516
Beno is on a distinguished road
Quote:
Originally Posted by Kenny Rogers View Post
Beno,

This EA is actually a very good exercise to becoming a good trader. Because if you really believe in that the market is random, then random entry should not matter. And I do believe many times, the market is very random, just not 100%. But majority of the times, it is.

And I also believe that you can have an EA, and you trade it both way. So you buy and sell at the same time, you can still be profitable on both the long and sells. The secret is money management or trade&risk management. Personally, I subscribe to the trade&risk management over money management. It's basically the same thing just different approach.
I'm with you money and trade managment are similar but trade managment is the most important imho ie your exit. I would like to see this with a hedge. it might be fun
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-01-2008, 10:08 AM
Senior Member
 
Join Date: Sep 2007
Posts: 428
jturns23 is on a distinguished road
Quote:
Originally Posted by Beno View Post
I'm with you money and trade managment are similar but trade managment is the most important imho ie your exit. I would like to see this with a hedge. it might be fun
Good idea. I was thinking the same thing.
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-06-2008, 03:12 PM
Beno's Avatar
Senior Member
 
Join Date: Aug 2006
Location: London
Posts: 516
Beno is on a distinguished road
I need someomes help I have had a crazy idea of trying to implement a random exit for a random entry system sort of 2 wrongs make a right.

The EA is attached but its does not seen to close the position.

Any suggestions

Cheers

Beno
Attached Files
File Type: mq4 RndTradeRndExit.mq4 (3.2 KB, 19 views)

Last edited by Beno; 12-06-2008 at 03:21 PM. Reason: Add EA
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-07-2008, 04:05 PM
Beno's Avatar
Senior Member
 
Join Date: Aug 2006
Location: London
Posts: 516
Beno is on a distinguished road
Gidday right I have gone back to the drawing board and created an EA that has both random entry and exits very interesting, there are a few problems that I'm stuggling with.

the ea open both the buy and sell on the same bar how do I change that.

Could some wiz kids please have a look and make some suggestions as to what i have done wrong

Cheers

Beno
Attached Files
File Type: mq4 RndTradeRndExit.mq4 (4.4 KB, 13 views)
File Type: zip Include.zip (6.3 KB, 31 views)

Last edited by Beno; 12-07-2008 at 04:14 PM. Reason: added include files
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
  #8 (permalink)  
Old 12-07-2008, 05:49 PM
Junior Member
 
Join Date: Oct 2006
Posts: 26
bobfourie is on a distinguished road
Hi Beno, fixed your EA
Attached Files
File Type: mq4 RndTradeRndExit.mq4 (3.8 KB, 18 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
  #9 (permalink)  
Old 12-07-2008, 06:55 PM
Beno's Avatar
Senior Member
 
Join Date: Aug 2006
Location: London
Posts: 516
Beno is on a distinguished road
Quote:
Originally Posted by bobfourie View Post
Hi Beno, fixed your EA

Thanks for that but it's not quite what I'm trying to do I am trying to create 2 systems in one, one for the buys one for sells but both with random entry and exit sort of like a random hedge. since I'm crap at coding i'm finding it quite difficult on this one

So any help would be great.

Cheers

Beno
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
  #10 (permalink)  
Old 12-07-2008, 07:57 PM
Junior Member
 
Join Date: Oct 2006
Posts: 26
bobfourie is on a distinguished road
EA trades now random with sells and buys. Back testing gives inconclusive results since the seed for the random generator is the local time which is modeled, so its always the same results.
Attached Files
File Type: mq4 RndTradeRndExit.mq4 (4.2 KB, 22 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
random entry trading, money management


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
Random Text indicator darkkiller Metatrader 4 2 09-17-2008 10:55 AM
Random Walk Index? WNW Indicators - Metatrader 4 28 04-22-2008 04:02 PM
Random Generator Ronald Raygun MetaTrader 3 03-11-2008 05:34 AM
How do u use random data (custom charts) in MT4?? HellGungrave_777 Metatrader 4 2 12-28-2007 01:33 AM
Random Walk indicator raff1410 Indicators - Metatrader 4 21 08-23-2007 10:57 AM


All times are GMT. The time now is 08:14 PM.



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