Concatenate Text and Numbers for display

Optuma Forums Optuma Scripting Concatenate Text and Numbers for display

  • This topic has 2 replies, 2 voices, and was last updated 1 month ago by AvatarRams.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #63371
    AvatarRams
    • Topics: 4
    • Replies: 4
    • Posts: 8

    Hi,

    I would like to display custom text in watchlist from a script. could not see any direct method.

    custom text in the script = Number + “text” + Number2 + “text2”

    how can i concat string and numbers – so that i could take that for display.

    This will help me to reduce number of columns in watchlist.

    THanks and best regards

    #63374
    MatthewMatthew
    • Topics: 5
    • Replies: 366
    • Posts: 371

    Hi,

    A script can only output a number (except for some special functions like Candlestickpattern).  You can setup custom labels via the Watchlist however:

    https://help.optuma.com/kb/faq.php?id=967

    With this you could build a script with 5 different outputs (for example) and use the Watchlist Custom labels to convert the different numbers into text.

    • This reply was modified 1 month ago by MatthewMatthew.
    #63387
    AvatarRams
    • Topics: 4
    • Replies: 4
    • Posts: 8

    THanks Matthew, my purpose was different one i am afraid – but now i know for sure. thanks speak soon

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

Pin It on Pinterest