Is there a way to generate logs from the backtesting code I run.
For example I am calculating a variable (in my backtesting code) which is a average range of last 5 days, can I log the value of this, to see if it’s calculated correctly?
You have 2 options:
1/ create an indicator you can add on chart when you are backtesting
2/ use the GRAPH instruction in your Probacktest code, to draw your variable value on chart