Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ATM: script generated exit

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

    ATM: script generated exit

    Hello,

    I have a question concerning next possibility:

    Is it possible to generate an ExitLong() from a strategy script for an order which was generated on super DOM?

    I want to generate orders from SuperDOM, but I want to have automated exit.
    Last edited by SymeBB; 12-02-2011, 06:28 AM. Reason: gramatical mistake

    #2
    Hello,

    Thanks for the note.

    ExitLong() wont exit a position unless the strategy has a strategy position that is long.Therefor you would need to fake a long position in historical (So it doesnt submit the long order live). This would require starting the strategy up and having a strategy for the longs with ExitLong and having a strategy for the shorts with ExitShort.

    Another option is to use the unmanaged approach and some unsupported code to achieve this if you wanted it done a little more elegantly.



    Let me know if I can be of further assistance.
    BrettNinjaTrader Product Management

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    105 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    53 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    35 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    38 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    74 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X