I have a custom indicator, that has one color missing in the config.
that color should show up where the arrow is
this is varialbles section:
#region Variables public int xTF = 1; public bool showEBOnly = true; public bool showPriorBar = true; public bool showLast200 = true; public double offset = 1; public int Font = 7; public bool sAlert = false; public Color fontColor = Color.Black; public Color backColor = Color.Yellow; string xtF_Short, xtF_Long; double xTF1; double Toffset; double lastClose = 0; #endregion
#region Properties //[Browsable(false)] // this line prevents the data series from being displayed in the indicator properties dialog, do not remove [XmlIgnore()] // this line ensures that the indicator can be saved/recovered as part of a chart template, do not remove [Description("Number of Ticks from Signal Bar")] [GridCategory("Parameters")] [NinjaTrader.Gui.Design.DisplayName("\t\t\t\tNumber of Ticks")] public int Ticks { get { return xTF; } set { xTF = Math.Max(1, value); } } [Description("Show Entry Bar only (bar after Signal Bar)")] [GridCategory("Parameters")] [NinjaTrader.Gui.Design.DisplayName("\t\t\tShow Entry Bar only")] public bool zShowEBOnly { get { return showEBOnly; } set { showEBOnly = value; } } [Description("Show tF from Prior Bar")] [GridCategory("Parameters")] [NinjaTrader.Gui.Design.DisplayName("\t\tShow Prior Bar")] public bool zShowPriorBar { get { return showPriorBar; } set { showPriorBar = value; } } [Description("Show for last 200 bars only")] [GridCategory("Parameters")] [NinjaTrader.Gui.Design.DisplayName("\tShow Last 200")] public bool zShowLast200 { get { return showLast200; } set { showLast200 = value; } } //----------------------------------------------------------------------- [Description("Show Alert")] [Category("Sound Alerts")] [NinjaTrader.Gui.Design.DisplayName("Alert")] public bool ShowAlert { get { return sAlert; } set { sAlert = value; } } //----------------------------------------------------------------------- [Description("Distance of markers from bar H/L in ticks")] [Category("Display Options")] [NinjaTrader.Gui.Design.DisplayName("Offset")] public double Offset { get { return offset; } set { offset = Math.Max(1, value); } } [Description("Font Size")] [Category("Display Options")] [NinjaTrader.Gui.Design.DisplayName("Font Size")] public int FontSize { get { return Font; } set { Font = Math.Max(6, value); } } [Description("Color of Font")] [Category("Display Options")] [NinjaTrader.Gui.Design.DisplayName("Font Color")] public Color FontColor { get { return fontColor; } set { fontColor = value; } } [Browsable(false)] public string FontColorSerialize { get { return NinjaTrader.Gui.Design.SerializableColor.ToString(fontColor); } set { fontColor = NinjaTrader.Gui.Design.SerializableColor.FromString(value); } } [Description("BackColor for Entry Bar")] [Category("Display Options")] [NinjaTrader.Gui.Design.DisplayName("Entry Bar BackColor")] public Color BackColor { get { return backColor; } set { backColor = value; } } [Browsable(false)] public string BackColorSerialize { get { return NinjaTrader.Gui.Design.SerializableColor.ToString(backColor); } set { backColor = NinjaTrader.Gui.Design.SerializableColor.FromString(value); } } #endregion
Many thanks
Thomas
Comment