I'm experiencing issues with the Equity plot showed when pressing "Result" when also using plotTradeProfile(). When plotTradeProfile is used, the equity curve produced covers a very short time period, like if I had set PlotBars = 100 or similar.
The attached image shows two plots.
They are both produced by pressing the "Result" button, and the ONLY difference between the runs of the script is that for the bottom one, I've commented out
Plotbars is not used in this script at all