Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Need help with position size increase on each entree

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

    Need help with position size increase on each entree

    I am trying to figure out how to scale in to a position by adding 1 to the next entree so that each time a new entree is made it increases by 1 more position. Is it possible to show me code example?

    #2
    Mel, I've attached a simple example from the wizard to get started for you. You would need to let it run with the entry handling set to UniqueEntries.
    Attached Files
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Thank you for the sample but this will stop scale by 2 positions each time. I am trying to figure out how to make it scale in by adding 1 each time (1 +1 then 2+1 then 3+1, etc...)

      Comment


        #4
        I would suggest you add to the script the by running a counter for how many entries you have already placed, then from there you could add / change the qrt for the next entry call as desired. Of course at one point / event / signal you would want to reset the counter then to start the process all over.
        BertrandNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Jon17, Today, 04:33 PM
        0 responses
        1 view
        0 likes
        Last Post Jon17
        by Jon17
         
        Started by Javierw.ok, Today, 04:12 PM
        0 responses
        4 views
        0 likes
        Last Post Javierw.ok  
        Started by timmbbo, Today, 08:59 AM
        2 responses
        10 views
        0 likes
        Last Post bltdavid  
        Started by alifarahani, Today, 09:40 AM
        6 responses
        40 views
        0 likes
        Last Post alifarahani  
        Started by Waxavi, Today, 02:10 AM
        1 response
        19 views
        0 likes
        Last Post NinjaTrader_LuisH  
        Working...
        X