astrolobe
04-07-2009, 12:30 AM
Can anyone tell me why the first parameter does not show up in parameter dialog when adding a strategy to a chart? The only real difference is the "Category" name. It appears the only category that works for strategies is "Parameters"...is this correct?
[Description("Number of contracts for Condition 2 Second Limit contracts")]
[Category("Contracts")]
[Gui.Design.DisplayNameAttribute("Qty for targetLMT2")]
public int CntsLMT2
{
get { return cntsLMT2; }
set { cntsLMT2 = Math.Max(0, value); }
}
[Description("Condition 2, First limit price offset from Close, in ticks")]
[Category("Parameters")]
public int ELMT1offset
{
get { return eLMT1offset; }
set { eLMT1offset = Math.Max(0, value); }
}
[Description("Number of contracts for Condition 2 Second Limit contracts")]
[Category("Contracts")]
[Gui.Design.DisplayNameAttribute("Qty for targetLMT2")]
public int CntsLMT2
{
get { return cntsLMT2; }
set { cntsLMT2 = Math.Max(0, value); }
}
[Description("Condition 2, First limit price offset from Close, in ticks")]
[Category("Parameters")]
public int ELMT1offset
{
get { return eLMT1offset; }
set { eLMT1offset = Math.Max(0, value); }
}