Thank you for the post.
This is a start but is still not enough information for me to complete a test.
What was the name of the sub folder, and what was the specific name of the strategy you created?
What syntax went in the file after you had created it, could you copy and paste the strategies code as you have it now or upload the file for review?
Was the problem immediate when using the backtest, or were there specific settings required to see the problem? Does the crash happen when loading the strategy or sometime during the backtest?
Once I have the full details surrounding your test, I will test the situation to see if I have the same outcome. That will give me enough information to know why that is happening. Without the full details surrounding what you are doing, I cannot complete a test or provide relevant help.
Alternatively, you could remove the changes you have made and use the steps I had originally provided without modification or creating subfolders. I can see that using a partial class from the strategies folder as outlined works on my end and I see that it works in the analyzer.
For properties you do not want to see in the user interface, you would need to use the Browsable attribute to hide them:
[Browsable(false)] public bool SessionPre {get;set;}
I look forward to being of further assistance.
Comment