'indicator already defines a member called OnMarketData with the same parameter type.'
Then when I try to use only one "protected override void OnMarketData(MarketDataEventArgs e)" and run the other 3 scripts under the one OnMarketData, again all the variables are unique, the error is
'the name 'variable' does not exist in the current context'. The variable it's referring to is the unique name I give the "e" after EventArgs.
This has nothing to do with the math of the code, that's all fine. I just need to know how to run these scripts on one indicator.
Thank you.
Comment