Being able to anticipate where price might evolve after a trade can be useful to plan potential exit points, set take profits/stop loss as well as knowing when user set ones might get hit…etc.
All Backtesters include a forecasting tool able to provide forecasts from the most recent trade executed by the backtester.
Forecasts can be enabled from the “FORECAST” settings group by enabling the “Show Forecast” toggle.
Each forecast is influenced by the price evolution made during previous respective long and short trades, as such forecasts for long positions are different from the ones of short positions.
Users can select the maximum length of forecast using the “Forecasting Length” setting.
Because of the forecasting algorithm used, forecasts can have a lower length than the one selected by the user depending on the average bars in trade.
Very frequent trades will generally return short price forecasts due to the lack of available data.
By default, forecasts are displayed alongside an area, indicating where future prices might evolve. The area extremities can help users potentially determines exit points with there interaction with the price, but can also help reference the performance of a current trade relative to past trades.
Areas extremities are representative of past trades performances. For example:
If an area is no longer visible in a point in time of the forecast it means that there is not enough data for that point in time.
Users can control the influence older trades have on the forecast using the “Maximum Forecast Memory” setting, with lower values using a shorter term memory, discarding older information more quickly.
Low values of this setting allow obtaining more diverse forecasts for new trades, while higher values will return forecasts less subject to change over time.
When forecasts are displayed, users can set take profits using the nth percentile of a returned forecast. This can be done from the “TPS & SLS” settings, by selecting “Forecast” in the “Long TP” and/or “Short TP”.
The numerical setting selected at the right of the drop-down menus determines the percentile used, and should be set within the range [0, 100] in order to work. Percentiles values can affect the returned levels as follows:
Do note that because forecasts are based on the strategy entries, take profits levels based on it can be subject to repainting, except when using a backtesting window based on a date.