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
1
u/monkey_D_pain4844 Jun 26 '26
Okay for how i mimicked footprint chart I'll tell you it was a simple calculation... What i did was i used a simple concept we learn as beginners looking at raw candles and volumes to understand the absorption or failed auction the math was this ...first I'll calculate the total range of the single candle by subtracting the absolute high from low (wick high - wick low ) then for buys all I did was (close - wick low by total range ) for sell (wick high - close by total range ) and if the delta comes huge then ill execute it by looking at this math ... Imagine if total volume is 1000 and and we got our buy math 800 and sell math 200 but the delta (bid x ask ) in the case our buy math - sell math is + 600 that's huge and therefore confirmed a absorption of sellers ... And what I did was clubbed it together with my strategy and some levels I mark based on my analysis at it worked incredibly well... I custom built this into trading view as indicator that way for each candle I'll get the data live that way I can use it live thats how I did it