When backtesting i have used 5 min chart however i want to see longer periode and if i chose 1 hours or 2 hours frame i get more historical data. My question is when backtesting let say 4 hour chart , does the program know when the stop loss occured or profitt target occured within that candle stick on 4 hour? or does it just look at the close price?
No. Current version will always assume that the profit was hit first – leading to very misleading and incorrect results. PRT are working on fixing this in the next version – they call it tick by tick testing. Other platforms call this look inside bar testing. You will find a lot of mention about this in various places on this web site. Be careful – if your backtest results look to good to be true, they probably are.
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue