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 NullPointStrategies, Today, 05:17 AM
    0 responses
    53 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    130 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    70 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    44 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    49 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X