Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Generate TARGET/STOP orders in NT with e-mail link to TS

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

    Generate TARGET/STOP orders in NT with e-mail link to TS

    Hello,

    I'm using the SMTP e-mail link from Ninja to Tradestation. I would like for my stop/profit target limit orders to be generated the moment a trade is entered. How do I do this?

    Right now, my EL code looks like this:

    if value = true then begin
    PricetoShort = close;
    Sell Short next bar at PricetoShort limit;

    if marketposition = -1 then
    Buy to cover next bar (limitprice + 1.00) limit;
    Buy to cover next bar (limitprice - 1.00) stop;

    EXAMPLE:

    BUY 1300.00
    SELL LIMIT 1301.00
    STOP LIMIT 1299.00

    This isn't working right now -- how do i do this? Thanks!

    #2
    You can try using the setting "Submit as-is"



    Keep in mind, NT will only generate orders as TS sends out an email notification on the order.
    RayNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    115 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    161 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    83 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    127 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    87 views
    0 likes
    Last Post PaulMohn  
    Working...
    X