Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

How to Use Sets In Conditions/Strategy Builder

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

    How to Use Sets In Conditions/Strategy Builder

    I have a strategy I am working on and it involves conditions with 2 different parameters. If I split them up into 2 different sets or three even. Will they all run in the same strategy but just be calculated separately. One set would be a If All Buy pressure numerical value and the other a Sell Pressure numerical value. If I put them on different Sets they should each trigger when the time comes inside the strategy when I run it.

    #2
    Hello Sadat,

    If you make multiple sets with conditions in each, those would all be in the same strategy but they would be calculated separately. A set is a group of conditions that should become true for that action to occur. It is possible for multiple sets to become true in one OnBarUpdate call.

    If this is not explanatory enough, could you provide a different example or image of what you are doing in contrast to your question?

    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      I think you gave me enough information for me to move along. This strategy is triggered based on each tick calculations.

      Comment


        #4
        Hi Jessie,

        What is the maximum amount of Sets I can have?

        Comment


          #5
          Hello Sadat,

          I am unaware of any limit of sets in NT8. From what I can see it is more than 100.

          Please let me know if I may be of additional assistance.
          JesseNinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by geddyisodin, Today, 05:20 AM
          0 responses
          3 views
          0 likes
          Last Post geddyisodin  
          Started by JonesJoker, 04-22-2024, 12:23 PM
          6 responses
          32 views
          0 likes
          Last Post JonesJoker  
          Started by GussJ, 03-04-2020, 03:11 PM
          12 responses
          3,239 views
          0 likes
          Last Post Leafcutter  
          Started by AveryFlynn, Today, 04:57 AM
          0 responses
          5 views
          0 likes
          Last Post AveryFlynn  
          Started by RubenCazorla, 08-30-2022, 06:36 AM
          3 responses
          79 views
          0 likes
          Last Post PaulMohn  
          Working...
          X