Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Stop Loss and Profit Target on Stocks

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

    Stop Loss and Profit Target on Stocks

    I am trying to set the stop loss and profit target on a stock using

    SetProfitTarget("", CalculationMode.Ticks, ProfitTarget);
    SetStopLoss(
    "", CalculationMode.Ticks, StopLoss, false);

    But I can't figure out how to set it.

    E.g. A stock is now trading at $90.00, I want to set profit target at $91.50 which is $1.50 from entry, and stoploss at $89.00 which is $1.00 from entry. I want to use the exact dollar amount rather than using %. It seem pretty straighforward using Ticks to do that on Futures. But how should I program the above functions to do that for stocks?


    #2
    tjendra,

    It is the exact same thing as it was on futures. The tick size of a stock is generally $0.01. For $1 do 100 ticks. For $1.50 do 150.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Josh View Post
      tjendra,

      It is the exact same thing as it was on futures. The tick size of a stock is generally $0.01. For $1 do 100 ticks. For $1.50 do 150.
      Thanks Josh, that's worked!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      101 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      144 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      71 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      125 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      79 views
      0 likes
      Last Post PaulMohn  
      Working...
      X