Jump to content

Welcome to the new Traders Laboratory! Please bear with us as we finish the migration over the next few days. If you find any issues, want to leave feedback, get in touch with us, or offer suggestions please post to the Support forum here.

  • Welcome Guests

    Welcome. You are currently viewing the forum as a guest which does not give you access to all the great features at Traders Laboratory such as interacting with members, access to all forums, downloading attachments, and eligibility to win free giveaways. Registration is fast, simple and absolutely free. Create a FREE Traders Laboratory account here.

TheNegotiator

The Question of Randomness

Recommended Posts

Hi TN, I generated it in much the same way you did (you will see how in the spreadsheet attached).

 

Basically, I generated a list of 144 rand ticks that went either up, down or no change and added the result to the previous result. After 144 ticks, i started a new "day" using previous days close as the starting point and ran another 144 ticks. I repeated this 200 times to get 200 "days".

 

Then, for each day I took the start, finish, max and min to generate the candle stick chart.

Share this post


Link to post
Share on other sites

Patterns appear in random data, but they are 'random' ;)

 

In the candlestick chart attached few posts back; between bars 126-131 you see bars suddenly go 1/4th of their size. In reality the volatility does not changes so abruptly... it undergoes cycles of expansion and contraction.

 

In the second candlestick chart in this post: http://www.traderslaboratory.com/forums/technical-analysis/10728-question-randomness.html#post127386 you can see a reverse-hammer,hammer,reverse-hammer sequence which I cannot recall on a real chart (between bars 1-16).

Share this post


Link to post
Share on other sites
Patterns appear in random data, but they are 'random' ;

 

Er, yeah of course. But the fact they can appear to be similar at all must make you question how you look at charts and the level of importance you choose to assign to patterns.

Share this post


Link to post
Share on other sites
Er, yeah of course. But the fact they can appear to be similar at all must make you question how you look at charts and the level of importance you choose to assign to patterns.

 

But again think of it.... who really trades on just a double top.

 

Even those who trade on chart patterns support their decision by a number of discretionary factors: candlestick shapes, volumes, trend, time frame confluence and so on.

 

BTW by 'trader' I mean a 'profitable trader' LOL. Probably the lesson here is for newbies that anything which is too easy does not works.

Share this post


Link to post
Share on other sites

Lessons are for everyone, not just for 'newbies'. What you take or don't from anything varies based mostly on your experiences. Random data showing aspects of real data is intriguing to me, but I'm not saying that you should take that in any way in particular or even agree that there are similarities. The point is to have a discussion about it and maybe all grow a little wiser.

Share this post


Link to post
Share on other sites
The point is to have a discussion about it and maybe all grow a little wiser.

 

Totally agree.

 

BTW I prepared excel sheet which shows RSI Divergence in random data several years ago. I see a discussion going here: http://www.traderslaboratory.com/forums/beginners-forum/10734-divergence-trading.html#post127462 which so far adds no value against the divergence found in random data (i.e. is no positive expectancy, no edge). Maybe I will add that spreadsheet in this thread once divergence has been sufficiently discussed on real data.

 

The most important thing I learned from studying random charts was- If anything looks too easy, it does not works; if anything can be written down in one-liner rule, it does not works.

Share this post


Link to post
Share on other sites
Er, yeah of course. But the fact they can appear to be similar at all must make you question how you look at charts and the level of importance you choose to assign to patterns.

 

No. If someone that looks like Pavarotti can't sing, that doesn't make me wonder if Pavarotti was a fraud. The value of random data is that it looks like real data, NOT that it means anything about real data it happens to resemble.

 

