[Description("ES Current Expiry Contract")]
[Category("Parameters")]
[Display(Name="ES Current Expiry Contract", Order=5, GroupName="My Parameters")]
public double ESExpiryMonth
{
get { return eSExpiryMonth; }
set { eSExpiryMonth = value; }
}
which would insert the value as so:
AddDataSeries("ES &" "& eSExpiryMonth", new BarsPeriod { BarsPeriodType = BarsPeriodType.Minute, Value = 405 }, "CME US Index Futures RTH");
Am I on the right track here?
Regards
Comment