Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Reversing a Position With ATM

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

    Reversing a Position With ATM

    I am working on developing a strategy trading forex that sometimes requires me to reverse a position once the stop loss is hit within an ATM that includes a trailing stop. For example, let's say I'm long the EURUSD at 1.2900 with trailing stop loss (sell) initially set at 1.2850. If price reaches the stop loss at 1.2850, I wish for my position to reverse with the new reversed position (short) being managed by the same ATM strategy. I don't, however, want the position to reverse if the trailing stop loss has kicked in and moved the stop away from its initial price. In other words I want the 1.2850 price in this example to be the stop for the initial position and also the pending sell order for the second reversed position.

    The only way I can see this happening is with two accounts: the initial position in Account A with a second (reversed) pending order in Account B and manage those independently.

    Is there a way for me to accomplish what I aim to do within one account?

    Thanks very much,

    Martin Veilleux
    Montreal, Canada

    #2
    Hello Martin,

    Thank you for your post.

    It would not be possible to have a conditional reverse on the Stop Loss based on whether the Stop Strategy AutoTrail had kicked in or not. This is however possible through an Automated NinjaScript Strategy. We have Premium Paid Educational events where you will join a NinjaScript expert for a pair of 6-8 hour long intensive courses designed to provide you with an in depth look at programming indicators and automated strategies through the use of NinjaScript: http://www.ninjatrader.com/PremiumEducation.php

    If you would like to take on learning NinjaScript on your own, 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://www.ninjatrader.com/support/h...stribution.htm

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

    You will find Reference Samples online as well as some Tips and Tricks for both indicators and strategies:

    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 indicators (100+) 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://www.ninjatrader.com/support/f...splay.php?f=37

    If you have limited time or programming capabilities, you can discuss your requirements with any of our certified NinjaScript consultants.
    Click here for a list of certified NinjaScript Consultants: http://www.ninjatrader.com/Ecosystem/NonBroker.php#81

    Please let me know if you have any questions.

    Comment


      #3
      Thanks for your swift reply. In my example, let's imagine that the stop loss remains fixed and that there is no trailing stop loss in the ATM. Is it then possible for the stop loss to also be a pending reversal order with the same number of lots?

      Thanks again.

      Martin Veilleux
      Montreal, Canada

      Comment


        #4
        Hello Martin,

        Thank you for your response.

        In that case, it would be possible through the use of Auto Reverse in the ATM Strategy Advanced options.

        For information on the Advanced Options please visit the following link: http://www.ninjatrader.com/support/h...ed_options.htm

        You can view a video of our ATM Level II webinar that details the use of Auto Reverse at the following link: http://youtu.be/_wEswAZKHR0

        Please let me know if I may be of further assistance.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by funk10101, Today, 12:02 AM
        0 responses
        3 views
        0 likes
        Last Post funk10101  
        Started by gravdigaz6, Yesterday, 11:40 PM
        1 response
        7 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by MarianApalaghiei, Yesterday, 10:49 PM
        3 responses
        10 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by XXtrader, Yesterday, 11:30 PM
        0 responses
        4 views
        0 likes
        Last Post XXtrader  
        Started by love2code2trade, 04-17-2024, 01:45 PM
        4 responses
        28 views
        0 likes
        Last Post love2code2trade  
        Working...
        X