• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Auto position size

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

    Auto position size

    Hi,

    If trading Forex, is it possible to have Ninjatrader work out a % of your current trading account to use instead of calculating this on every trade you take?

    Would save a lot of time and I guess you will be more focused on trading...

    Thanks!

    #2
    Synergy, what we would have per default is the option to calculate the order size ByAccountSize taking into consideration an account value you supply and margins set for the instruments - http://www.ninjatrader.com/support/h...ub=accountsize
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Thanks for the reply!

      Im afraid you lost me on that one...

      Could you please explain what I do with this code? Thanks very much!

      Comment


        #4
        With this code you can set an AccountSize in Initialize() which would be used to calculate the qty then if you're strategy is set to do order qty ByAccountSize.
        BertrandNinjaTrader Customer Service

        Comment


          #5
          Okay I think I understand what you mean...

          Is there a tutorial or a video one can follow to do this or do I just Google it and hope for the best? Sorry Im not into writing code and stuff...

          Comment


            #6
            This would be something you enter in the Initialize() method of your strategy script, however to test and not work via code, you can actually do this from the UI as well. Under your order properties for the script, choose to set quantity ByAccountSize and the UI would add the AccountSize user input field.
            BertrandNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by dyanemorye, Today, 01:45 AM
            0 responses
            2 views
            0 likes
            Last Post dyanemorye  
            Started by Bouzayen, Yesterday, 08:31 PM
            0 responses
            15 views
            0 likes
            Last Post Bouzayen  
            Started by IanC28, 03-27-2020, 10:20 AM
            6 responses
            30 views
            0 likes
            Last Post jim1234
            by jim1234
             
            Started by aramtrader, 04-01-2020, 03:05 PM
            7 responses
            44 views
            0 likes
            Last Post woodie1
            by woodie1
             
            Started by renehtx, Yesterday, 03:51 PM
            2 responses
            19 views
            0 likes
            Last Post renehtx
            by renehtx
             
            Working...
            X