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 FrazMann, Today, 11:21 AM
          0 responses
          3 views
          0 likes
          Last Post FrazMann  
          Started by geddyisodin, Yesterday, 05:20 AM
          8 responses
          52 views
          0 likes
          Last Post NinjaTrader_Gaby  
          Started by cmtjoancolmenero, Yesterday, 03:58 PM
          10 responses
          36 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by DayTradingDEMON, Today, 09:28 AM
          4 responses
          24 views
          0 likes
          Last Post DayTradingDEMON  
          Started by George21, Today, 10:07 AM
          1 response
          19 views
          0 likes
          Last Post NinjaTrader_ChristopherJ  
          Working...
          X