Add a new market data column in TWS called "Gap%" that indicates the current market compared to the most recent close (i.e. yesterday's close during the pre-market and RTH, today's close after 16:00 ET):
If Bid > Close Then (100 * Bid / Close) - 100
Else If Ask < Close Then (100 * Close/ Ask) - 100
Else Nothing
"Nothing" should be represented as a blank, not 0.
If Bid > Close Then (100 * Bid / Close) - 100
Else If Ask < Close Then (100 * Close/ Ask) - 100
Else Nothing
"Nothing" should be represented as a blank, not 0.
