• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Martingale Strategy in Strategy Builder

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

    Martingale Strategy in Strategy Builder

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

    #2
    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: https://ninjatrader.com/support/help...injascript.htm

    I am also linking you to the Educational Resources section of the Help Guide to help you get started with NinjaScript: https://ninjatrader.com/support/help..._resources.htm

    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: https://ninjatrader.com/support/help...ce_samples.htm
    Click here to see our NinjaScript Tips: https://ninjatrader.com/support/help...en-us/tips.htm

    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: https://ninjatraderecosystem.com/user-app-share/ 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.

    Kate W.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by tvaughan4, Yesterday, 10:46 PM
    2 responses
    12 views
    0 likes
    Last Post tvaughan4  
    Started by digibob, Yesterday, 10:01 PM
    2 responses
    10 views
    0 likes
    Last Post digibob
    by digibob
     
    Started by ldissinger, Today, 12:55 PM
    1 response
    10 views
    0 likes
    Last Post ldissinger  
    Started by pstrusi, Today, 09:06 AM
    1 response
    23 views
    0 likes
    Last Post marcus2300  
    Started by vpzdcv, Today, 02:31 AM
    0 responses
    13 views
    0 likes
    Last Post vpzdcv
    by vpzdcv
     
    Working...
    X