API Support wrote:
f451 wrote:
Currently there is no way of confirming that the filters applied in a strategy are indeed those shown on the chart during visual backtest
Well, there is -
IChart.getFilter(), see example:
https://www.dukascopy.com/wiki/#Add_indicators_on_chart/Include_in_OHLCApart from that - the platform always uses the same filter for all charts - the settings gets taken from
Tools > Preferences > Chart > Flats Filtration.
If I create a strategy which uses the universal calculateIndicator() method and sets some filters which are different to the current JForex Client chart preferences, when I run the historical tester for this strategy, and show a visual backtest, what is displayed on the visual backtest chart for bars and indicators? The filters applied by the strategy, or the filters applied by the JForex client preferences?
e.g. if the Client chart preferences are - Flats - NO_FILTER, and the Strategy uses Filter.WEEKENDS what will be displayed in a visual backtest of the strategy? For bars and for indicator values?
Also, how does the daily candle filter in chart preferences (SUNDAY_IN_MONDAY etc) affect the filters applied in a strategy?