Hi
Is there any way to suppress the values used in RETURN from appearing in the cross-hair in PRT?
a = 30
Upper = HIGHEST[a](high)
Lower = LOWEST[a](low)
RETURN upper AS "Upper", lower AS "Lower"
So in the example above, I’d like to see the Upper and Lower lines drawn on the chart but I don’t want the values to appear in the cross-hair.
Thanks
Rob
I’m afraid no, there’s only one option to disable/enable details from being displayed, but I have found no option to select which one, so… all or none of them!
The only way I know to turn the values off is with this setting but it will turn all the values off and not just those ones.
[attachment file=77180]
That’s a shame that it’s all or nothing.
Thanks for your replies though.
If it’s something you’d really like to have no matter how, and if your PRT version is at least v10.3, then you could see if you’re happy with a workaround for this particular code: making the indicator draw the lines through graphical commands rather than through variables returned, keep an empty return line, and keep the options settings to display the crosshair values of other stuff not belonging to this indicator (assuming you display this in the price window so it’s self-adjusted around price rather than drawn too far away from the +1/-1 range you’d get with an empty return indicator in a separate window). Something like:
a = 30
Upper = HIGHEST[a](high)
Lower = LOWEST[a](low)
DRAWSEGMENT(barindex, upper, barindex[1], upper[1])
DRAWSEGMENT(barindex, lower, barindex[1], lower[1])
RETURN