I'd like a column on the market analyzer where I can enter the price I'm interested in buying the stock at. I see the Instrument column is the only one that takes Input. Can I copy and then mod it to allow me to type in a price?
it looks simple:
//
// Copyright (C) 2006, NinjaTrader LLC <[email protected]>.
//
#region Using declarations
using System;
using System.ComponentModel;
using System.Drawing;
using NinjaTrader.MarketAnalyzer;
#endregion
// This namespace holds all market analyzer column definitions and is required. Do not change it.
namespace NinjaTrader.MarketAnalyzer
{
/// <summary>
/// </summary>
public class Notes : NinjaTrader.MarketAnalyzer.ColumnBase
{
/// <summary>
/// This method is used to configure the market analyzer column and is called once before any event mathod is called.
/// </summary>
protected override void Initialize()
{
CalculateOnBarCloseConfigurable = false;
DataType = typeof(string);
RelativeColumnWidth = 5;
RequiresBars = false;
Text = Instrument.Fullname;
}
/// <summary>
/// </summary>
/// <returns></returns>
public override string ToString()
{
return "Instrument";
}
}
}
Would I just change the return "Instrument"; to blank? or can I change the Text = Instrument.Fullname; to Text = string or something?
Comment