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

When I first came across this ages ago it made me sit up and it did the same when I came across it again recently. Take a look at the chart I have attached. What is it you ask? Oil, gold, S&P 500. Nope, it's nothing. It's a chart which I had excel generate simply by getting it to choose a tick higher, a tick lower or unchanged from the last price. But it looks very familiar doesn't it?

 

Now we all know the markets aren't random :stick out tongue:, but really when you look at an example like this it makes you wonder. What are the implications of such an exercise?

 

Here are some thoughts:

 

  1. There is an element of perceived randomness to the market at times which may or may not perpetuate further 'random' activity.
     
  2. Markets are not random at all as conditions present at any given moment, caused the subsequent price movement. However, when you look at historical charts, they have the appearance of being randomly generated as there is no context when viewing historical prices.
     
  3. Unless we assign useful context to market movements, any analysis which is done is never going to be much better than random.
     
  4. Would you trade the product in my chart if you knew it were completely random???

 

What do you guys reckon?

Tickchart.thumb.JPG.7f762ceb8aad9e046d7c2b07aec02114.JPG

Share this post


Link to post
Share on other sites

What primarily distinguishes random graphs to real price history is outliers- in reality, markets often stagnate at one level or may move in one direction for extended period of time.

 

Plotting an ROC for a random chart vs real chart will show remarked difference.

 

Also, if you plot candlesticks charts with the random data, any trader using candlestick charts will be able to tell the difference in a wink icon7.gif

Share this post


Link to post
Share on other sites

I'm not so sure about whether it'd be easy to tell the difference. I'd like to do a test of this but I'm afraid I don't know how to easily group my random tick data into large groups for OHLC candles or bars in my Excel spreadsheet.

Share this post


Link to post
Share on other sites

Okay so here are three(non-cherry picked) 20 bar samples of a 144 tick chart of the random data.

 

Just remember this is a very simple exercise. Each 'tick' which is randomly generated here can give rise to a change in price which is clearly not going to be as likely in a real product. But it does give a nice illustration.

20barsamplerandom144tick.JPG.e0e629717c3ea1518270aeea92e26a34.JPG

20barsamplerandom144tick2.JPG.7a811e0ad556bc353377b8c76f461faf.JPG

20barsamplerandom144tick3.JPG.0715a88ad64447bb6ac35563e032c606.JPG

Edited by TheNegotiator

Share this post


Link to post
Share on other sites

When I used to trade on floor, a friend once came with several candlestick charts which were generated out of random data.

 

They were intimidating at first, but we all came to the conclusion that none of the classic chart patterns can be seen on random charts. For example, a extended up run which culminates in 'reversal bar', 'long-legged doji' or 'engulfing bear'.

 

BTW, could you please post a chart with minimum 100 bars... 20 bars is too short of 'price' history.

Edited by Do Or Die
minimum 100 bars

Share this post


Link to post
Share on other sites

To start with, I don't know how this data was generated. It certainly makes a difference. Secondly, you were obviously intrigued enough to look further into it, which then gives rise to working out if there are any important ideas to draw from it. I have said already I don't believe markets are random.

 

Yes I know 20 bars is too short and no I won't post one with more than 100 unless someone can do it in excel for us as I did the exercise manually!!

Share this post


Link to post
Share on other sites

 

  1. There is an element of perceived randomness to the market at times which may or may not perpetuate further 'random' activity.
     
  2. Markets are not random at all as conditions present at any given moment, caused the subsequent price movement. However, when you look at historical charts, they have the appearance of being randomly generated as there is no context when viewing historical prices.
     
  3. Unless we assign useful context to market movements, any analysis which is done is never going to be much better than random.
     
  4. Would you trade the product in my chart if you knew it were completely random???

 

What do you guys reckon?

 

I think that there are both influences of random and non-random price behavior. If the economy goes bad, and earnings reports are bad, then sooner or later, many stock prices will go down. That is not random. It's very basic valuation.

 

But trading and investing has a large degree of speculation to it. And there are many buyers and many sellers. And even though human behavior may be fairly predictable at times, there is a large degree of uncertainty about how people will behave in the short term.

 

I probably would not trade at all, if there was truly total randomness. Although the examples you gave, seem to actually have some structure to them. So I question how random the data generation really is.

Share this post


Link to post
Share on other sites
I think that there are both influences of random and non-random price behavior. If the economy goes bad, and earnings reports are bad, then sooner or later, many stock prices will go down. That is not random. It's very basic valuation.

 

