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

    • HLF Herbalife stock, watch for a bull flag breakout above 9.02 at https://stockconsultant.com/?HLF
    • Date: 1st April 2025.   Will Gold’s Rally Hold Strong as New Trade Tariffs Take Effect Tomorrow?   Gold continues to increase in value for a sixth consecutive day and is trading more than 17% higher in 2025. Amid fear of higher inflation, a recession and the tariffs war escalating investors continue to invest into Gold pushing demand higher. The trade policy from April 2nd onwards continues to be a key factor for the whole market. Can Gold maintain its upward trend? Trade Policy From Tomorrow Onwards Starting as soon as tomorrow, a 25% tariff will be imposed on all passenger cars imported into the United States. While this White House policy is anticipated to negatively affect European industrial performance, it will also lead to higher transportation and maintenance costs for everyday American taxpayers. The negative impact expected on both the EU and US is one of the reasons investors continue to buy Gold. Additionally, last month, President Donald Trump announced reciprocal sanctions against any trade partners that impose import restrictions on US goods. Furthermore, tariffs on products from Canada and the EU could increase even more if they attempt to coordinate a response. Overall, investors continue to worry that new trade barriers will prompt retaliatory measures, particularly from China, the Eurozone, and Japan. Any retaliation is likely to escalate the trade conflict and prompt another reaction from the US. Experts at Goldman Sachs and other investment banks warn that this will lead to rising inflation and unemployment. They also caution that it could effectively halt economic growth in the US.   XAUUSD 1-Hour Chart   The Weakness In The US Dollar Another factor which is allowing the price of XAUUSD to increase in value is the US Dollar which has been unable to maintain any bullish momentum. Despite last week’s Core PCE Price Index rising to its highest level since February 2024, the US Dollar has been unable to see any significant rise in value. Due to the US Dollar and Gold's inverse correlation, the price of Gold is benefiting from the Dollar weakness. Investors worry that new trade barriers will prompt retaliatory measures from China, the Eurozone, and Japan, potentially escalating the conflict. Experts at The Goldman Sachs Group Inc. believe that such actions by the US administration will drive rising inflation and unemployment while effectively halting economic growth in the country. Can Gold Maintain Momentum? When it comes to technical analysis, the price of Gold is not trading at a price where oscillators are indicating the instrument is overbought. The Relative Strength Index currently trades at 68.88, outside of the overbought area, since Gold’s price fell 0.65% during this morning’s session. However, even with this decline, the price still remains 0.40% higher than the day’s open price. In terms of fundamental analysis, there continues to be plenty of factors indicating the price could continue to rise. However, the price movement of the week will also partially depend on the employment data from the US. The US is due to release the JOLTS Job Vacancies for February this afternoon, the ADP Non-Farm Employment Change tomorrow, and the NFP Change and Unemployment Rate on Friday. If all data reads higher than expectations, investors may look to sell to lock in profits at the high price. Key Takeaway Points: Gold’s Rally Continues – Up 17% in 2025 as investors seek safety from inflation, recession fears, and trade tensions. Trade War Impact – New US tariffs and potential retaliation from China, the EU, and Japan drive uncertainty, boosting Gold demand. Weak US Dollar – The Dollar’s struggle supports Gold’s rise due to their inverse correlation. Gold’s Outlook – Uptrend may continue, but US jobs data could trigger profit-taking. 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.   Michalis Efthymiou 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 Leveraged 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.
    • Date: 31st March 2025.   Trump Confirms Tariffs on All Countries, Sending Stocks Lower.   The NASDAQ continues to trade lower due to the US confirming the latest tariffs will be on all countries. In addition to this, bearish volatility also is largely due to the higher inflation data from Friday. The NASDAQ declines to its lowest price since September 11th 2024. Core PCE Price Index - Inflation Increases Again! The PCE Price Index read 2.5% aligning with expert forecasts not triggering any alarm bells. However, the Core PCE Price Index rose from 0.3% to 0.4% MoM and from 2.7% to 2.8% YoY, signalling growing inflationary pressure. This increases the likelihood that the Federal Reserve will maintain elevated interest rates for an extended period. The NASDAQ fell 2.60% due to the higher inflation reading which is known to pressure the stock market due to pressure on consumer demand and a more hawkish Federal Reserve. Boston Fed President Susan Collins recently commented that tariffs could drive up inflation, though the long-term impact remains uncertain. She told journalists that a short-term spike is the most probable outcome but believes the current pause in monetary policy adjustments is appropriate given the prevailing uncertainties. Although, certain investment banks such as JP Morgan actually believe the Federal Reserve will be forced into cutting rates. This is due to expectations that the economy will struggle under the new trade policy. For example, JP Morgan expects the Federal Reserve to delay rate cuts but will quickly cut towards the end of 2025. Market Risk Appetite Takes a Hit! A big factor for the day is the drop in the risk appetite of investors. This can be seen from the VIX which is up almost 6%, Gold which is trading 1.30% higher and the Japanese Yen which is the day’s best performing currency. Most safe haven assets, bar the US Dollar, increase in value. It is also worth noting that all indices are decreasing in value during this morning's Asian session with the Nikkei225 and NASDAQ witnessing the strongest decline. Previously the stock market rose in value as investors heard rumours that tariffs would only be on certain countries. This bullish swing occurred between March 14th and 25th. Over the weekend, President Donald Trump indicated that the upcoming tariffs would apply to all countries, not just those with the largest trade imbalances with the US. NASDAQ - Technical Analysis In terms of technical analysis, the NASDAQ continues to obtain indications that sellers control the price action. The price opens on a bearish price gap measuring 0.30% and trades below all Moving Averages on all timeframes. The NASDAQ also trades below the VWAP and almost 100% of the most influential components (stocks) are declining in value.     The next significant support level is at $18,313, and the resistance level stands at $20,367.95. Key Takeaway Points: NASDAQ falls to its lowest since September 2024 as the US confirms tariffs on all countries, adding to inflation concerns. Core PCE inflation rises to 0.4% MoM and 2.8% YoY, increasing the likelihood of prolonged high interest rates. Investor risk appetite drops as VIX jumps 6%, gold gains 1.3%, and safe-haven assets outperform. NASDAQ shows strong bearish momentum, trading below key technical levels with support at $18,313 and resistance at $20,367.95. 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.   Michalis Efthymiou 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 Leveraged 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.
    • PM Philip Morris stock, top of range breakout at https://stockconsultant.com/?PM
    • EXC Exelon stock, nice range breakout at https://stockconsultant.com/?EXC
×
×
  • Create New...

Important Information

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