hi, anyone ever do a backtest on intraday data to exit trading for the day when a certain profit is achieved? In the chart below the intraday profit / loss curve is shown. I guess I could put this data in a composite and use the compositie during a more detailed backtest. Still the coding is pretty difficult since when the daily profit is achieved you want the backtest to continue for the next day of intraday data.
Another way to test it would be to just analyze the data below. For instance if +1000$ is achieved intraday jump to the next day, if not take the profit/loss value at the close and just add these value. Not so easy to program or have I been drinking too much liquor lately? Wonder if anyone solved this problem or sees the solution? thanks, Ed
<<im.png>>
