I'm walking through the debugger and when I run this on a live chart at State.DataLoaded I load two EMA indicators to two variables for references. Both are intended to be using the dataset BarsArray[2] which is on the 1 minute time frame.
My first instance (named sema) loads as expected and in the debugger shows it's using the dataset from the 1 min time frame immediately after I load another (fema) with a different period also on the 1 minute time frame but for some reason this one loads using the dataset from my base chart a Volumetric 150 period tick. I don't get it.
The function calls are literally the same and one right after the other.
I have setup the strategy analyzer to see if I can reproduce it on another chart, but I don't get this error and the datasets all load as expected. Any thoughts on this? Since upgrading VisualStudio Code it just seems things are a bit off. But that's really the only change since Friday last week where everything was running fine. The entire 'obj' folder has been problematic today. I've tried just deleting the entire contents of x64 from this folder which contained the artifacts for Release and Debug. Can I just delete the entire 'obj' folder all together and recompile? Will this give me a cleaner slate to start on? Maybe my files are out of sync?
This is the first loaded data:
And then the second: (called fema)
Not sure if it's related but I will note at some point through running the debugger I get this error and cannot compile anymore. I have to go delete the project debugger folders under 'obj' to resolve this

Comment