Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

automated strategies stoplosses, profit targets

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

    automated strategies stoplosses, profit targets

    I created a strategy and it works well, but the question is Can I show my stops and targets on the strategy screen? Currently I have to open a second screen to see my stops and targets. Secondly, is there a way to override a strategy and move the stop manually and the strategy will allow the stoploss to stay there.

    #2
    Hello ballboy11,

    To view working orders, Chart Trader must be opened on the chart.

    With NinjaTrader 7, it is not possible to open Chart Trader on a chart that has a strategy added or vice versa. You can open Chart Trader on a second chart with the same instrument and account.

    This was to prevent users from manually modifying orders placed by an automated Strategy which will not be recognized by the strategy.

    With NinjaTrader 8, due to popular demand, it is now possible to open Chart Trader on a chart with a strategy added.


    When placing an order with SetProfitTarget, SetStopLoss, or SetTrailStop, from a script, that order will be updated on each tick. If you manually move this, it will be updated on the next tick back to the price calculated by SetProfitTarget / SetStopLoss.

    An Exit order would be updated whenever you update it. If you place this once with liveUntilCancelled as true, the order will remain alive and will not move (unless code is called to move it).

    I've made a video demonstrating this.
    Demonstrates that an order placed with SetStopLoss / SetProfitTarget / SetTrailStop will continuously reset the exit order on each new tick.Shows an ExitLongStopLimit placed only once, does not.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by rhyminkevin, Today, 04:58 PM
    4 responses
    52 views
    0 likes
    Last Post dp8282
    by dp8282
     
    Started by iceman2018, Today, 05:07 PM
    0 responses
    5 views
    0 likes
    Last Post iceman2018  
    Started by lightsun47, Today, 03:51 PM
    0 responses
    7 views
    0 likes
    Last Post lightsun47  
    Started by 00nevest, Today, 02:27 PM
    1 response
    14 views
    0 likes
    Last Post 00nevest  
    Started by futtrader, 04-21-2024, 01:50 AM
    4 responses
    50 views
    0 likes
    Last Post futtrader  
    Working...
    X