Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Position Sizing

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

    Position Sizing

    Hello everybody

    I'm trying to implement a position sizing strategy, based on my account. The idea is simple, in each order, I just want to bet 1% of my account. My problem is very simple:
    - how do I access to my Back101 account?
    - Back101 is the account used in simulated real-time also?

    Thx in advanced!

    #2
    Originally posted by magicboiz View Post
    Hello everybody

    I'm trying to implement a position sizing strategy, based on my account. The idea is simple, in each order, I just want to bet 1% of my account. My problem is very simple:
    - how do I access to my Back101 account?
    - Back101 is the account used in simulated real-time also?

    Thx in advanced!
    Hello Magicboiz,

    Thank you for your post.

    If you have a live license, you will be able to select your back101 account from the account drop down menu when you enter an order, or turn on a strategy.
    If you have a free license, you will only be able to use the sim101 account.
    Ray S.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_RJStein View Post
      Hello Magicboiz,

      Thank you for your post.

      If you have a live license, you will be able to select your back101 account from the account drop down menu when you enter an order, or turn on a strategy.
      If you have a free license, you will only be able to use the sim101 account.
      I have a free license.

      In the backtesting, how do I access the sim101 account. ¿Does it have any method/properties?

      Comment


        #4
        Originally posted by magicboiz View Post
        I have a free license.

        In the backtesting, how do I access the sim101 account. ¿Does it have any method/properties?
        My fault, when you backtest, it is done automatically into the back101 account. This is the only account you can backtest with.

        Sorry for the confusion.
        Ray S.NinjaTrader Customer Service

        Comment


          #5
          OK,

          and how can I play with that back101 account? I mean:
          - set the initial quantity into the account
          - at any time during the backtesting, access to the current quantity into the account
          .....


          Thx in advance.

          Originally posted by NinjaTrader_RJStein View Post
          My fault, when you backtest, it is done automatically into the back101 account. This is the only account you can backtest with.

          Sorry for the confusion.

          Comment


            #6
            Originally posted by magicboiz View Post
            OK,

            and how can I play with that back101 account? I mean:
            - set the initial quantity into the account
            - at any time during the backtesting, access to the current quantity into the account
            .....


            Thx in advance.
            You can set the quantity either in your strategy as you build it, or in the backtest screen under "set order quantity."

            Unfortunately there is no way to access this while performing a backtest.

            More information on backtesting here: http://www.ninjatrader-support.com/H...AStrategy.html
            Ray S.NinjaTrader Customer Service

            Comment


              #7
              Originally posted by magicboiz View Post
              OK,

              and how can I play with that back101 account? I mean:
              - set the initial quantity into the account
              - at any time during the backtesting, access to the current quantity into the account
              .....


              Thx in advance.
              Maybe this can help http://www.ninjatrader-support2.com/...ad.php?t=11614

              Comment


                #8
                Originally posted by PrTester View Post

                Thx for your help PrTester.

                Psize = AccbalNew * (Riskf/100)/stopLoss;

                What's the meaning of stopLoss here?

                I guess that PSize is designed to work with stocks. And what about futures?

                Comment


                  #9
                  Originally posted by magicboiz View Post
                  Thx for your help PrTester.

                  Psize = AccbalNew * (Riskf/100)/stopLoss;

                  What's the meaning of stopLoss here?

                  I guess that PSize is designed to work with stocks. And what about futures?
                  stopLoss here is a Qty in $$ for this strategy, and I use futures too.

                  Comment


                    #10
                    Originally posted by PrTester View Post
                    stopLoss here is a Qty in $$ for this strategy, and I use futures too.
                    Hi PrTester,

                    dou you have the "Optimal-F" MM strategy implemented? I send you this strategy I'm playing with:

                    int CalcQuantity()
                    {
                    int priorTradesCount=0;
                    int priorProfit=0;

                    priorTradesCount = Performance.AllTrades.Count;

                    if (priorTradesCount > 2) {
                    if (Performance.AllTrades[priorTradesCount-1].ProfitCurrency * Performance.AllTrades[priorTradesCount-1].Quantity > 0)
                    {
                    if (Performance.AllTrades[priorTradesCount-2].ProfitCurrency * Performance.AllTrades[priorTradesCount-2].Quantity > 0)
                    {
                    return3;
                    }
                    else
                    {
                    return2;
                    }
                    }
                    else
                    {
                    return1;
                    }
                    }
                    return1;
                    }


                    It's very simple: if the last trade was good, next trade double the quantity.

                    With a top limit of 3 contracts.

                    Regards

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by DavidHP, Today, 07:56 AM
                    1 response
                    5 views
                    0 likes
                    Last Post NinjaTrader_Erick  
                    Started by kujista, Today, 06:23 AM
                    3 responses
                    9 views
                    0 likes
                    Last Post kujista
                    by kujista
                     
                    Started by Mindset, Yesterday, 02:04 AM
                    2 responses
                    18 views
                    0 likes
                    Last Post NinjaTrader_RyanS  
                    Started by f.saeidi, Today, 08:03 AM
                    1 response
                    5 views
                    0 likes
                    Last Post NinjaTrader_Jesse  
                    Started by samish18, 04-17-2024, 08:57 AM
                    15 responses
                    53 views
                    0 likes
                    Last Post NinjaTrader_BrandonH  
                    Working...
                    X