With NT7 the solution was to create a named instance of the swing indicator an asign it the correct propertie:
this.MySwing = Swing(str);
this.MySwing.CalculateOnBarClose = true;
In NT8 the equivalent I suppose is:
this.MySwing = Swing(str);
this.MySwing.Calculate= Calculate.OnBarClose;
But in this case, the calculated values for SwingHigh and SwingLow ara incorrect and this workaround, that is ok for NT7, doesn't work with NT8.
I would appreciate any sugestion that help me to solve this problem.
Thanks in advance
Comment