@JE $$ Your implementation of the
AddLabel() function is flawed but you were close... Try the following... A function always starts with the function name, with all parameters within parenthesis, in order of use eliminating the need to include each parameter name... You'll get the hang of it...
Ruby:
AddLabel(yes, "MPr = " + (high + low) / 2, Color.GRAY);