But trading and investing has a large degree of speculation to it. And there are many buyers and many sellers. And even though human behavior may be fairly predictable at times, there is a large degree of uncertainty about how people will behave in the short term.

 

I probably would not trade at all, if there was truly total randomness. Although the examples you gave, seem to actually have some structure to them. So I question how random the data generation really is.

 

People behave exactly the same way every time. They sell when they think price is as high as it is going to go and they buy when they feel that the price is as low as possible. There is nothing random with the above.

Share this post


Link to post
Share on other sites
People behave exactly the same way every time.

 

No, you're wrong. I'm a person, and I don't behave exactly the same way every time. I may be in exactly the same situation twice, and behave differently each time. I might be really, really stupid for doing that. But it's a fact. So you are so wrong! I can't believe how wrong you are! Hopefully you won't be consistently wrong every-time you make a post.

 

Actually, now that I think about it, you might be right. People do behave the same way every time. They are like robots. People think that they are in control of themselves, but they are not. We are all just robots. Complicated robots, but still robots.

 

Some people sell when they want price to be as high as it's going to go. Then they don't get what they want, or they get what they want. Some people sell when their strategy tells them to sell.

 

I know one thing for sure. People are consistently random all the time, in a non-random way. In other words the same patterns of behavior repeat themselves all the time with incredible consistency and predictability within the bigger picture, but trying to guess second to second what the behavior is going to be is more random.

Share this post


Link to post
Share on other sites
Okay so here are three(non-cherry picked) 20 bar samples of a 144 tick chart of the random data.

 

Just remember this is a very simple exercise. Each 'tick' which is randomly generated here can give rise to a change in price which is clearly not going to be as likely in a real product. But it does give a nice illustration.

 

A simple price chart does not display all the readily available information about a financial data series. There are three main variables price, time (from the start of the sample or from the last tick) and volume. When you construct a chart you tend to hold one of those constant (to construct a bar). If you display all (e.g a simple time based chart with volume histogram) I think it will be obvious what is random and what is real.

 

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.

Share this post


Link to post
Share on other sites

Exactly the sort of thing I am really trying to get at- how should the idea be viewed and is there anything which proves/disproves it and therefore is essential for us to consider? Or does it not matter at all??

 

Anyway, I totally agree about the idea of volume adding a level of context. Remember that a randomiser is just adding price/volume data based on possibilities. Not like traders who are specifically looking at areas of high previous 'value' as a lead to which they may trade off in the future.

 

That being said, I did a quick report in excel with the random data and added random volume at every tick between 1 and 100 and then summed volume at price. I know this isn't necessarily accurate to any particular product but that isn't the point.

 

Just take a look.

RandomVolume.thumb.JPG.0f5677343888f4e58d4ff87b66a8efd8.JPG

Share this post


Link to post
Share on other sites
No, you're wrong. I'm a person, and I don't behave exactly the same way every time. I may be in exactly the same situation twice, and behave differently each time. I might be really, really stupid for doing that. But it's a fact. So you are so wrong! I can't believe how wrong you are! Hopefully you won't be consistently wrong every-time you make a post.

 

Actually, now that I think about it, you might be right. People do behave the same way every time. They are like robots. People think that they are in control of themselves, but they are not. We are all just robots. Complicated robots, but still robots.

 

Some people sell when they want price to be as high as it's going to go. Then they don't get what they want, or they get what they want. Some people sell when their strategy tells them to sell.

 

I know one thing for sure. People are consistently random all the time, in a non-random way. In other words the same patterns of behavior repeat themselves all the time with incredible consistency and predictability within the bigger picture, but trying to guess second to second what the behavior is going to be is more random.

 

You missed the point. You do not make a decision to enter or exit based on a random decision. It is true that there are many reasons why someone enters or exits bu those reasons are not random. They may appear random to someone who cannot discern the rhythm from the noise. But blindness is no excuse for ignorance.

Share this post


Link to post
Share on other sites

I did a per bar volume study in the attachment. Although the volume doesn't vary that much, there are 3 of things which should be taken into account explaining this.

 

1- I only randomised the tick volume between 1-100.

 

2- The randomisation is not weighted at all. Most ticks in say ES are small(below 10) so when a couple of bigger clips come in in will change the volume seen in a small tick chart(144 in this case) considerably.

 

3- The bar sample is small given it is only 23 in length.

 

