This toolbar contains the drop-down menu where you can choose the interpolation method, as well as the buttons staring the method comparator and the intrabar scanner.
Following a fixed route, Forex Strategy Builder goes round each bar in order to execute or cancel all orders sent by the strategy. This route is determined by the four base points - Open Price, High Price, Low Price and Close Price. In most cases, this information is sufficient for a correct calculation of the historical test. If the strategy sends close orders, however, and they are within the limits of the current bar, it is not always possible to determine for sure what the order of order execution is.
Those bars where we cannot tell for sure what the order of order execution is are called ambiguous bars.
The various interpolation methods set different algorithms for calculating the back test. Each one of these methods interpolates the ambiguous bars in a specific way. If the strategy contains a large number of ambiguous bars, the end balance of your virtual bank account can vary significantly with the different methods.
With this method, FSB aims at executing the order which will bring about a more negative result.
Examples:
The Shortest method goes round each bar, following a fixed route, depending on whether the bar is rising or falling;
These are the shortest possible routes through the bars, which is how the method gets its name. With them, the price never goes back to a previous value.
The Shortest method imitates the development of a maximally effective market. The chosen order of going through the key points is valid for 90% of the bars.
This method, however, has a major flaw. Because the price moves in a single direction through the margin points, if we have two valid orders in most of the bars, this leads to major distortion of strategy result.
Example:
Because of the extreme results this method brings about, it can serve as a good basis for comparison with the other methods.
With this method, Forex Strategy Builder will execute the nearest of all active orders in the current bar.
Example:
This method's logic is opposite to the logic of the Pessimistic method. Forex Strategy Builder aims at executing the order which will bring about a higher profit.
Examples:
With this method, Forex Strategy Builder executes orders in a random sequence. The statistical probability that a given order be executed is inversely proportional to the distance to it. The nearer order is more likely to be executed than the further one.
When the strategy contains ambiguous bars, the interpolation methods produce different results in the historical test. None of the methods is better or worse than the others. Each of them has its own advantages or drawbacks, depending on the strategy or the market.
The Comparator button activates the Method Comparator tool. This tool serves to compare the results of the various interpolation methods.
It comes useful if the strategy contains ambiguous bars.
This button activates the Intrabar Scanner tool. It serves to load all intermediate data available in order to achieve greater accuracy when calculating the strategy.
The Intrabar Scanner comes useful when the strategy contains ambiguous bars.