Does it make any difference "where" i set my private variables within a strategy?
In other words, is there a difference between the two methods below:
namespace NinjaTrader.NinjaScript.Strategies
{
public class MissionImpossbleWeeklyBoth : Strategy
{
private double SundayTradesCumProfit = 0;
private double CurrentTradesCumProfit = 0;
protected override void OnBarUpdate()
{
private double SundayTradesCumProfit = 0;
private double CurrentTradesCumProfit = 0;
Thanks

Comment