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 fx.practic, 10-15-2013, 12:53 AM
        5 responses
        5,403 views
        0 likes
        Last Post Bidder
        by Bidder
         
        Started by Shai Samuel, 07-02-2022, 02:46 PM
        4 responses
        94 views
        0 likes
        Last Post Bidder
        by Bidder
         
        Started by DJ888, Yesterday, 10:57 PM
        0 responses
        6 views
        0 likes
        Last Post DJ888
        by DJ888
         
        Started by MacDad, 02-25-2024, 11:48 PM
        7 responses
        158 views
        0 likes
        Last Post loganjarosz123  
        Started by Belfortbucks, Yesterday, 09:29 PM
        0 responses
        8 views
        0 likes
        Last Post Belfortbucks  
        Working...
        X