Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

SetStopLoss

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

    SetStopLoss

    I have a quick question for you. I want to move my "SetStopLoss" to the middle of my code under OnBarUpdate, and have CalculateOnBarClose = false, with a variable for the stoploss value. If the value doesn't change, will NT continually send the stop loss value to my broker, or will it only send it if the value changes?

    Thanks,

    Safetrading

    #2
    safetrading,

    It will only update the stop if the price changes.

    You can read more about the managed approach here : http://www.ninjatrader.com/support/h...d_approach.htm
    Adam P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by helpwanted, Today, 03:06 AM
    1 response
    11 views
    0 likes
    Last Post sarafuenonly123  
    Started by Brevo, Today, 01:45 AM
    0 responses
    9 views
    0 likes
    Last Post Brevo
    by Brevo
     
    Started by aussugardefender, Today, 01:07 AM
    0 responses
    5 views
    0 likes
    Last Post aussugardefender  
    Started by pvincent, 06-23-2022, 12:53 PM
    14 responses
    242 views
    0 likes
    Last Post Nyman
    by Nyman
     
    Started by TraderG23, 12-08-2023, 07:56 AM
    9 responses
    387 views
    1 like
    Last Post Gavini
    by Gavini
     
    Working...
    X