Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Pyramide and Kelly-f,Optimal-f and Secure-f

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

    Pyramide and Kelly-f,Optimal-f and Secure-f

    Hello,
    I'm creating my strategy(Strategy Wizard) but I don't know how piramide positions based on Kelly-f,Optimal-f and Secure-f(one at a time of course).
    Ex:30%(Kelly-f) inicial position based + 70% SMA crossover.
    Pedro

    #2
    I will need a little more information

    Is Kelly-f, Optimal-f, Secure-f part of a custom indicator you have installed? I understand these are money management algos, however we do not provide these natively.

    Are you looking to emulate these functions in your strategy, or do you already have custom code installed which will do this?

    Edit: Perhaps this thread will be of some help to you:

    Last edited by NinjaTrader_Matthew; 07-30-2012, 06:36 PM.
    MatthewNinjaTrader Product Management

    Comment


      #3
      Matthew,
      I'm looking to emulate these functions in my strategy

      Comment


        #4
        They will need to be custom coded and this cannot be done through the strategy wizard.

        You may want to consider speaking to a certified NinjaScript consultant:

        MatthewNinjaTrader Product Management

        Comment


          #5
          Matthew,
          but if i'ts too hard to pyramide the Kelly-f,Optimal-f...You can tell me just how to pyramide in one backtest, and how to position using the Kelly-...in other.My intention it's to know which is more profitable.
          Pedro

          Comment


            #6
            Hello,

            There are a few reference samples that may help you get started:

            Halting a Strategy Once User Defined Conditions Are Met:



            Using trade performance statistics for money management:



            Stopping a strategy after consecutive losers:



            Scaling out of position:

            MatthewNinjaTrader Product Management

            Comment


              #7
              Matthew,
              I read the threads,but anyone talks about pyramide.
              Pedro

              Comment


                #8
                pedro,

                If my "pyramid" strategy you mean that your strategy opens additional orders this is essentially something you need to program or design. I.e. setup a condition that adds to your position.

                Here is a thread where someone scaled into a position : http://www.ninjatrader.com/support/f...ad.php?t=51074
                Adam P.NinjaTrader Customer Service

                Comment


                  #9
                  Adam,
                  Yes,I mean that my strategy opens additional orders.But in my case it's different,I've 3 strategys and I wanna know which is better.
                  In my 'Strategy 1' I enter a long position( 30%,50%,I wanna know which is more profitable)when the prices crosses the upper HiLo Activator(HiLo ActivatorU1).And enter a long position(the remaining money)when fast SMA crosses above slower SMA.
                  'Strategy 2':enter a long position( 30%,50%...)when the prices crosses the upper HiLo Activator(HiLo ActivatorU1).And enter a long position(the remaining money)when the prices are equal the Donchian Channel.
                  'Strategy 3':enter a long position( 30%,50%...)when the prices are equal the Donchian Channel.And enter a long position(the remaining money)when the prices = prices of the first bought + 2x ATR.
                  Can you help me like you help the relogical?
                  Thanks,
                  Pedro

                  Comment


                    #10
                    pedro,

                    This would all need to be in the same strategy as there is no way to have strategies communicate with one another currently. For what you want to do I would suggest programming it in NinjaScript. What you ask for is possible but you would probably need to program it.

                    Here is something to get you started : http://www.youtube.com/watch?v=JZpo01eSO9c
                    Adam P.NinjaTrader Customer Service

                    Comment


                      #11
                      Hello Adam,
                      look this:http://www.ninjatrader.com/support/h...ccountsize.htm
                      How can I enter a long position in set1 and set2,and after do this click on 'View Code' and change the position size to 50% of account in set1 and set2.Is it a good idea?
                      Pedro
                      Attached Files
                      Last edited by pedroivo96; 07-31-2012, 08:04 PM.

                      Comment


                        #12
                        pedro, unfortunately this would not work via the wizard interface - to access the account size via GetAccountValue() you would need to work in the NinjaScript editor.

                        Comment


                          #13
                          So how can I buy 50% in one order and 50% in other order?

                          Comment


                            #14
                            pedro,

                            Yes, this would be possible in the strategy wizard. You would need 2 sets of conditions and actions. The conditions would be for when you want to enter the first 50% and second 50% respectively.

                            You would also want EntriesPerDirection = 2 and EntryHandling = AllEntries or UniqueEntries depending on your entrance signal names.
                            Adam P.NinjaTrader Customer Service

                            Comment


                              #15
                              So how can I do this?
                              Can you give me a tutorial?
                              And if I want 30% and 70%?
                              Pedro

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by argusthome, 03-08-2026, 10:06 AM
                              0 responses
                              22 views
                              0 likes
                              Last Post argusthome  
                              Started by NabilKhattabi, 03-06-2026, 11:18 AM
                              0 responses
                              19 views
                              0 likes
                              Last Post NabilKhattabi  
                              Started by Deep42, 03-06-2026, 12:28 AM
                              0 responses
                              14 views
                              0 likes
                              Last Post Deep42
                              by Deep42
                               
                              Started by TheRealMorford, 03-05-2026, 06:15 PM
                              0 responses
                              10 views
                              0 likes
                              Last Post TheRealMorford  
                              Started by Mindset, 02-28-2026, 06:16 AM
                              0 responses
                              41 views
                              0 likes
                              Last Post Mindset
                              by Mindset
                               
                              Working...
                              X