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.
    Paul H.NinjaTrader Customer Service

    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 alifarahani, Today, 09:40 AM
      6 responses
      38 views
      0 likes
      Last Post alifarahani  
      Started by Waxavi, Today, 02:10 AM
      1 response
      18 views
      0 likes
      Last Post NinjaTrader_LuisH  
      Started by Kaledus, Today, 01:29 PM
      5 responses
      15 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by Waxavi, Today, 02:00 AM
      1 response
      12 views
      0 likes
      Last Post NinjaTrader_LuisH  
      Started by gentlebenthebear, Today, 01:30 AM
      3 responses
      17 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Working...
      X