Unfortunately I can't show the original code, but I can say that the variable for the output values is defined like this
if (Disbalance_list.ContainsKey(tempTickNumP)) {
myDisbalance = Disbalance_list[tempTickNumP];}
balance[0] = myDisbalance;
And then I create a property
[Browsable(false)]
[XmlIgnore()]
public DataSeries balance
{
get { return Values[0]; }
}
I should add that this piece of code -
if (Disbalance_list.ContainsKey(tempTickNumP)) {
myDisbalance = Disbalance_list[tempTickNumP];}
balance[0] = myDisbalance;
is in the public override void Plot method, and in strategy I call it in OnBarUpdate
Maybe that's the problem...? Please help to solve it
Comment