(A funny example of a research paper generator that actually got a fake paper accepted for a conference a few years back: SCIgen - An Automatic CS Paper Generator. We shouldn't suspect that real papers on that same topic are all meaningless, just because a random process can create something similar.)

Share this post


Link to post
Share on other sites
No. If someone that looks like Pavarotti can't sing, that doesn't make me wonder if Pavarotti was a fraud. The value of random data is that it looks like real data, NOT that it means anything about real data it happens to resemble.

 

(A funny example of a research paper generator that actually got a fake paper accepted for a conference a few years back: SCIgen - An Automatic CS Paper Generator. We shouldn't suspect that real papers on that same topic are all meaningless, just because a random process can create something similar.)

 

Wow, I think that many people are seriously missing the point here.

Share this post


Link to post
Share on other sites

Many years ago there was a website you go to and take a test. It simple presented a series of charts (price only) and asked you to select whether it was real or random. (A cursory look and I could not find it today). I remember when I took it there where only a couple of charts that threw me. Real price charts have 'characteristics' that seem pretty rare in random data.

 

Here's one for those who wish to "play" .....

 

ARORA

Share this post


Link to post
Share on other sites

I have to say that this thread is really something special.

 

One can say what they want but the sheer reality really scares me...

 

Perhaps it is time to accept the "fact" stated decades ago; ie, technical analysis is not a science nor a winning concept. :thumbs down:

 

Btw, thanks for that arora-link - it was awesome.

Share this post


Link to post
Share on other sites

I also have another question besides the ones from the previous post, let's say each possibility (up, down, unchanged) has 1/3 of chance to appear in your entire set of data. How do make the sequence of their appearance random?

 

If it's not 1/3, it's not random. You could continuously place bet on the one possibility with higher odds.

 

If it's 1/3, after a sequence of appearance of a single possibility, the chance of appearance for other possibilities increases.You could then place bet on other possibilities. Doesn't that make randomness "predictable"?

Share this post


Link to post
Share on other sites

I think a definition of random is in order.

 

Is it the occurrence of an event without cause? Devoid of any causal factor.

 

All we can do here is guess.

 

Is it the occurrence of an event whose causal factors we ignore completely or partially?

 

Here we may start assigning degrees of probabilities based on our understanding of cause and effect.

Share this post


Link to post
Share on other sites
I have to say that this thread is really something special.

 

One can say what they want but the sheer reality really scares me...

 

Perhaps it is time to accept the "fact" stated decades ago; ie, technical analysis is not a science nor a winning concept. :thumbs down:

 

Btw, thanks for that arora-link - it was awesome.

 

After getting 19 out of 20 correct on the 2nd try at Aurora, I'd have to say that the human eye can learn to identify the difference between a real data series and a computer generated series, and do it very quickly. But is this skill useful for profit?

 

To the point regarding technical analysis: Most people who come into trading never question the roots of technical analysis or the nature of financial (price) data.That usually comes later after finding that the past may not do a very reliable job of predicting the future, despite how many lines or types of analysis are applied. Traders should be required to take a course in econometrics to learn about how to identify the true nature of price data and how to handle nonstationary time series. Financial data has stochastic trend. Because price is not deterministic, all those fancy TA indicators are useless when applied to raw price data, as they are all designed to work with stationary data.

 

The real kicker is that in most cases those moving averages that are so often applied to price by traders to predict future price movement have a lower order of integration than the underlying price data! It's like trying to predict a complex system with a simple system. Exactly how is that going to work? If only traders could profit from buying or selling a moving average (rather than the underlying price). Then it would be relatively easy to profit.

Share this post


Link to post
Share on other sites
...

 

The real kicker is that in most cases those moving averages that are so often applied to price by traders to predict future price movement have a lower order of integration than the underlying price data! It's like trying to predict a complex system with a simple system. Exactly how is that going to work? If only traders could profit from buying or selling a moving average (rather than the underlying price). Then it would be relatively easy to profit.

 

I know someone who is doing exactly that... trade on MA.

of course he is not simply buy/sell on a MA cross over, there are more to it than that.

but the basic premises of his system is MA, and he is doing quite well.

Never say never when it comes to trading. There are rocket scientists out there who can dream of things we can't even fathom.

Share this post


Link to post
Share on other sites

[quote=Tams;127558

Never say never when it comes to trading. There are rocket scientists out there who can dream of things we can't even fathom.

 

very true...just as there are simpletons that can trade as they dont need to over complicate things :)

 

On the point of randomness and trading.... IMHO this is where the real test for being able to run profits and cut losses can be vital, as even randomly generated numbers can appear to trend.

Share this post


Link to post
Share on other sites

I forget where I was recently reading, that to the human eye, we expect randomness to look like a relatively even distribution, sort of like white noise. Whereas true randomness does have periods of predicted trendiness (to our eyes).

 

Sometimes even expected, prolonged trends.

 

That being said there were recent extensive academic papers and proofs showing the effectiveness of various technical analysis methodologies.

 

If anyone cares I can dig them up.

 

-cjforex-

Share this post


Link to post
Share on other sites

I'd like to try to illustrate the idea in a different way. By looking at an event which most would label as random. The coin toss. The idea is obviously that a coin toss produces over many samples, an equal number (or near) of heads and tails based on a 50:50 probability of either results randomly appearing. But is this right? The results do exhibit what we expect to see, but is it on a random basis that each individual result is formed? What about side which the coin is flipped from, strength which the coin is flipped with, atmospheric variables? What would the results be if a mechanical device was used to flip the coin which could use precise force and it was done on the same side of the coin each time and in a vacuum? Well I would suggest the results may not vary in quite the same way. Obviously there are other variables and factors which would be needed to be accounted for in the design of any such experiment, but I think I've made the point.

 

So if something which we perceive to be random is not, how sure can we be each time we make a call and place a trade that the basis for our trade is complete and sound and has no random nature? My feeling is that nothing is random truely, like was indicated in a post earlier in this thread. Random is a creation assigned to events which we don't fully understand and so can't predict other than on a basis of probabilities from a set of previous results.

 

Because we can never be sure of why markets are currently exhibiting certain behaviour, whilst the behaviours themselves are not random, our interpretation of them can only have a probabilty of being correct and therefore show a degree of random nature. As Siuya in different words so rightly pointed out, any strategy must be correctly managed in terms of size, risk:reward etc., etc. and so we can balance out the perceived randomness by being better traders.

 

To reiterate one last time, I don't think markets behave randomly.

Share this post


Link to post
Share on other sites
I'd like to try to illustrate the idea in a different way. By looking at an event which most would label as random.

 

Ah, ok, now this I agree with. You are right, I could not tell what you were getting at by your initial posts.

 

In mathematics, random variables are introduced into a model in order to gloss over things that are either prohibitively expensive to track, or unknowable. The randomness is in the model, not the reality being modeled. So I agree with you 100%. The coin-flip example you used is actually the one used in more than one introductory book on the subject! You could give better than 50/50 odds on a coin flip if you knew the weight distribution of the coin, the air pressure, the position and velocity of the flipper's thumb at all times, etc. But that's hard, so you tend to go with a simpler 50/50 model that does an ok job of looking like a typical distribution over time.

 

If we were traders making directional bets on coin flips, it would be our job to go to the trouble of measuring the air pressure and watching the tension on the thumb, to get a better idea of which way the coin is going to land. The fact that a 50/50 model can make a reasonable picture of actual coin-flip trials doesn't make this any less possible. This is why a random walk picture of stock prices doesn't change the importance I place on chart patterns one bit. (I'm still confused about why you seemed to say otherwise??)

 

I think what confused me (and perhaps others) about your initial posts was when you said things like:

 

Would you trade the product in my chart if you knew it were completely random???

 

... which to me implied that (1) you did not know that it's a fact that you cannot beat a random walk with any strategy, and (2) you thought a product could be completely random. So, no one should trade a random product, but thankfully those do not exist :)

 

I was also thrown off here:

 

However, when you look at historical charts, they have the appearance of being randomly generated

 

To say that charts look like models of charts is true enough, but it just sounds funny to me. To my way of thinking, it is like saying Elvis looks like an Elvis impersonator. Price is a fact, and a random-walk model uses a single idea (that prices tend to move in small amounts relative to where they've been) to make a picture that is superficially similar.

 

To the other points in the thread: Can you tell them apart? Yes. There was also university study in the last few years that showed people were able to discern real price charts from randomly-scrambled ones with a little practice. More sophisticated models (for starters, you can vary the volatility) are harder to discern, but the point is that no matter how realistic the picture is, it's just a model, and does not imply that the real deal is in some way "random" or wholly "unpredictable."

Share this post


Link to post
Share on other sites

If it's 1/3, after a sequence of appearance of a single possibility, the chance of appearance for other possibilities increases.You could then place bet on other possibilities. Doesn't that make randomness "predictable"?

 

This is the Gambler's fallacy - Wikipedia, the free encyclopedia. The chance for the other possibilities does not increase in a model built on independent events.

Edited by RichardTodd

Share this post


Link to post
Share on other sites

It is empirically impossible to prove that something is behaving in a "random" way. For something to be perfectly random it has to lack inherent order - so trying to prove market randomness equals trying to prove that it lacks underlying order. Proving such a negative proposition is impossible - it's like trying to prove that there are no cakes in space. While this might be highly probable, providing mathematical proof of said proposition is a different pair of shoes.

 

I remember reading a passage in some book (I think it was Schwager) that a trainee was sitting next to his boss in some firm, looking at commodity quotes. After a couple of hours the trainee asked his boss how he managed to make so much money out of random price movements. The boss picked up the phone, told his trading floor to short the commodity pretty heavily - 30 seconds later prices printed lower. "If one man with a telephone", the boss answered his trainee, "can move the markets with a single phone call, how can it be random?" (I think this was Dennis, not sure tho...)

 

In any case. As always SIUYA has the right of it, randomness or not: it's trade management that makes or breaks your account. To answer your question would I trade a truly random stream of data? Sure, I would. Would I recommend investing in such an instrument? Hell no.

Share this post


Link to post
Share on other sites

In any case. As always SIUYA has the right of it, randomness or not: it's trade management that makes or breaks your account. To answer your question would I trade a truly random stream of data? Sure, I would. Would I recommend investing in such an instrument? Hell no.

 

If this were the case mathematicians would turn out as best traders. You cannot make money UNLESS you are able to identify patterns with positive expectancy (non-random).

Share this post


Link to post
Share on other sites
If this were the case mathematicians would turn out as best traders. You cannot make money UNLESS you are able to identify patterns with positive expectancy (non-random).

 

I humbly disagree. Profitability of a trading system is defined by your ability to press winners and to run fast in the face of adversity. Mathematicians (or any scholar, for that matter) make for terrible traders. Most think they have to be right in order to win, hence they fail to bail if the trade turns bad. Yep, wide generalizations FTW :rofl:

 

But we disgress... ;)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Topics

  • Posts

    • UHS Universal Health Services stock, nice rally off the 197 support area, from Stocks to Watch at https://stockconsultant.com/?UHS
    • SGMO Sangamo Therapeutics stock, good start off 2 support area at https://stockconsultant.com/?SGMO
    • AAPL Apple stock, watch for a top of range breakout at https://stockconsultant.com/?AAPL    
    • Date: 26th November 2024. Trump’s tariff threats boosted Dollar; Peso, Loonie, Gold & Oil Lower. The Trump trade picked up steam as investors cheered his pick for Treasury Secretary, Scott Bessent. Beliefs he will be a steadying voice in the administration’s fiscal measures, while still following President-elect Trump’s tariff and tax commitments, underpinned. Asia & European Sessions:   Trump threatened on Monday to impose sweeping new tariffs on China, Canada and Mexico on his first day as US President to crack down on illegal immigration and drugs. He would impose a 25% tax on all products entering the country from Canada and Mexico, and an additional 10% tariff on goods from China as one of his first acts as president of the US. Bessent’s 3-3-3 plan aims to cut the deficit to 3% of GDP, boost growth to 3%, and increase oil production to 3 mln barrels. Treasury yields dove in a curve flattener, extending their drops through the session, on expectations inflation will decelerate. A strong 2-year auction also supported. The Dow led the charge, climbing 0.99% to 44,736, a new record peak as the rally broadens. The S&P500 climbed to 6020, a session peak, but finished with a 0.3% gain to 5987. The NASDAQ closed 0.27% higher. Today, stock markets in Europe are posting broad losses, with the DAX down -0.6%, the FTSE 100 0.4%, after a largely weaker close across Asia. ECB: Lane suggests ECB must be open-minded on speed of rate cuts. The ECB’s Chief Economist said in a speech on Monday evening that “remaining open-minded about the speed and scale of adjustments is in fact a valuable strategy across various environments, as different situations may necessitate distinct approaches.” This careful, step-by-step strategy enables us to observe the responses of the economy to our decisions and continuously refine our understanding of their impacts.” The comments leave the door open to a 50 bp move in December, but also tie in with our expectation that the central bank will deliver a 25 bp while tweaking the forward guidance and commit to additional moves. Financial Markets Performance: The USDIndex hit a session high of 107.50 and is currently lower at 106.85. Mexican peso and Canadian dollar slumped as the dollar is being viewed as a haven after the comments of President-elect Donald Trump on tariffs on Canada, Mexico and China. USDCAD spiked to 1.4177 and USDMXN rallied to 20.74. Oil and Gold lost ground, in part on cooling geopolitical risks, and on Trump trades. Oil dropped -3.03% to $69.09 per barrel, in part on the Trump trade and on talk of a potential cease fire between Israel and Hezbollah. Similarly, gold fell -3.26% to $2605 per ounce. Always trade with strict risk management. Your capital is the single most important aspect of your trading business. Please note that times displayed based on local time zone and are from time of writing this report. Click HERE to access the full HFM Economic calendar. Want to learn to trade and analyse the markets? Join our webinars and get analysis and trading ideas combined with better understanding of how markets work. Click HERE to register for FREE! Click HERE to READ more Market news. Andria Pichidi HFMarkets Disclaimer: This material is provided as a general marketing communication for information purposes only and does not constitute an independent investment research. Nothing in this communication contains, or should be considered as containing, an investment advice or an investment recommendation or a solicitation for the purpose of buying or selling of any financial instrument. All information provided is gathered from reputable sources and any information containing an indication of past performance is not a guarantee or reliable indicator of future performance. Users acknowledge that any investment in FX and CFDs products is characterized by a certain degree of uncertainty and that any investment of this nature involves a high level of risk for which the users are solely responsible and liable. We assume no liability for any loss arising from any investment made based on the information provided in this communication. This communication must not be reproduced or further distributed without our prior written permission.
    • RYAM Rayonier Advanced Materials stock, nice trend with a pull back to 8.79 support area, bullish indicators at https://stockconsultant.com/?RYAM
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.