Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Is that possible?

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

    Is that possible?

    I want to ask if it's possible to do the next:

    In a strategy, can i start a position with a stoploss and, if the market goes well for me, in a determined tick (for ex. I go long on ES at 1050 and a stoploss of 16 ticks, but when the market is at 1057,5 I want to change (or erase) the stoploss of 16 ticks to a trigger stop of 8 ticks to make sure the position will finish in profits) do that.

    So my question is: is that possible? can I do that with the ninja script?

    #2
    Hello cozar534,

    Yes, this is supported upon using an automated strategy. More information can be found at the link below.
    JasonNinjaTrader Customer Service

    Comment


      #3
      well, i've already read it but I have a question:

      The SetTrailStop() method can NOT be used concurrently with the SetStopLoss() method for the same position, if both methods are called for the same position (fromEntrySignal) the SetStopLoss() will always take precedence. You can however, use both methods in the same strategy if they reference different signal names.

      That means that I cannot do waht I want? I mean I wanted to start the position with a stoploss setting it at the beggining and if the market goes well substitute the stoploss for a trailstop.

      Comment


        #4
        Correct, unfortunately this is not supported; using SetStoploss and SetTrailStop for the same position.

        However, you should be able to setup such a functionality as described in post #1 with SetTrailStop only.
        JasonNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by andrewtrades, Today, 04:57 PM
        1 response
        8 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by chbruno, Today, 04:10 PM
        0 responses
        6 views
        0 likes
        Last Post chbruno
        by chbruno
         
        Started by josh18955, 03-25-2023, 11:16 AM
        6 responses
        436 views
        0 likes
        Last Post Delerium  
        Started by FAQtrader, Today, 03:35 PM
        0 responses
        7 views
        0 likes
        Last Post FAQtrader  
        Started by rocketman7, Today, 09:41 AM
        5 responses
        19 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Working...
        X