Suppress crosshair values?
Forums › ProRealTime English forum › ProBuilder support › Suppress crosshair values?
- This topic has 5 replies, 4 voices, and was last updated 6 years ago by robdav.
-
-
07/31/2018 at 10:33 AM #77169
Hi
Is there any way to suppress the values used in RETURN from appearing in the cross-hair in PRT?
Donchian123456a = 30Upper = 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
07/31/2018 at 10:48 AM #77176I’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!
07/31/2018 at 10:51 AM #7717907/31/2018 at 11:00 AM #7718507/31/2018 at 11:14 AM #77186If 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:
123456789a = 30Upper = HIGHEST[a](high)Lower = LOWEST[a](low)DRAWSEGMENT(barindex, upper, barindex[1], upper[1])DRAWSEGMENT(barindex, lower, barindex[1], lower[1])RETURN2 users thanked author for this post.
07/31/2018 at 1:09 PM #77192If 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:
123456789a = 30Upper = HIGHEST[a](high)Lower = LOWEST[a](low)DRAWSEGMENT(barindex, upper, barindex[1], upper[1])DRAWSEGMENT(barindex, lower, barindex[1], lower[1])RETURNThanks Noobywan, that’s interesting, will experiment with that.
-
AuthorPosts