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 fx.practic, 10-15-2013, 12:53 AM
          5 responses
          5,404 views
          0 likes
          Last Post Bidder
          by Bidder
           
          Started by Shai Samuel, 07-02-2022, 02:46 PM
          4 responses
          95 views
          0 likes
          Last Post Bidder
          by Bidder
           
          Started by DJ888, Yesterday, 10:57 PM
          0 responses
          8 views
          0 likes
          Last Post DJ888
          by DJ888
           
          Started by MacDad, 02-25-2024, 11:48 PM
          7 responses
          159 views
          0 likes
          Last Post loganjarosz123  
          Started by Belfortbucks, Yesterday, 09:29 PM
          0 responses
          8 views
          0 likes
          Last Post Belfortbucks  
          Working...
          X