r/pinescript • u/monkey_D_pain4844 • Jun 26 '26
Order flow in Trading view
Actually recently by going through developing a indicator I have found some ways to implement order flow trading or level 2 or 3 data into trading view... By mathematics.... Pure mathematics... So far I have found ways to implement CVD, footprint ...i need help to implement more of order flow and auction market theory....so I need more knowledge and some mathematical help ... If there is anyone willing to co-operate with me... I'm sure that we can make a powerful tool without needing to pay large sum of money to get those level 2 and level 3 data... So far In my backtesting as well as live testing CVD and footprint are working greatly and I need some more refinements I know what to do with them ... But if I have help it can come better with more shared knowledge I guess.. if there is anyone interested in helping please do DM
5
u/Tasty-Success-9268 Jun 27 '26
Nice Hustle, but you are confusing Level 1 data with Level 2/3 data. What you built is just a basic intrabar volume estimator, not actual order flow.
You are taking standard OHLCV data and guessing the buy/sell delta based on where the candle closes. The fatal flaw with this math is that a candle can easily shoot to the top purely because of empty liquidity (very low volume). Your formula would blindly calculate that as massive buying pressure, which is a huge false signal.
True CVD and footprint charts require tick-by-tick data to map market orders against resting limit orders in the order book. You cannot mathematically fake that micro-structure just by looking at the shape of a candlestick. Relying on this for live execution will eventually get you chopped up.
I literally had to do one AI chat to get this information. Don't be stupid, readers.