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 CaptainJack, 05-29-2026, 05:09 AM
      0 responses
      369 views
      0 likes
      Last Post CaptainJack  
      Started by CaptainJack, 05-29-2026, 12:02 AM
      0 responses
      239 views
      0 likes
      Last Post CaptainJack  
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      205 views
      1 like
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      292 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      253 views
      0 likes
      Last Post CarlTrading  
      Working...
      X