Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Draw.TriangleUp issue (Beta 9)

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

    Draw.TriangleUp issue (Beta 9)

    Hello!

    There is an issue with Draw.TriangleUp and Draw.ArrowUp (I guess other Draw methods have it too).

    While this code sample works fine:
    Code:
    entryOrder = EnterLongStopMarket(0, true, 1, entryValue, "Long Entry");
    Draw.TriangleUp(this, "triangleUp" + CurrentBar, false, 0, entryValue, Brushes.Green);
    the following one doesn't draw the triangle at all or it draws it a few bars later:
    Code:
    entryOrder = EnterLongLimit(0, true, 1, entryValue, "Long Entry");
    Draw.TriangleUp(this, "triangleUp" + CurrentBar, false, 0, entryValue, Brushes.Green);
    The difference in the code samples is in the order types (and the entry values, of course). The sequence of the code lines in each sample doesn't make any difference.

    I tried the code samples on ES, 1 Renko. The first one has been working fine in my strategy for a long time, but the second one doesn't work as expected. Could you check that please?

    #2
    Hello quicktrick,

    Thanks for your post.

    Testing with both cases provides the triangle.

    Comment


      #3
      Hello Paul,

      I made a simple test. It draws green and red dots above each bar of a chart. Each dot has a bar index in its properties, so you can see what bar it should be above. Look at the pictures and try the test yourself (I've attached the test's code). Some dots are shifted from the bars they should be above to other bars.

      Try the test on 1 Renko and set 1 or 2 days to load. You'll certainly find such places yourself. But when you are trying to see a dot's properties to find the dot's bar index, be patient, the properties take some time to load because of huge quantity of the dots.

      That issue happens with any Draw methods, not only Draw.Dot.
      Attached Files

      Comment


        #4
        Hello quicktrick,

        Thanks for your post.

        I have been able to replicate and have submitted a bug report.
        I will update this thread when I have further information.

        Thank-you for reporting the issue.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        668 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        377 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        110 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        575 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        580 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X