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 charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    59 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    143 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    161 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    97 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    276 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Working...
    X