Hello, I'm simply trying to plot the volume profile traces (value area high/low and POC) for different equities. Whenever I run my code on “SPY”, the backtest completes with no errors (backtest attached). However, if I choose “QQQ” or “SQQQ” as the active security, the code encounters an error of the type seen below. I couldn't attach the backtest with the error since it could not complete, but you can reproduce the error by changing “SPY” to “QQQ”. It doesn't seem to be a syntax error, but I have no idea what could be causing this.

Runtime Error: The given key '313.7' was not present in the dictionary. in MarketProfile.cs:line 222

Author