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 jeronymite, 04-12-2024, 04:26 PM
          3 responses
          44 views
          0 likes
          Last Post jeronymite  
          Started by Barry Milan, Yesterday, 10:35 PM
          7 responses
          20 views
          0 likes
          Last Post NinjaTrader_Manfred  
          Started by AttiM, 02-14-2024, 05:20 PM
          10 responses
          179 views
          0 likes
          Last Post jeronymite  
          Started by ghoul, Today, 06:02 PM
          0 responses
          10 views
          0 likes
          Last Post ghoul
          by ghoul
           
          Started by DanielSanMartin, Yesterday, 02:37 PM
          2 responses
          13 views
          0 likes
          Last Post DanielSanMartin  
          Working...
          X