Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Remove all trades from Chart except last trade

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

    Remove all trades from Chart except last trade

    I have a scalping strategy that places multiple entries and makes it hard to visualize the trades. Is there a way I can programmatically hide all the previous trade history and only display the most recent trade on the chart.

    #2
    Hello cutzpr,

    Thank you for your post.

    You may toggle the plotting of executions from the Data Series window with the following steps:
    • Right-click your chart and select Data Series
    • Scroll down to the bottom and expand the Plot executions dropdown menu
      • Choose between Do not plot, Markers only, or Text and marker
    • Click OK to save your changes
    What I suggest based on your description is to set the "Plot executions" dropdown to "Do not plot." Then, you may add logic to your strategy that adds drawing/text as desired. If you want to see only the most recent trade, you could use the same "tag" property for your drawing objects as this will update the object each time the Draw method is called rather than drawing a new object each time. For example, you could use Draw.ArrowUp() or Draw.ArrowDown() to mark the most recent trade, and you could also Draw.Text() if you'd like to include info about the trade.

    Please let us know if we may be of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    647 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    369 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    108 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    572 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    573 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X