can I put these 2 forward slashs here to bypass this code and have it work correctly? It seems to work ok but not sure if there may be some problems that I'm not aware of....Thank You
//DrawTextFixed Period", "Period: " + Period + "\nInterval:" + Interval + "\nSmooth:" + Smooth + "\nStdDev: " + NumStdDev, TextPosition.BottomRight);
Code:
protectedoverridevoid OnBarUpdate()
{
/* Print a string at the bottom right showing all the values of our user-definable parameters.
The use of "\n" creates a new line in our output. */
DrawTextFixed("Period", "Period: " + Period + "\nInterval: " + Interval + "\nSmooth: " + Smooth + "\nStdDev: " + NumStdDev, TextPosition.BottomRight);
}
// In order to trim the indicator's label we need to override the ToString() method.
publicoverridestring ToString()
{
/* We return a label consisting of only the parameters we want to include. If we did not
override this method we would have a label with all four parameters. In this example we will
be left with only the parameters "Period" and "Interval". */
return Name + "(" + Period + "," + Interval + ")";
}