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.

    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.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        102 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        144 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        71 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        125 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        79 views
        0 likes
        Last Post PaulMohn  
        Working...
        X