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 CarlTrading, 03-31-2026, 09:41 PM
          1 response
          72 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 04-01-2026, 02:41 AM
          0 responses
          39 views
          0 likes
          Last Post CarlTrading  
          Started by CaptainJack, 03-31-2026, 11:44 PM
          0 responses
          63 views
          2 likes
          Last Post CaptainJack  
          Started by CarlTrading, 03-30-2026, 11:51 AM
          0 responses
          63 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 03-30-2026, 11:48 AM
          0 responses
          53 views
          0 likes
          Last Post CarlTrading  
          Working...
          X