Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Intraday fills in backtest

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

    Intraday fills in backtest

    Good afternoon.

    I have a strategy on the daily time frame that uses the previous days high as a stop and previous days low as an entry. When I run a backtest I am getting trades that stop in the back test but in real time the stock trades higher first though were the stop would be then the stock moves lower and triggers the entry. The test reports this as a trigger first then a stop. It seems like because the test does not have the intraday data and it is using absolutes on the daily time frame which shows it could have triggered then stopped. Does anyone have a work around for this? Picture attached for an example. Thanks so much Ryan.
    Attached Files

    #2
    Hello Tonkingrf1551,

    You can find a sample of intraday backtesting in the following link, you would need to use a secondary series to allow for logic to be executed intrabar with a daily bar.


    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    93 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    138 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    123 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    73 views
    0 likes
    Last Post PaulMohn  
    Working...
    X