Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

linking limit or stop orders to an indicator

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

    linking limit or stop orders to an indicator

    Hello,

    I use NinjaTrader 6.5 for chart trading, and I am looking at getting into using some scripting in NT. I am a software programmer at my work.

    I have used the Open E-Cry OEC Trader program, and in it, you can link orders to an indicator and have the order price track the indicator until filled. Once my order is executed, I would like to be able have automatically entered target and stop loss orders, and to choose whether to link either of them to an indicator as well.

    I would like some advice about how to go about creating similar behaviour in NT. Could you help please?



    Thanks

    #2
    faringdon, welcome to our forums - this is unfortunately not supported per default, however this can be easily created via custom coding in NinjaScript -





    As for placing exits automatically, you can call ATM strategy templates for exit management from our NinjaScript strategies, for an example you can review the SampleAtmStrategy installed per default.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    64 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    35 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    59 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    62 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    51 views
    0 likes
    Last Post CarlTrading  
    Working...
    X