Suppress crosshair values?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #77169 quote
    robdav
    Participant
    Veteran

    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

    #77176 quote
    robertogozzi
    Moderator
    Master

    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!

    #77179 quote
    Vonasi
    Moderator
    Master

    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]

    robdav thanked this post
    #77185 quote
    robdav
    Participant
    Veteran

    That’s a shame that it’s all or nothing.

    Thanks for your replies though.

    #77186 quote
    JC_Bywan
    Moderator
    Master

    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
    robertogozzi and robdav thanked this post
    #77192 quote
    robdav
    Participant
    Veteran

    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:

    Thanks Noobywan, that’s interesting, will experiment with that.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.

Suppress crosshair values?


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
robdav @robdav Participant
Summary

This topic contains 5 replies,
has 4 voices, and was last updated by robdav
7 years, 6 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 07/31/2018
Status: Active
Attachments: 1 files
Logo Logo
Loading...