public class TrendMultiframeTs3 : Strategy
......
switch (type)
{
case TypePeriod.Day:
{Add(PeriodType.Day, period);
break ;
}
.....
Properties :
[Description("Type Periodo del multiframe")]
[GridCategory("Multiframe")]
[Gui.Design.DisplayName("PeriodType")]
public TypePeriod Type
{
get { return type; }
set { type = value; }
}
To define TypePeriod I made a indicators:
namespace NinjaTrader.Indicator
{
public enum LucaPeriodType //added to isolate enum (copiato da un indicatore)
{
Day,
Minute,
Range,
Second,
Tick,
Volume,
}
}
IS CORRECT? ...because i have problem to export the above strategy

Comment