Rajandran R Creator of OpenAlgo - OpenSource Algo Trading framework for Indian Traders. Telecom Engineer turned Full-time Derivative Trader. Mostly Trading Nifty, Banknifty, High Liquid Stock Derivatives. Trading the Markets Since 2006 onwards. Using Market Profile and Orderflow for more than a decade. Designed and published 100+ open source trading systems on various trading tools. Strongly believe that market understanding and robust trading frameworks are the key to the trading success. Building Algo Platforms, Writing about Markets, Trading System Design, Market Sentiment, Trading Softwares & Trading Nuances since 2007 onwards. Author of Marketcalls.in

Bayesian Thinking in Market Profile and Orderflow

3 min read

How to trade this market better? Is this question really bugging you?

As a technical trader/investor, most of our energy is spent in knowing which is the best indicator, which is the best timeframe, which is the best symbols to trade. The key answer lies in Bayesian Thinking.

In this tutorial, I am going to keep the math outside and gonna take only the underlying philosophy behind the Bayesian math to take better decision making towards trading.

TradEdge 4.0 – June 2024 Edition
80+ hours of Live Online Mentorship Program on Market Profile, Orderflow Analytics, VSA

Live Classes Starting from 1st June 2024 onwards

Bayes’ Theorem was used to crack the infamous Nazi Enigma code during World War II. Alan Turing, a British mathematician, used Bayes Theorem to assess the translations culled from the Enigma encryption machine used to crack the German messaging code. Naive Bayes Filters are popularly used in Email filters to predict/classify whether the given mail is Spam or not. It is used in many real-life scientific applications especially in an uncertain environment where decision making is critical.

Bayesian thinking is all about continuously updating our older belief about our trading system/indicators with the newer information about the markets (Events, News, Volatility, Trading Sentiment, How traders behave in a particular environment, Global Markets,..etc).

SGX Nifty Example
Many traders watch SGX NIFTY and traders might have a prior belief that watching SGX Nifty before preopen one will be easy to predict & trade Nifty Futures. And many traders keep a tab on SGX Nifty even on exchange holidays as a general market mood check.

However by conducting various experiments and comparing the SGX Nifty around market open & recording the market sentiment one could be able to classify when SGX Nifty price action works and when it doesn’t.

Most of the time SGX Nifty showing extreme positive sentiment or extreme negative sentiment before pre-open and Nifty Futures (NseIndia) completely trading against the SGX Nifty sentiment before pre-open has high probability trend reversal odds. e.g SGX Nifty before pre open indicating 200 points gap down however, despite the negative sentiment, live markets opened only with 55 points down followed by complete reversal from the early morning sentiment.

Most of the time SGX Nifty is less trustable in anticipating a short term price action and watching SGX Nifty around holidays is more of unproductive and better used for self entertainment purpose.

Hower SGX Nifty is a general mood check indicator but needs to be handled properly with proper evidence. Lack of evidence with prior knowledge only results in poor decision making.

What is Bayes Theorem?

I am using here the example from the Veritasium channel to explain the philosophy behind Bayes theorem.

Continuously updating our beliefs based on the new evidence is where Bayesian plays a major role, especially in an uncertain environment thereby making better decision making.

Now you might wonder how to make trading decisions when there are extreme events like coronavirus fears, Iran Missile Attack, North Korean tensions, Demonetization, Saudi Aramco Attack..etc, and many other extreme market events which impact the markets in a very short-term.

As a trader, it is highly critical to make objective decisions during uncertain times because that could directly contradict your prior belief about events and more than that it could bring bigger damage to the portfolio if false positive beliefs got traded.

So Keeping a continuous track record of how markets reacted to events, and how your indicators behaved during events provides you a fair idea of whether to trade the events or not. If yes to trade the event day then how one should prepare to trade it. What are the likely scenarios? Such preparation helps you to reduce the false positives in your decisions.

Market Profile, Orderflow, and Bayesian Thinking

Both in Market Profile & Orderflow, we give more importance to the ongoing newer information than what happened in the past i.e focusing on what is happening right now. By reading the past data of Market Profile Charts & Orderflow one could predict what is likely to happen (prior belief). However by focusing on what is happening right now, one could adjust their prior belief and not be so rigid about the prior belief as the newer information is presenting a change in context (Posterior Belief) from the prior belief. Thereby End of the Day you look like less of an idiot when dealing with uncertain market conditions.

Bayesian thinking help traders especially when there are two contradicting opinions. For Example, think about multi-timeframe analysis, let say hourly charts are indicating a buy however, daily charts are indicating a clear sell. View from the daily charts directly contradicts with the view from the hourly charts and puts traders in a dilemma. In such a scenario focusing on what is happening right now helps traders to stick objectively, whether to take a trade decision based on hourly or to wait for some more time to observe newer information so that one could even align their context with the daily charts.

Bayesian Approach to Trading
Bayesian approach to trading is all about how we use prior market knowledge from our trading experiences and memories, and new evidence from our current market observation, to assign probabilities to everyday things and manage our trading by taking better trading decisions.

Truly I find the Bayesian approach Interesting in Market Profile & Orderflow studies and could be applicable in the field of technical analysis.

It helps traders to organize the data and build a trading framework where newer information changes the view of our prior belief and helps us to change the opinion when the dynamics of the market itself completely changing and thereby better decision making.

Rajandran R Creator of OpenAlgo - OpenSource Algo Trading framework for Indian Traders. Telecom Engineer turned Full-time Derivative Trader. Mostly Trading Nifty, Banknifty, High Liquid Stock Derivatives. Trading the Markets Since 2006 onwards. Using Market Profile and Orderflow for more than a decade. Designed and published 100+ open source trading systems on various trading tools. Strongly believe that market understanding and robust trading frameworks are the key to the trading success. Building Algo Platforms, Writing about Markets, Trading System Design, Market Sentiment, Trading Softwares & Trading Nuances since 2007 onwards. Author of Marketcalls.in

Understanding Market Balance and Trading Odds – Market Profile…

While learning market profile, two concepts stand out for their ability to provide traders with a deeper insight into market dynamics and decision-making processes:...
Rajandran R
2 min read

Order Flow Analytics – Masterclass – Live Training Session

Curios to learn orderflow concepts and strategies? We are organizing a two week program on Orderflow Analytics , an expertly designed course intended for...
Rajandran R
2 min read

[Free Webinar] Price Action Trading Vs Orderflow

Join us for an enlightening two-part webinar series, "Price Action Trading Vs Orderflow," designed as a precursor to our comprehensive Orderflow Analytics Masterclass. Dive...
Rajandran R
2 min read

Leave a Reply

Get Notifications, Alerts on Market Updates, Trading Tools, Automation & More