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 argusthome, 03-08-2026, 10:06 AM
        0 responses
        109 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        59 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        37 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        39 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        77 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X