Rename property group to accurately reflect %B indicator name
This commit is contained in:
parent
c904240a69
commit
06b3235fc1
@ -8,7 +8,7 @@ using System.Windows.Media;
|
|||||||
|
|
||||||
namespace NinjaTrader.NinjaScript.Indicators
|
namespace NinjaTrader.NinjaScript.Indicators
|
||||||
{
|
{
|
||||||
[CategoryOrder("Bollinger Bands", 1)]
|
[CategoryOrder("%B", 1)]
|
||||||
[CategoryOrder("Plots", 2)]
|
[CategoryOrder("Plots", 2)]
|
||||||
public class PercentB : Indicator
|
public class PercentB : Indicator
|
||||||
{
|
{
|
||||||
@ -67,13 +67,13 @@ namespace NinjaTrader.NinjaScript.Indicators
|
|||||||
[Browsable(true)]
|
[Browsable(true)]
|
||||||
[Range(1, int.MaxValue)]
|
[Range(1, int.MaxValue)]
|
||||||
[NinjaScriptProperty]
|
[NinjaScriptProperty]
|
||||||
[Display(Name = "Moving Average Period", GroupName = "Bollinger Bands", Order = 1)]
|
[Display(Name = "Moving Average Period", GroupName = "%B", Order = 1)]
|
||||||
public int Period { get; set; }
|
public int Period { get; set; }
|
||||||
|
|
||||||
[Browsable(true)]
|
[Browsable(true)]
|
||||||
[Range(0.1, double.MaxValue)]
|
[Range(0.1, double.MaxValue)]
|
||||||
[NinjaScriptProperty]
|
[NinjaScriptProperty]
|
||||||
[Display(Name = "Standard Deviations", GroupName = "Bollinger Bands", Order = 2)]
|
[Display(Name = "Standard Deviations", GroupName = "%B", Order = 2)]
|
||||||
public double StandardDeviations { get; set; }
|
public double StandardDeviations { get; set; }
|
||||||
|
|
||||||
[NinjaScriptProperty]
|
[NinjaScriptProperty]
|
||||||
|
Loading…
Reference in New Issue
Block a user