I have a question stepan7...
How are you determining IBGS? Only a couple ways I know...
1) track the FORMING of a bar in real-time, for example, has high of bar formed before the low, which many times, for that, and like characteristics, requires a bit of "guessing", and 2) wait until bar close, before analyzing semi-persistent bar-forming tracking data points.
My question stems from the knowledge that IBGS can happen at anytime, irrespective of the pricebar "case", and irrespective if the "case" at any moment during formation can be locked-in or not.
If only it was as simple as comparing close v open, compared against dom/non-dom segment
There are two answers mine and spydertrader's. Which of one you prefer?

1. Bar is Black/Red by HH/LL or FTP/FBP or Stitch Up/Down but it has O/C or C/C in the opposite direction - we got IBGS. It has nothing to do with the Volume. You have mentally split Volume: partial Up, partial Down.
2. Spyder take to the account that Abs(O/C) or Abs(C/C) > 1 tick, I don't. There are some reasons for that, it's long story to explain.
If it's not clear for you PM me I will sent the code.
3. And Yes, to determine IBGS you have wait to the End of the Bar.
P.S.
I think you are over complicate this stuff. In reality it's very simple
but not easy. 
Last edited:
