MarketStateIndicator analyzes the depth of market and uses the obtained data to define the current market state. As practice shows, the price moves in the direction where money can be found!
- In Offer state, the price usually goes up.
- In Demand state, it usually falls.
- In Balance state, the price's behavior is unclear.
- SizeOffer - Offer size |CountOffer - displays how long SizeOffer dominates over SizeDemand
- SizeDemand - Demand size | CountDemand - displays how long SizeDemand dominates over SizeOffer
- Number_Go_State (the value of the counter for changing the state) - CountOffer or CountDemand value, at which the state is changed.
- Coefficient_Imbalance - how many times SizeOffer value should be different from SizeDemand in order to change CountOffer or CountDemand respectively.