How do I resolve the CS120 I'm getting?
I'm trying to access or make public the double values of highesthigh and lowestlow which are located in an abstract class which I have now made public (it was previously private). One of the helpful samaritans on this site - DocBrown - provided with me a solution which involved using a Public Class which I have named 'X' and created a public void method named 'Readings'. As an experiment, I tried to "print" the highesthigh value but got an CS120 error - An object reference is required for the non-static field, method, or property 'NinjaTrader.Indicatio.IndicatorBase.Print(string)'. I tried making the method static but I still got the same error message. Could somebody please help? 

    public class TDSequential : Indicator
    {
        		private class TDSeqBuy : TDSeq
		{
			
			public TDSeqBuy( TDSequential tdst ) : base( tdst )
			{
			}
			
					
		private class TDSeqSell : TDSeq
		{
			public TDSeqSell( TDSequential tdst ) : base( tdst )
			{
			}

					
		public abstract class TDSeq
		{
	        			
			protected abstract string Name  { get; }
			protected abstract bool PriceFlip { get; }
			protected abstract bool ValidSetup { get; }
			protected abstract double TDSTHigh { get; }
			protected abstract double TDSTLow { get; }
			public double highesthigh = 0;
			public double lowestlow = 0;
			
		public TDSeq OnBarUpdate()
		{
		Print = String.Format( "OnBarUpdate {0} setupCount {1}", stateSetup, setupCount );
		switch( stateSetup )
		{
		   case TDSTStateSetup.PriceFlip:
			if( PriceFlip )
			{
			}
			break;
						
		   case TDSTStateSetup.Count:
			if (( ValidSetup ) && (tdsetup))
			{
			stateSetup = TDSTStateSetup.Completed;
			}
			break;
		   case TDSTStateSetup.Completed:
			if( ValidSetup )
			{
			}
			else
			{
			    highesthigh = TDSTHigh;
			    lowestlow = TDSTLow;
			    stateSetup = TDSTStateSetup.Finished;
			}
			break;
		}
				
		public class X
		{
			public void Readings(TDSequential.TDSeq highesthigh)
			{
				
				Print("today is saturday" + highesthigh.ToString());
			}
		}
How do I resolve the CS120 I'm getting?
===

I'm trying to access or make public the double values of highesthigh and lowestlow which are located in an abstract class which I have now made public (it was previously private). One of the helpful samaritans on this site - DocBrown - provided with me a solution which involved using a Public Class which I have named 'X' and created a public void method named 'Readings'. As an experiment, I tried to "print" the highesthigh value but got an CS120 error - An object reference is required for the non-static field, method, or property 'NinjaTrader.Indicatio.IndicatorBase.Print(string)'. I tried making the method static but I still got the same error message. Could somebody please help? 

    public class TDSequential : Indicator
    {
        		private class TDSeqBuy : TDSeq
		{
			
			public TDSeqBuy( TDSequential tdst ) : base( tdst )
			{
			}
			
					
		private class TDSeqSell : TDSeq
		{
			public TDSeqSell( TDSequential tdst ) : base( tdst )
			{
			}

					
		public abstract class TDSeq
		{
	        			
			protected abstract string Name  { get; }
			protected abstract bool PriceFlip { get; }
			protected abstract bool ValidSetup { get; }
			protected abstract double TDSTHigh { get; }
			protected abstract double TDSTLow { get; }
			public double highesthigh = 0;
			public double lowestlow = 0;
			
		public TDSeq OnBarUpdate()
		{
		Print = String.Format( "OnBarUpdate {0} setupCount {1}", stateSetup, setupCount );
		switch( stateSetup )
		{
		   case TDSTStateSetup.PriceFlip:
			if( PriceFlip )
			{
			}
			break;
						
		   case TDSTStateSetup.Count:
			if (( ValidSetup ) && (tdsetup))
			{
			stateSetup = TDSTStateSetup.Completed;
			}
			break;
		   case TDSTStateSetup.Completed:
			if( ValidSetup )
			{
			}
			else
			{
			    highesthigh = TDSTHigh;
			    lowestlow = TDSTLow;
			    stateSetup = TDSTStateSetup.Finished;
			}
			break;
		}
				
		public class X
		{
			public void Readings(TDSequential.TDSeq highesthigh)
			{
				
				Print("today is saturday" + highesthigh.ToString());
			}
		}