Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Custom FX Session template

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

    Custom FX Session template

    Hello fellow traders,

    Just asking for your advice/experience: what I intend to achieve, keep the FX position overnight but exit on close only on Friday. Instead of modifying my code, I thought it would be a lot easier to create a custom session template that starts Sunday 5pm till Friday 5pm, as one single session. But live sim trading with this template still closed position each day at 5pm.

    Any thoughts? TIA.

    #2
    Hello leizhenhua,

    Thanks for your post.

    I have been able to replicate the issue and we will be looking into this further.

    In the meantime, if you wish, you could modify your code to test for Friday at a time of your preference to exit your trade. You would also need to implement the strategy with the ExitOnClose set to false so that it will not exit daily.

    Comment


      #3
      Hello leizhenhua,

      Thank you for your patience.

      Please send me your log and trace files for today so that I may look into what occurred.

      You can do this by going to the Control Center-> Help-> Mail to Platform Support.

      Please reference this thread in your e-mail: "http://www.ninjatrader.com/support/forum/showthread.php?t=73334"

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      88 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      48 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      31 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      34 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      69 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X