Footprint Imbalance Structure Dots Creation

Job ID: 40357628

Budget: $10 – $30 USD

Indicator Name: Footprint Imbalance Structure Dots (EASY TASK!!!, will take no more than an hour for any competent programmer. Fixed price. $30
_________________________________________________________________________________________
1. Data Requirements
Chart Type: Line Break
Input Data:
Tick-based or aggregated (user-defined)
Footprint / Imbalance data per bar
Each bar contains multiple price levels with:
Bid Volume
Ask Volume

________________________________________________________________________________________
2. Trend Definition

For each bar:

Uptrend Bar:
Close > Open
Downtrend Bar:
Close < Open

________________________________________________________________________________________

3. Imbalance Qualification Rule

An imbalance print is considered VALID if:

Bid Volume > 0
Ask Volume > 0

AND

Imbalance condition is met (platform-defined imbalance logic)

_____________________________________________________________________________________________

4. User Inputs (Settings)
MaxImbalanceCount (default: 100)
Number of qualifying imbalance prints per bar to evaluate
MinBidVolume (default: 1)
MinAskVolume (default: 1)
Dot Colors:
YellowDotColor (default: Yellow)
RedDotColor (default: Red)
GreenDotColor (default: Green)
_____________________________________________________________________________________________

5. Yellow Dot Logic (Primary Prints)

For EACH bar (including forming bar):
Determine trend (Uptrend or Downtrend)
Iterate through imbalance prints in order of appearance (top-to-bottom or bottom-to-top depending on platform)

Select the first N valid imbalance prints where:
Bid >= MinBidVolume
Ask >= MinAskVolume
No zeros allowed

Limit to:
MaxImbalanceCount per bar

Plot:
Yellow Dot at each qualifying price level

_____________________________________________________________________________________________
6. Reference Level Storage

Store all Yellow Dot price levels from previous bars in a structure:
ReferenceLevels = list of price levels from Yellow Dots

____________________________________________________________________________________________

7. Red Dot Logic (Uptrend Reaction)
Condition:

While in an Uptrend:

For each new imbalance print in current or future bars:

If:
Price level == any previous Yellow Dot level
OR
Price level < any previous Yellow Dot level

AND

Imbalance is VALID (no zero bid/ask)

Then:
Plot Red Dot at that price level immediately when it occurs
_______________________________________________________________________________________________


8. Green Dot Logic (Downtrend Reaction)
Condition:

While in a Downtrend:

For each new imbalance print in current or future bars:

If:
Price level == any previous Yellow Dot level
OR
Price level > any previous Yellow Dot level

AND

Imbalance is VALID (no zero bid/ask)

Then:
Plot Green Dot at that price level immediately when it occurs

_______________________________________________________________________________________________

9. Real-Time Behavior

Indicator must operate:
On closed bars

AND on the currently forming bar
Dots must print in real time as imbalance prints occur

_______________________________________________________________________________________________


10. Additional Notes
Ignore all imbalance prints where:
Bid == 0 OR Ask == 0

Yellow dots represent:
Initial accepted imbalance levels

Red/Green dots represent:
Structural interaction with prior accepted levels


Used for matching levels:

abs(CurrentPrice - ReferenceLevel) <= Tolerance
Summary Logic
Yellow Dots = First valid imbalance prints per bar (no zeros)
Red Dots = Uptrend interaction at or below prior Yellow levels
Green Dots = Downtrend interaction at or above prior Yellow levels
____________________________________________________________________________________________
END OF SPEC