Announcement

Collapse
No announcement yet.

Cursor label has unwanted info

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Cursor label has unwanted info

    Hi
    I made a small change in my old efs and suddenly I start getting
    the cursor with a huge red label containing the path and the efs file name:
    Backtesting\aaMAcross_NextCandle_chat_room.efs

    The file name is not identical to the efs name in the CursorLabelName.
    The setCursorLabelName with the efs name is commented out,
    line 56.

    Before the change, the red label contained the "study" word, as
    expected from the code, line 57.

    The red line in the cursor should display the "Stop Target" not
    the file name.
    Maybe there is a mismatch in the order of statements relative to
    their colors?

    The relevant display statements are at lines 311 and 336.
    It runs the same under 7.9.1 and 8.0.

    The new cursor is very wide and covering a good part of my chart which is disturbing.

    Thanks very much for any help
    Arie
    Attached Files

  • #2
    Arie
    Replace the 3 with a 2 in setCursorLabelName("Stop Target", 3); in line 59 and the label will display correctly.
    Alex

    Comment


    • #3
      Dear Alex
      Many thanks for your prompt and effective reply.
      Aire

      Comment


      • #4
        Arie
        You are most welcome
        Alex

        Comment

        Working...
        X