Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to set "Trailing Take Profit" in Strategy Wizard?

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

    How to set "Trailing Take Profit" in Strategy Wizard?

    How can I accomplish the following via the Strategy Wizard?

    -Set the stoploss to 20 ticks when the position opens.
    -If the the position becomes 10 ticks profitable, then cancel the 20 tick stoploss add replace it with a 5 tick trailing stop.

    thanks!

    #2
    Hello,
    This would not be possible through the strategy wizard. To achieve this you would need to use custom NinjaScript Programming.
    Please see the following reference samples to get started on how you could achieve this:






    If you would like to take on learning custom NinjaScript programming, we have a fully documented help guide which will help you get started with Ninja Script. 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: http://ninjatrader.com/support/helpGuides/nt7/

    I am also linking you to the Educational Resources section of the Help Guide to help you get started with NinjaScript: http://ninjatrader.com/support/helpG..._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:http://ninjatrader.com/support/forum...splay.php?f=30
    Click here to see our NinjaScript Tips: http://ninjatrader.com/support/forum...ead.php?t=3229

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

    There is a also a growing library of user submitted custom strategies, indicators, and addons that can be downloaded from our support form. Please look in the NinjaScript File Sharing section of our support forum as you may find what you are looking for there: http://ninjatrader.com/support/forum...splay.php?f=37

    If you have limited time or programming capabilities, we do have partners through our partner affiliate that may be able to create this for you. Please let me know if you would like to get in touch with one of them.
    Please let me know if we can be of any other assistance.
    Cody B.NinjaTrader Customer Service

    Comment


      #3
      Thanks cody,

      Two questions

      1. Would it be possible for me to use this "Trailing Take Profit" in the strategy wizard after I have coded it?

      2. What is the difference between C# and NinjaScript?
      Last edited by Matheyas5; 01-18-2016, 12:30 AM.

      Comment


        #4
        Hello,
        You would not be able to use your Trailing Take Profit in the strategy wizard after creating it.

        There is fundamentally no difference between C# and NinjaScript. NinjaScript is a custom C# library created for use with the NinjaTrader Platform.

        If we can be of any other assistance please let us know.
        Cody B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by DavidHP, Today, 07:56 AM
        1 response
        5 views
        0 likes
        Last Post NinjaTrader_Erick  
        Started by kujista, Today, 06:23 AM
        3 responses
        7 views
        0 likes
        Last Post kujista
        by kujista
         
        Started by Mindset, Yesterday, 02:04 AM
        2 responses
        18 views
        0 likes
        Last Post NinjaTrader_RyanS  
        Started by f.saeidi, Today, 08:03 AM
        1 response
        5 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by samish18, 04-17-2024, 08:57 AM
        15 responses
        53 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Working...
        X