Testing A Robot – Online Trading Platforms | CFDs and Forex Markets | InvestorHubFx https://fxtrading.com Wed, 11 Jan 2023 04:10:14 +0000 en-US hourly 1 https://wordpress.org/?v=6.1.1 Using the Strategy Tester https://investorhubfx.com/en/fxt-navigator-guide/robots/testing-a-robot/using-the-strategy-tester/ Wed, 11 Jan 2023 04:08:45 +0000 https://investorhubfx.com/?p=38314 Checking the Test Parameters

The test parameters need to be checked when running a robot test to ensure the correct information and data is being used. It is important to check the correct Expert Advisor, correct Symbol and correct Timeframe are being used. Checking the date tested and also the Model (what data is being used to test on) is important to ensure the output is reliable. If using the Model “Open Prices Only” or “Control Points”, this can sometimes lead to better than expected (and better than actual) results. Remember, we want a realistic picture of the outcome so that we can feel confident in putting the robot to work for us.

Running The Test

A Quick Snapshot

Once you are happy with the inputs and settings, you can run the test. If you just want to see if the parameters are functioning and trades can be placed, a quick snapshot is a good way to start the testing process. It simply helps to confirm the bot is working and is able to function. Ideally, you want to see data in the Graph and the Report.

A More Visual Approach

You have a couple of options when running the test. One way is to use the Visual Mode, which will display the historic data along with orders, stops and take profits so you can visually assess the way the robot works and if you need to make changes. If the visual mode is running too slow, you can speed up the process by dragging the bar next to Visual Mode to the right during the test. The bar looks a bit like a volume slider and controls the speed of the tester. You can slow it down to see the action play out a little slower also.

Optimized Trading

The strategy tester has a range of features which you can utilize to help understand your trading strategy better, and to test or optimize the inputs of the robot. Since you have already screened for a trading strategy and seen the overall outcome, you may wish to run an optimization.

What Can I Optimize?

Optimization means the strategy will test a range of parameters that you set and provide the end result on each step. For example, if you want to check what the best Take Profit figure to use is, you can run an optimization on this and see what the results show. Let’s say you want to test the Take Profit from between 300 points to 2000 points, checking every 100 points in between. The Strategy Tester will pull data and show the results of each iteration for you to review. Additionally, you can test multiple parameters at a time to find optimum combinations of Stop Loss and Take Profit figures and more.

Considerations When Optimizing

Overoptimizing a strategy could mean that you are testing and refining the sample to heavily, and when the market changes, your strategy may no longer fit the conditions of how the market is flowing. Perfect tests do not always lead to perfect trading in the real world, so it is important to consider if the strategy will continue to perform outside of the testing environment. As an example, perfecting the stops and targets for a tight and low volatility period may not harvest the same results when the market becomes more volatile. Consider alternate market conditions and try test with those considerations in mind.

What is the Goal?

This will vary depending on the trader, but the goal in general is to earn a profit from the strategy. Factors that come into play when deciding the profit and worthiness of the trading strategy include risk tolerance, drawdown, timeframes of being in loss vs timeframe being in profit, consistency of the equity curve, win loss ratio and percentages, number of trades and expectancy per trade. All this may sound a bit complicated, so let’s simplify.

The goal for a trader might be to earn as much as possible. Their drawdown and risk tolerance may be very high which might seem very risky to another trader. A more risk-averse trader might be looking for a slow and steady return with a very low drawdown and risk tolerance, even if the returns aren’t as high. Unless a trader is looking to hedge an alternate strategy in a portfolio, most traders will want to see profitability as a must have. The other data such as win loss percentage and ratios is dependent on what people want out of their trading portfolio.

]]>
Testing A Robot https://investorhubfx.com/en/fxt-navigator-guide/robots/testing-a-robot/testing-a-robot/ Wed, 11 Jan 2023 02:09:47 +0000 https://investorhubfx.com/?p=38312

Testing a robot is a way to check if the strategy you have chosen works on historic data using the parameters and trade conditions you are seeking. The screener allows you to check the basis of the strategy, however it does not factor in things like your stop loss level, take profit level, other entry or exit conditions, check the spread and a range of other inputs that can be tested.

This phase is necessary as it provides more detailed information on the trading strategy. Using the graph and results tab following a test, you can see drawdown periods, wins and losses, dollar risk amounts, win loss percentages, number of trades and other important data.

Thankfully, the screener allows you to fast track the major theme behind the strategy, while the Strategy Tester is used to refine and go into more detail before placing the robot on your trading account.

Access The Strategy Tester

To access the Strategy Tester, you can go to View up in the top toolbars and click on Strategy Tester or alternatively you can use your keyboard to press CTRL and R at the same time to toggle the Strategy Tester on or off. The strategy tester generally appears at the bottom of your platform.

]]>