| New signals service! | |
|
|||||||
| 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 |
|
![]() |
|
|
LinkBack (5) | Thread Tools | Display Modes |
|
|||
|
Probability studies on currencies
Hi
How does anybody analyse probabilistic data? Is this done on excel or can it be done on excel? There are at least 30 probabilistic conditions to be analysed .How complex is the task? Here is an example"if price fails to go lower by x pips over X days ,how much is the highest it travels on rebounds upwards ,on average.What is the succes rate? This is just on of many conditions to be tested? Anybody good at this? OILFXPRO |
|
||||
|
Quote:
If your looking for a free stats package then take a look at The R Project for Statistical Computing The charting options are a bit better than Excels, and can be useful for visualizing some of the more complex stuff. Some stats I find so useful, that I want to have them in real time, or at least a daily update, so in these cases, I'll code the analysis routine into an indicator so we don't need to be messing about exporting and importing stuff. There's also a couple of good Excel TA plug in's that you can use if you cant be bothered exporting or coding indicator values. Quite a few of these are free. I use stats a lot, and 85% of what I need is covered by Excel, and a bit of VBA programming. |
|
|||
|
Quote:
I have been thinking about doing this as a web service that would continuously calculate probabilities with bayesian probabilities but we'll see. I have much more confidence in probabilistic values and genetic algorithms (that you can see how they work) than NN's. I have no idea why everyone is fussing about them - well except Betters performance (which I unfortunately believe to be a lucky coincidence). My basic idea is for everyone interested: - Get a huge list of market data including futures, stocks and spot equities if possible as comparison group - Create a random, genetic algorithm optimizaed list of meaningful market movements based on both simple price information and indicators like "price breaking donchian channels X", "ma X crossing ma Y", "volume is over 150% of usual", "price has gone up over 20% in the last 2 hours", "time is 08:00" - Create a random list of actions that could happen like "price goes up 20%", "price goes up over 30 pips", "volume increases", "high is over 30% higher than close" etc - Calculate simple probabilities for X period for ALL pairs and equities I can find sufficient data - Calculate combined probabilities for all conditions using bayesian probability theory .. And the best of all, automatically let the program generate EAs based on these probabilities ![]() I'm one of those guys who believe that predicting market movement for longer periods is kind of impossible but predicting the future movement for shorter period [edit: meaning bar/couple of bars] based on past probabilities is very possible. edit: And if I wouldn't be programmer, I would probably use mathematica (I like the intreractivity and visual aspect) market - The Wolfram Demonstrations Project Last edited by mikkom; 01-12-2008 at 12:15 PM. |
|
|||
|
Quote:
Probability theory is very simple. The real problem is that calculating all permutations takes time and finding the combinations that really do have some correlation is quite problematic. Forward testing (if you are talking about the genetic algo part of my idea) is not really needed if you separate the history to two sections where the other is the evaluation group and other is the validation group as is usually done in situations where there is a possibility of curve fitting. By the way I already have some results for people interested, following are very simple correlation one rule combinations for couple of months of EURUSD minute bars, enjoy . DISCLAIMER: the program still probably has bugs so the results may not be accurate! The format is: {[rules], result, probability%, hits} Code:
{[d1_down],d1_down,66.1904,33384},
{[h1_up],d1_down,58.6867,39077},
{[true],d1_down,58.1938,78419},
{[m5_up],d1_down,58.1112,34181},
{[m5_down],d1_down,58.0894,33791},
{[h1_down],d1_down,57.4442,36082},
{[d1_up],d1_down,52.1656,44652},
{[h1_down],h1_down,51.8846,36082},
{[m5_down],h1_down,51.5019,33791},
{[d1_down],h1_down,51.1562,33384},
{[true],h1_down,49.7890,78419},
{[d1_up],h1_down,48.7794,44652},
{[m5_up],h1_up,48.0823,34181},
{[h1_up],h1_up,47.8901,39077},
{[m5_up],h1_down,47.8160,34181},
{[h1_up],h1_down,47.7621,39077},
{[d1_up],d1_up,47.3865,44652},
{[m5_down],m5_down,46.6929,33791},
{[d1_up],h1_up,46.5892,44652},
{[h1_down],m5_down,46.5107,36082},
{[m5_up],m5_up,46.3532,34181},
{[true],h1_up,46.0564,78419},
{[d1_down],h1_up,45.3541,33384},
{[h1_up],m5_up,45.3233,39077},
{[d1_down],m5_down,44.6441,33384},
{[m5_down],h1_up,44.5207,33791},
{[h1_down],h1_up,44.2464,36082},
{[true],m5_down,43.5838,78419},
{[d1_up],m5_up,43.4673,44652},
{[true],m5_up,43.0929,78419},
{[d1_up],m5_down,42.7909,44652},
{[d1_down],m5_up,42.6432,33384},
{[h1_down],d1_up,42.1678,36082},
{[m5_down],d1_up,41.4755,33791},
{[m5_up],d1_up,41.3505,34181},
{[true],d1_up,41.3191,78419},
{[h1_up],m5_down,40.9448,39077},
{[h1_down],m5_up,40.8154,36082},
{[h1_up],d1_up,40.7324,39077},
{[m5_up],m5_down,40.5254,34181},
{[m5_down],m5_up,40.2859,33791},
{[d1_down],d1_up,33.2674,33384}
Last edited by mikkom; 01-16-2008 at 09:06 PM. |
|
|||
|
Quote:
This is not directed at you. This is general view on developing the better NN EA.It can't be backtested. The developers will spend months devising the nn system,after which they will spend another 6 moths forward testing the expert advisor , they may have upto 10 versions of the ea before they finish,if they finish. After 6 months of forward testing and a year of development ,it could still blow the accounts ,if mistakes are made. Ask any free PROFESSIONAL programmer "do u want all this?".The answer is no OILFXPRO |
|
|||
|
Quote:
I have completed writing a sketch probability EXPERT ADVISOR.It can be back tested on metatrader ,provided the coder codes it correctly.It can be coded for easy testing. It uses a probability master in the EA.Back test using true/false on every probabilitic logic Will this work? OILFXPRO |
|
|||
|
Quote:
And more complex answer: It is really hard to know which rules are correct and which ones are due to curve fitting, that's why I'm trying to gather a really large amount of data so the correlations can be tested with at least some confidence that the results are correct. If you can get a probability% instead of boolean value (should be possible), I would probably require a certain treshold level (like 60% or something, just an example) and then use different lot purchases based on the certainty level. Higher the certainty, higher the bet. |
|
|||
|
Quote:
Should we go for NN or probabilistic Expert Advisor?NN can be covered by probabilistic logic and coding and system ,so there is no need for a specific NN .I M H O OILFXPRO |
![]() |
| Bookmarks |
| Tags |
| forex_nn_expert |
| Thread Tools | |
| Display Modes | |
|
|
LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/expert-advisors-metatrader-4/10848-better-nn-ea.html
|
||||
| Posted By | For | Type | Date | |
| Harmony of Life - Neural Network (The Artificial Intelegence) | Post #8 | Refback | 03-14-2008 09:30 AM | |
| Harmony of Life - Neural Network (The Artificial Intelegence) | Post #8 | Refback | 12-20-2007 01:58 AM | |
| Harmony of Life - Aditya's Blog | Post #8 | Refback | 12-05-2007 11:06 AM | |
| Forex MetaTrader Expert Advisors -- Select From >40 of the Best Expert Advisors EA for MT4 on Squidoo | This thread | Refback | 11-24-2007 08:56 AM | |
| Forex MetaTrader Expert Advisors -- Select From >40 of the Best Expert Advisors EA for MT4 on Squidoo | This thread | Refback | 11-23-2007 04:54 PM | |