myInt == 4
myString == 0
How to get it to display both as:
myInt == 4
myString == 4
namespace NinjaTrader.NinjaScript.Indicators
{
public class myind : Indicator
{
private int myInt;
protected override void OnStateChange()
{
if (State == State.SetDefaults)
{
myInt = 4;
myString = myInt.ToString();
protected void CreateWPFControls()
{
...
switch(i)
{
case 0:
MyStrings = myInt.ToString();
...
switch(i)
{
case 0:
Myints = myInt.ToString();
Properties
[NinjaScriptProperty]
[Range(0, int.MaxValue)]
[Display(Name="MyInt", Order=0, GroupName="Parameters")]
public int MyInt
{
get { return myInt; }
set { myInt= value; }
}
[NinjaScriptProperty]
[Display(Name="myString", Order=1, GroupName="Parameters")]
public string myString
{ get; set; }

Comment