Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Different profits & stop-losses

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

    Different profits & stop-losses

    Hi ,

    Can help me somebody with this , please ?

    In my ATM strategy I would like change separate my profit targets and stop losses.

    For example :

    For long position profit target 600 and stop loss 650
    For short position profit target 750 and stop loss 700

    Is any way how to set it ?
    Thanks for any help !

    JakeSnake

    #2
    Hello Jakub,
    To assist you further may I know:

    Is it an Atm strategy coded via NinjaScript coding or it is an Atm Strategy template?

    Is the stop and target is in $ terms (e.g $600 stop).

    I look forward to assisting you further.
    JoydeepNinjaTrader Customer Service

    Comment


      #3
      Hi Joy ,

      ATM is coded via Ninja script and all targets and stop losses are in $ . I have just basic code
      {
      SetStopLoss(600, false);
      SetProfitTarget(650);

      ExitOnClose = true;
      }

      Thanks

      Comment


        #4
        Hello Jakub,
        Thanks for the confirmation.

        Unfortunately you cannot use the Set() methods in an Atm strategy.

        The stop and the target in a Atm entry order will be defined by the Atm template you have assigned while creating the Atm entry order.

        Please let me know if I can assist you any further.
        JoydeepNinjaTrader Customer Service

        Comment


          #5
          OK , thanks !
          Have nice day

          JakeSnake

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by CaptainJack, 04-24-2026, 11:07 PM
          0 responses
          14 views
          0 likes
          Last Post CaptainJack  
          Started by Mindset, 04-21-2026, 06:46 AM
          0 responses
          119 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by M4ndoo, 04-20-2026, 05:21 PM
          0 responses
          172 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by M4ndoo, 04-19-2026, 05:54 PM
          0 responses
          89 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by cmoran13, 04-16-2026, 01:02 PM
          0 responses
          131 views
          0 likes
          Last Post cmoran13  
          Working...
          X