No announcement yet.

Partner 728x90


Martingale Strategy in Strategy Builder

  • Filter
  • Time
  • Show
Clear All
new posts

  • NinjaTrader_Kate
    Hello tradersgrail,

    Thank you for your post.

    From my understanding, a martingale strategy has to do with a strategy that has you double your position after a losing trade. This may be difficult in the strategy builder, but depending on the logic you use may be a possibility. It would almost certainly be easier to do by unlocking the code and actually programming the strategy directly using NinjaScript.

    If you know the logic you would like and can write this as psuedo code in plain English, we can assist you in writing this as logic in C#. This thread will also remain open for any community members that know of an existing strategy with this functionality or who would like to create this as a convenience to you.

    I'm providing a link to a pre-recorded set of videos 'Strategy Builder 301' and 'NinjaScript Editor 401' for you to view at your own convenience.
    Strategy Builder 301
    NinjaScript Editor 401

    If you would like to take on learning NinjaScript, we have a fully documented help guide which will help you get started. You will find language references to all of the methods and functions you will be using. You will also see a tutorial section which will help you create your first indicator and get you started with some of these concepts.
    A link to our Help Guide can be found below:

    I am also linking you to the Educational Resources section of the Help Guide to help you get started with NinjaScript:

    You will find Reference Samples online as well as some Tips and Tricks for both indicators and strategies:
    Click here to see our NinjaScript Reference Samples:
    Click here to see our NinjaScript Tips:

    These samples can be downloaded, installed and modified from NinjaTrader and hopefully serve as a good base for your custom works.

    There is also a growing library of user submitted custom indicators (100+) that can be downloaded from the NinjaTrader Ecosystem User App Share page: However, a cursory search did not find an existing Martingale strategy available.

    Please let us know if we may be of further assistance to you.

    The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.

    Leave a comment:

  • tradersgrail
    started a topic Martingale Strategy in Strategy Builder

    Martingale Strategy in Strategy Builder

    Anyone have any idea how to create a martingale strategy in the strategy builder?

Latest Posts


Topics Statistics Last Post
Started by GussJ, Today, 01:24 PM
0 responses
Last Post GussJ
by GussJ
Started by frslvr, Today, 12:40 PM
0 responses
Last Post frslvr
by frslvr
Started by Sifred, Today, 10:43 AM
0 responses
Last Post Sifred
by Sifred
Started by Catalon, Today, 10:42 AM
0 responses
Last Post Catalon
by Catalon
Started by vivekniwas, Today, 09:41 AM
0 responses
Last Post vivekniwas