Quote from Indrionas:
I took 10 minutes to write a simple program that I called "market generator".
It generates market data. The random process is this:
200 OHLC bars are generated.
For each bar a random number from 100 to 300 is selected (uniform distribution). This number is "number of ticks in the bar".
With the above number I then generate up and down ticks with 50/50 probability. I.e. chance of up tick = 0.5 and down tick = 0.5, so no bias.
Starting price is 100. One tick = 1.
In the attachment you can see a single simulation. This is random data. You can analyze, use TA and data-mine your ass off with it, but it is completely random and all patterns you will come up with will be meaningless bull crap.
Am i correct that you take randomly data from real market data?
If you do, than i think your experiment is completely wrong and doesn't proof anything at all. In that case you take randomly data from data that according to some is not random at all. So according to those who believe in trends you use "trending" data as a basis to proof randomness.
Purely randomly would be, according to me, ANY figure between 0 and infinity. This means that a value of 0.025 can be theoretically followed by 1245785457885221.112448, 1244.24, 1245778545877855455455. That's really random (no limitations or filtering) and it would give huge moves between ticks in both directions. As soon as your basis is marketdata, it cannot be random anymore because you already limited the range between which values have to fall.
Another problem is that trends can exist in different timeframes. So if you take randomly tickdata, this data can fall in a trend that is defined in a higher timeframe. This would also mean that the data loses value as being random because in that higher timeframe the ticks would all fall within the range of the trend of the higher timeframe.
200 bars are not enough to test, because i use different timeframes, which means that in the highest timeframe i need a couple of hundred bars. If i would use hourly, quarterly , 5 minutes and tich charts i would need 200 bars on hourly with inside of each bar 200 quartely bars, within each quarterly bar 200 5minute bars...... so i would need a few million ticks.
With the small size of your sample it is for me impossible to prove that trends exist. So by default you are right because the way you prepared your data makes it impossible to me to prove my point.
Example: proof me that you can shoot someone with a gun. But you cannot use any bullets. How are you going to shoot someone ? If you leave out essentioal elements to proof something, than by default you will never be able to proof it.
To me real randomness doesn't exist in the markets as real trends do not exist either. There are only systems to maximize the probability for a certain outcome. I tested systems over thousands of trades with several years of data. If i make substantially more profitable trades than losing trades and stay profitable during all these years within getting hit severly (never a margin call), and if i'm able to define the direction for the next bar (or sometimes even several bars) with a high probability, then it is clear to me that markets are not completely random.