Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to Increment A Variable in Strategy Builder

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

    How to Increment A Variable in Strategy Builder

    Hello Team,

    I am using Strategy Builder to build strategy.

    I have a variable called Trade_Count = 0. After entering a trade Long, I would like increment Trade_Count by 1 (Trade_Count = Trade_Count + 1).

    How can I add this in Strategy Builder or maybe I need to unlock the code?

    I attach example


    Thank you,

    Darrell
    Attached Files

    #2
    Hello Darrell,

    You would need to unlock the code for this.

    Below is a link to an example.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_ChelseaB View Post
      Hello Darrell,

      You would need to unlock the code for this.

      Below is a link to an example.
      https://ninjatrader.com/support/foru...748#post529748
      Thank you so much ChelseaB

      Thanks

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by NullPointStrategies, Yesterday, 05:17 AM
      0 responses
      66 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      141 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      76 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      47 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      51 views
      0 likes
      Last Post TheRealMorford  
      Working...
      X