The chart below shows what percentage of gamma exists in the next expiration vs all expiration as a whole. If a position is very concentrated in the next expiration it could indicate a roll or pin may take place.
Note: the next expiration date is indicated in the center column header.
SPX Gamma Expiration Concentration:
SPY Gamma Expiration Concentration: