Greetings,
What edits are required to this indicator file to enable edit of 'Plots" and "Lines" in the Indicator Properties UI?
Thanks!
HedgePlay
DimensionlessPFE
protected override void OnStateChange()
{
if (State == State.SetDefaults)
{
Description = @"The DimensionlessPFE (Polarized Fractal Efficiency) is an indicator that uses fractal geometry to determine how efficiently the price is moving.";
Name = "DimensionlessPFE";
Calculate = Calculate.OnBarClose;
IsOverlay = false;
DisplayInDataBox = true;
DrawOnPricePanel = true;
DrawHorizontalGridLines = true;
DrawVerticalGridLines = true;
PaintPriceMarkers = true;
ScaleJustification = NinjaTrader.Gui.Chart.ScaleJustification.Right;
IsSuspendedWhileInactive = true;
}
else if (State == State.Configure)
{
AddPlot(Brushes.Blue, "DimensionlessPFE");
AddPlot(Brushes.Gray, "Zero");
}
}
protected override void OnBarUpdate()
{
...
}
#region Properties
[Display(Name="Period", Description="Period", GroupName="Parameters", Order = 1)]
public int Period
{
get { return period; }
set { period = Math.Max(1, value); }
}
[Display(Name="Smooth", Description="Smooth", GroupName="Parameters", Order = 1)]
public int Smooth
{
get { return smooth; }
set { smooth = Math.Max(1, value); }
}
#endregion

Comment