Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Martingale

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

    Martingale

    Dear all,

    I tried a lot of different script to add a martingale in my strategy but without any good result.

    Does anyone have a sample of a strategy using a martingale ?

    Thank you in advance.
    Chris.

    #2
    Hello Chris128,

    Thank you for your post.

    This is possible but not through the Managed Approach for Order Entry in NinjaScript. You would need to use the Unmanaged Approach to allow you to have an order that can be placed in the opposite direction.

    For information on the Unmanaged Approach please visit the following link: http://www.ninjatrader.com/support/h...d_approach.htm

    Unfortunately, we do not have a sample that demonstrates a Martingale.

    Please let me know if I may be of further assistance.

    Comment


      #3
      Originally posted by Chris128 View Post
      Dear all,

      I tried a lot of different script to add a martingale in my strategy but without any good result.

      Does anyone have a sample of a strategy using a martingale ?

      Thank you in advance.
      Chris.
      You are simply doubling the quantity of your order every time that your trade makes a loss. What part is difficult to code?

      Apropos of nothing, it is a mathematically provable result that, as nobody has infinite resources, a martingale is a guaranteed losing/wipeout strategy.

      Comment


        #4
        Please don`t missunderstand me Chris,
        I will agree with koganam.
        The Martingale no works for Roulette ( I saw Black comming 20 times in a row) and even not in Trading.
        I also used a form of Martingale for a while until one day it hurts me badly. Even if you are thinking that the prices cannot climb or fall more, beliefe me , they can....
        The programming of this strategy is the programming not worth about :-)

        Comment


          #5
          Thank you all for your answers.

          I ask for a martingale strategy because I know that a lot of people use it and that it would be more answer to my question, but I'm actually looking for an anti-martingale. (But as it's almost the same thing to code...).

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by bmartz, Today, 09:30 AM
          2 responses
          11 views
          0 likes
          Last Post bltdavid  
          Started by f.saeidi, Today, 11:02 AM
          1 response
          4 views
          0 likes
          Last Post NinjaTrader_BrandonH  
          Started by geotrades1, Today, 10:02 AM
          4 responses
          12 views
          0 likes
          Last Post geotrades1  
          Started by rajendrasubedi2023, Today, 09:50 AM
          3 responses
          16 views
          0 likes
          Last Post NinjaTrader_BrandonH  
          Started by lorem, Today, 09:18 AM
          2 responses
          11 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Working...
          X