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
  #11 (permalink)  
Old 12-07-2008, 09:31 PM
Beno's Avatar
Senior Member
 
Join Date: Aug 2006
Location: London
Posts: 516
Beno is on a distinguished road
Gidday bobfourie

I am using GetTickCount() as the seed on a 1hour TF

Attached is a back test for what they are worth. in theory the pair and time frame should not matter.

Looks good so far if it carries on like that I might not be so crazy after all LOL

Cheers

Beno
Attached Images
File Type: gif StrategyTester.gif (7.9 KB, 218 views)
Attached Files
File Type: htm StrategyTester.htm (22.3 KB, 29 views)
File Type: mq4 RndTradeRndExit.mq4 (4.2 KB, 25 views)

Last edited by Beno; 12-07-2008 at 09:34 PM. Reason: Attached the 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
  #12 (permalink)  
Old 12-07-2008, 09:48 PM
azjeff's Avatar
Senior Member
 
Join Date: Sep 2007
Posts: 165
azjeff is on a distinguished road
Hello Beno,

Nice results but only 47% modeling quality? Good luck with running that live.

Regards,
Jeff

Quote:
Originally Posted by Beno View Post
Gidday bobfourie

I am using GetTickCount() as the seed on a 1hour TF

Attached is a back test for what they are worth. in theory the pair and time frame should not matter.

Looks good so far if it carries on like that I might not be so crazy after all LOL

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
  #13 (permalink)  
Old 12-07-2008, 10:08 PM
Beno's Avatar
Senior Member
 
Join Date: Aug 2006
Location: London
Posts: 516
Beno is on a distinguished road
Quote:
Originally Posted by azjeff View Post
Hello Beno,

Nice results but only 47% modeling quality? Good luck with running that live.

Regards,
Jeff
Thanks azjeff

The modeling quality is not that great so i will need all the luck I can get lol.

Is there any one who can let me know what the maximum MQ pecentage you can achieve on each time frame.
1 min = 25%
5 min = 25%
15 min = ???
30 min = ???
1 hr min = ???
4hr + min = 90%
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
  #14 (permalink)  
Old 12-07-2008, 11:32 PM
Beno's Avatar
Senior Member
 
Join Date: Aug 2006
Location: London
Posts: 516
Beno is on a distinguished road
Interesting I don't know what is happening with the EA but I am running it on Several pair and the orders seem to be opening on one pair then whenanother pair open it closes the original never seen that before.
##any solutions##

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
  #15 (permalink)  
Old 12-07-2008, 11:35 PM
Walander's Avatar
Senior Member
 
Join Date: Aug 2008
Posts: 582
Walander is on a distinguished road
Hmm, there is probably a loop code, and or op_buy code that is running that prevents one pair from opening another.
__________________
http://www.Vancouver-Forex.com

http://www.forex-tsd.com/general-dis...er-create.html

Want to ask a question about fundamental or technical trading? Shoot me a PM- but do your homework first.
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
  #16 (permalink)  
Old 12-07-2008, 11:48 PM
Beno's Avatar
Senior Member
 
Join Date: Aug 2006
Location: London
Posts: 516
Beno is on a distinguished road
sorry school boy error but that not the problem would a magic number sort it out

Last edited by Beno; 12-07-2008 at 11:58 PM.
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
  #17 (permalink)  
Old 12-08-2008, 01:41 PM
Beno's Avatar
Senior Member
 
Join Date: Aug 2006
Location: London
Posts: 516
Beno is on a distinguished road
I think i'm need to start again but I will explain what I am trying to do.

It's a two coin toss experiment
coin 1 is heads = sell and tails = buy
fliped on a new bar sounds simple enough i think.

Coin 2 is exits tails = closesell and heads = closebuy
but all i want to do is close the first position be it either a buy or sell.

Example
bar1 = coin1= heads and coin2 = heads
bar2 = coin1= heads and coin2 = heads
bar3 = coin1= heads and coin2 = tails from bar1

I thinks thats as clear as mud and thats what I have been trying to code into an ea so if you have done anything similar or can help that 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
  #18 (permalink)  
Old 12-08-2008, 02:43 PM
Junior Member
 
Join Date: Oct 2006
Posts: 26
bobfourie is on a distinguished road
Quote:
Originally Posted by Beno View Post
I think i'm need to start again but I will explain what I am trying to do.

It's a two coin toss experiment
coin 1 is heads = sell and tails = buy
fliped on a new bar sounds simple enough i think.

Coin 2 is exits tails = closesell and heads = closebuy
but all i want to do is close the first position be it either a buy or sell.

Example
bar1 = coin1= heads and coin2 = heads
bar2 = coin1= heads and coin2 = heads
bar3 = coin1= heads and coin2 = tails from bar1

I thinks thats as clear as mud and thats what I have been trying to code into an ea so if you have done anything similar or can help that would be great.

Cheers

Beno
I have gone in another direction. Instead of using random entry points when an new bar forms, I have random entry times and exit times. How long each trade will be open are random, and how long to wait between trades are also random. The maximum time for these periods can be changed in the external parameters of the ea
Attached Files
File Type: mq4 RndTradeRndExit.mq4 (5.1 KB, 19 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
  #19 (permalink)  
Old 12-08-2008, 02:48 PM
Beno's Avatar
Senior Member
 
Join Date: Aug 2006
Location: London
Posts: 516
Beno is on a distinguished road
nice one bob as long as it's random it does not matter if its time, price or a coin toss

I will give it ago
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
  #20 (permalink)  
Old 12-08-2008, 04:26 PM
Junior Member
 
Join Date: Oct 2006
Posts: 26
bobfourie is on a distinguished road
Have changed the random generator a bit, much more random now. Any ideas for an MM? Was thinking maybe of an martingale, double lots each time the last order was an loss. This does mean that if the last loss was an big one, the next trade with the double lots could close with an lower profit since it's closing at an random period.

Could also adjust the lot sizes according to the time the trade will be open since these values are known before the order are placed. The longer the orders are open the more probability the order has for greater volatility. Then an martingale system could be more effective.

Any other ideas? TP or SL maybe?
Attached Files
File Type: mq4 RndTradeRndExit.mq4 (5.2 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
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 12:00 AM.



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