Anyway, here it is.

5aa710a226093_Tickwithvol.JPG.28d779f77b7c8f57dc899e8c2dbac386.JPG

Share this post


Link to post
Share on other sites
When I first came across this ages ago it made me sit up and it did the same when I came across it again recently. Take a look at the chart I have attached. What is it you ask? Oil, gold, S&P 500. Nope, it's nothing. It's a chart which I had excel generate simply by getting it to choose a tick higher, a tick lower or unchanged from the last price. But it looks very familiar doesn't it?

 

Now we all know the markets aren't random :stick out tongue:, but really when you look at an example like this it makes you wonder. What are the implications of such an exercise?

 

Here are some thoughts:

 

  1. There is an element of perceived randomness to the market at times which may or may not perpetuate further 'random' activity.
     
  2. Markets are not random at all as conditions present at any given moment, caused the subsequent price movement. However, when you look at historical charts, they have the appearance of being randomly generated as there is no context when viewing historical prices.
     
  3. Unless we assign useful context to market movements, any analysis which is done is never going to be much better than random.
     
  4. Would you trade the product in my chart if you knew it were completely random???

 

What do you guys reckon?

 

 

You should first define the notion of Randomness.

 

One of the most famous probabilist, De Finetti, started his famous book on probability with the sentence: "probability does not exist".

 

So, go figure.

 

As we know nothing about future prices, and they are obviously unpredictable, we could say prices are random. Or better, not deterministically predictable. And, actually not even probabilistically. ;-)

 

T

Share this post


Link to post
Share on other sites
When I first came across this ages ago it made me sit up and it did the same when I came across it again recently. Take a look at the chart I have attached. What is it you ask? Oil, gold, S&P 500. Nope, it's nothing. It's a chart which I had excel generate simply by getting it to choose a tick higher, a tick lower or unchanged from the last price. But it looks very familiar doesn't it?

 

Now we all know the markets aren't random :stick out tongue:, but really when you look at an example like this it makes you wonder. What are the implications of such an exercise?

 

Here are some thoughts:

 

  1. There is an element of perceived randomness to the market at times which may or may not perpetuate further 'random' activity.
     
  2. Markets are not random at all as conditions present at any given moment, caused the subsequent price movement. However, when you look at historical charts, they have the appearance of being randomly generated as there is no context when viewing historical prices.
     
  3. Unless we assign useful context to market movements, any analysis which is done is never going to be much better than random.
     
  4. Would you trade the product in my chart if you knew it were completely random???

 

What do you guys reckon?

 

Sure, I would trade it without a doubt, as long as it showed correct price action around my lines :) Happy trades!

Share this post


Link to post
Share on other sites

Randomness is definitely about perception in my eyes. The probabilities involved in trading are more about how likely you are to be right and not how likely the market might do something. There are just too many parameters which can't be known in trading at any given time that it's essential to plan for what you don't know about, happening. This is my idea of randomness. It's perception and lack of perception.

Share this post


Link to post
Share on other sites

The fact that random generated processes do not fit exactly to what market move is, is well known, although we still use brownian motion etc in quantitative finance.

But I thought that candlestick chart of these random data would be closer to real patterns that we may observe in the market. I think I could tell you, just taking a look at these charts, that these candles are not real data, as was said before: there is a lack of trading patterns in it.

Share this post


Link to post
Share on other sites

I disagree. I think they do show similarities. Remember the candlestick charts are really too short in length as to be really a good test. Plus I only did a 144 tick chart and I didn't factor in any probability of whether a tick changed the bid/ask or for that matter that the next tick could only be a bid/ask price and not 1 higher/1 lower/unchanged. It's a crude example of randomly generated data which I attempted to make simple but fairly decent, so I don't think picking it apart is really the object of the exercise I had in mind. If anyone with better excel/access skills than me wants to work on a better model for the random data and present it here, that would be great.

Share this post


Link to post
Share on other sites

