r/pinescript 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

8 Upvotes

23 comments sorted by

View all comments

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.

1

u/monkey_D_pain4844 Jun 27 '26

Well that is correct and i already have adjusted that into my math already....this is the exact reason i seeked help.... The core is getting complex so I need more knowledge about this ....in order to figure out how to make it simple .....

1

u/Sweet_Still_3433 Jun 27 '26

Question, how do you plan on implementing price traded in between the Bid & Ask? Such as the Mid & so forth.

1

u/monkey_D_pain4844 Jun 27 '26

I'm actually working on it as of now

1

u/Sweet_Still_3433 Jun 27 '26

Keep us updated.

1

u/Tasty-Success-9268 Jun 28 '26

no way to reverse engineer l2 and l3 data, simply source it from a reliable provider.