Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT8 Strategy Builder PnL Request

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

    NT8 Strategy Builder PnL Request

    I tried to setup a PnL limit for a strategy I built using Strategy Builder in NT8. I wanted to find out if hitting a certain profit target and then quit trading for the day worked well.
    I put in 500 as the realized PnL and the test was for 20 days. The strategy hit the PnL the first day and then did not trade again for the next 19 days. NT Support said the Pnl could not reset for a multi day test which makes it nearly worthless.

    I am asking if NT would find a way in Strategy Builder to make the Realized PnL reset at the end of each day's close.

    #2
    Hello 123r34,

    To reset a variable that is tracking the daily PnL, you would need to accumulate the PnL to a variable.
    The Strategy Builder in NinjaTrader 8 is not able to do compound assignments and is only able to do simple assignments. In other words, it would not be able to accumulate PnL values to a variable.

    Preventing a strategy from trading after an amount of loss or gain requires some math as well as / or compound assignments. This would be something more advanced that what the Strategy Builder is capable of. (The Strategy Wizard in NinjaTrader 7 is also not capable of math or compound assignments)

    Below are links to a examples of a daily loss limit for NT7. The concept is the same for NT8.

    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    163 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    313 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    245 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    350 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    179 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Working...
    X