Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Exit On Session Close with 30 Seconds value - not working

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

    Exit On Session Close with 30 Seconds value - not working

    Hello
    i modified the followed parameters in order to exit 30 seconds before market closed:
    ExitOnSessionCloseSeconds = 30; // 30 seconds
    IsExitOnSessionCloseStrategy = true;

    i work with ticks in 15 minunets bars and when i simulate it - the trade closed at the begining of the last bar and not where i configured it. what is the reason fot that?
    Thanks

    #2
    Hi orenytz, thanks for your note.

    This will only work on real time data. Are you running this strategy on real time data or is this a historical backtest you are looking at?

    I look forward to hearing from you.

    Comment


      #3
      you right. it was from historical backtest... from real time it works well.
      Thank you !

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by NullPointStrategies, Yesterday, 05:17 AM
      0 responses
      71 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      143 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      76 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      47 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      51 views
      0 likes
      Last Post TheRealMorford  
      Working...
      X