Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

carrying virtual positions

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

    carrying virtual positions

    I am testing a strategy which cariies position from today to tomorrow.
    Today it profits usd 1300,00 but it is unrealized.
    How can I carry the result from this position?
    I mean, as I am not trading it for real , I can not sync any position.
    Supposing I want to set up some parameters due to new optimization?
    I just want to have my historic P&L.

    #2
    Hello Dafonseca,

    Thank you for your note.

    You would want to use the Position.GetProfitLoss() -
    http://www.ninjatrader.com/support/h...profitloss.htm

    You can then print this value out or draw on the chart using DrawText() method

    Let me know if I can be of further assistance
    Cal H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by TraderBCL, Today, 04:38 AM
    2 responses
    10 views
    0 likes
    Last Post TraderBCL  
    Started by martin70, 03-24-2023, 04:58 AM
    14 responses
    105 views
    0 likes
    Last Post martin70  
    Started by Radano, 06-10-2021, 01:40 AM
    19 responses
    606 views
    0 likes
    Last Post Radano
    by Radano
     
    Started by KenneGaray, Today, 03:48 AM
    0 responses
    4 views
    0 likes
    Last Post KenneGaray  
    Started by thanajo, 05-04-2021, 02:11 AM
    4 responses
    471 views
    0 likes
    Last Post tradingnasdaqprueba  
    Working...
    X