Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy placing entry on wrong bar

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

    #16
    Hi guys,

    I wanted to post sooner but couldn't because of the weekend site maintenance.

    I figured out the issue. If you look at the first condition I have, where I compare the two EMA values, you'll notice that it runs on a different data set (different time frame). This particular condition uses 60 minute bar data.

    All the other conditions run on 15 minute bar data. I had CalculateOnBarClose set to true, which means the strategy was waiting for the next hourly bar to finish before it could evaluate the entire condition set and place or not place the order.

    Thanks for all the help. Can't believe it took me 4 days to spot this!

    Comment


      #17
      PhillyD, thanks for letting us know, glad to hear you could find the cause.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      647 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      368 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      108 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      572 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      573 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X