Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

DrawText (PnL) on trade exit?

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

    DrawText (PnL) on trade exit?

    I'm wondering how I can most easily draw the profit/loss of a trade on the chart upon exiting?

    Using the strategy wizard I'm finding it harder than I expected.

    If the DrawText action had the ability to select a data source as an input, i.e. (...) + Unrealized PnL it would be easy, but that causes an error which could be because only strings are allowed in this field.

    I also thought of creating a string variable and setting it to "Unrealized PnL" prior to closing the position, but I couldn't do that either. It seems rather limiting in my opinion to define variables at the start of a strategy if they can't be changed in response to conditions...

    Any ideas?
    Last edited by Elliott Wave; 04-06-2008, 11:32 PM.

    #2
    I think that this might be difficult with the Wizard. At first thought, I can't think of a way to accomplish this.
    RayNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    656 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    371 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    109 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    574 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    579 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X