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 TraderCro, Today, 12:13 AM
          1 response
          6 views
          0 likes
          Last Post NinjaTrader_LuisH  
          Started by Boyarchuk, Today, 05:39 AM
          1 response
          7 views
          0 likes
          Last Post NinjaTrader_Erick  
          Started by max1ci6, Today, 06:47 AM
          0 responses
          2 views
          0 likes
          Last Post max1ci6
          by max1ci6
           
          Started by MGHORBEL, Today, 06:25 AM
          0 responses
          9 views
          0 likes
          Last Post MGHORBEL  
          Started by knowmad, Yesterday, 03:52 AM
          4 responses
          44 views
          0 likes
          Last Post knowmad
          by knowmad
           
          Working...
          X