Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

event or action on stop loss execution

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

    event or action on stop loss execution

    please can someone tell me how i code something to happen when a stop loss is executed.

    essentially i want strategy to abort after a losing trade.

    many thanks

    #2
    Hi rymondo, welcome to the NinjaTrader support forums!

    I would recommend taking a look this reference sample, it contains samples how to halt your strategy once custom conditions are met - http://www.ninjatrader-support2.com/...ead.php?t=4804

    You could modify the check for the realized Pnl to reflect your stop loss size in $ and halt your strategy then.
    BertrandNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by RookieTrader, Today, 09:37 AM
    3 responses
    15 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by kulwinder73, Today, 10:31 AM
    0 responses
    5 views
    0 likes
    Last Post kulwinder73  
    Started by terofs, Yesterday, 04:18 PM
    1 response
    23 views
    0 likes
    Last Post terofs
    by terofs
     
    Started by CommonWhale, Today, 09:55 AM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_Erick  
    Started by Gerik, Today, 09:40 AM
    2 responses
    7 views
    0 likes
    Last Post Gerik
    by Gerik
     
    Working...
    X