One of the variables in my variables region is a class. I use the class to store user parameters so that it is convenient to pass them to some functions as a group.
private AMA_Values fastAMA; // Initalize() needs to construct it
fastAMA = new AMA_Values(); // Self-initializing
public int FastKamaFast
{
get { return fastAMA._KamaFast; }
// set { fastAMA._KamaFast = Math.Max(1, value); }
set {
Print("\tBefore setting KamaFast");
fastAMA._KamaFast = Math.Max(1, value);
Print("\tAfter setting KamaFast");
}
}
Any other ideas?
--EV

Comment