I don't know exactly how you generated the data, but if it was well thought through, the chart you show is a good demonstration. It shows consolidation followed by a break then a retest of consolidation followed by a trend then a double top!! No patterns huh?

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

    • Date: 3rd April 2025.   Gold Prices Pull Back After Record High as Traders Eye Trump’s Tariffs.   Key Takeaways:   Gold prices retreated after hitting a record high of $3,167.57 per ounce due to profit-taking. President Trump announced a 10% baseline tariff on all US imports, escalating trade tensions. Gold remains exempt from reciprocal tariffs, reinforcing its safe-haven appeal. Investors await US non-farm payroll data for further market direction. Fed rate cut bets and weaker US Treasury yields underpin gold’s bullish outlook. Gold Prices Retreat from Record Highs Amid Profit-Taking Gold prices saw a pullback on Thursday as traders opted to take profits following a historic surge. Spot gold declined 0.4% to $3,122.10 per ounce as of 0710 GMT, retreating from its fresh all-time high of $3,167.57. Meanwhile, US gold futures slipped 0.7% to $3,145.00 per ounce, reflecting broader market uncertainty over economic and geopolitical developments.   The recent rally was largely fueled by concerns over escalating trade tensions after President Donald Trump unveiled sweeping new import tariffs. The 10% baseline tariff on all goods entering the US further deepened the global trade conflict, intensifying investor demand for safe-haven assets like gold. However, as traders locked in gains from the surge, prices saw a modest retracement.   Trump’s Tariffs and Their Market Implications On Wednesday, Trump introduced a sweeping tariff policy imposing a 10% baseline duty on all imports, with significantly higher tariffs on select nations. While this move was aimed at bolstering domestic manufacturing, it sent shockwaves across global markets, fueling inflation concerns and heightening trade war fears.   Gold’s Role Amid Trade War Escalations Despite the widespread tariff measures, the White House clarified that reciprocal tariffs do not apply to gold, energy, and ‘certain minerals that are not available in the US’. This exemption suggests that central banks and institutional investors may continue favouring gold as a hedge against economic instability. One of the key factors supporting gold is the slowdown that these tariffs could cause in the US economy, which raises the likelihood of future Federal Reserve rate cuts. Gold is currently in a pure momentum trade. Market participants are on the sidelines and until we see a significant shakeout, this momentum could persist.   Impact on the US Dollar and Bond Yields Gold prices typically move inversely to the US dollar, and the latest developments have pushed the dollar to its weakest level since October 2024. Market participants are increasingly pricing in the possibility of a Fed rate cut, as the tariffs could weigh on economic growth.   Additionally, US Treasury yields have plummeted, reflecting growing recession fears. Lower bond yields reduce the opportunity cost of holding non-yielding assets like gold, making it a more attractive investment.         Technical Analysis: Key Levels to Watch Gold’s recent rally has pushed it into overbought territory, with the Relative Strength Index (RSI) above 70. This indicates a potential short-term pullback before the uptrend resumes. The immediate support level lies at $3,115, aligning with the Asian session low. A further decline could bring gold towards the $3,100 psychological level, which has previously acted as a strong support zone. Below this, the $3,076–$3,057 region represents a critical weekly support range where buyers may re-enter the market. In the event of a more significant correction, $3,000 stands as a major psychological floor.   On the upside, gold faces immediate resistance at $3,149. A break above this level could signal renewed bullish momentum, potentially leading to a retest of the record high at $3,167. If bullish momentum persists, the next target is the $3,200 psychological barrier, which could pave the way for further gains. Despite the recent pullback, the broader trend remains bullish, with dips likely to be viewed as buying opportunities.   Looking Ahead: Non-Farm Payrolls and Fed Policy Traders are closely monitoring Friday’s US non-farm payrolls (NFP) report, which could provide critical insights into the Federal Reserve’s next policy moves. A weaker-than-expected jobs report may strengthen expectations for an interest rate cut, further boosting gold prices.   Other key economic data releases, such as jobless claims and the ISM Services PMI, may also impact market sentiment in the short term. However, with rising geopolitical uncertainties, trade tensions, and a weakening US dollar, gold’s safe-haven appeal remains strong.   Conclusion: While short-term profit-taking may trigger minor corrections, gold’s long-term outlook remains bullish. As global trade tensions mount and the Federal Reserve leans toward a more accommodative stance, gold could see further gains in the months ahead.   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 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.
    • AMZN Amazon stock, nice buying at the 187.26 triple+ support area at https://stockconsultant.com/?AMZN
    • DELL Dell Technologies stock, good day moving higher off the 90.99 double support area, from Stocks to Watch at https://stockconsultant.com/?DELL
    • MCK Mckesson stock, nice trend and continuation breakout at https://stockconsultant.com/?MCK
    • lmfx just officially launched their own LMGX token, Im planning to grab a couple of hundred and maybe have the option to stake them. 
×
×
  • Create New...

Important Information

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