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 CarlTrading, 03-31-2026, 09:41 PM
      1 response
      72 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      39 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      63 views
      2 likes
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      63 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      53 views
      0 likes
      Last Post CarlTrading  
      Working...
      X