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 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