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 NullPointStrategies, Today, 05:17 AM
      0 responses
      50 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      126 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      69 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      42 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      46 views
      0 likes
      Last Post TheRealMorford  
      Working...
      X