Error codes. My backtest shows an error. How can I fix it?
The NNFX Algo Tester can show errors in several different situations, but this is rarely a cause for concern. Usually, an error simply prevents you from getting an incorrect result by stopping the backtest immediately (if you have the STOP TESTER ON ERROR option enabled).
Pro tip: If you enable the STOP TESTER ON ERROR option, errors will be shown in optimizations too. You will see the error code in the On Tester result column instead of the chosen parameter value.
Here is a list of error codes and what you should do if you see them:
Code | Error description / fix |
---|---|
900 | THIS CHART IS NOT SUPPORTED! |
Open a new online chart from the MT4 Market Watch window. To open a new online chart, right click on any symbol in the Market Watch window and select the 'Chart Window' option. | |
901 | ALLOW DLL IMPORTS! |
In MT4, go to Tools>Options>Expert Advisors tab and check 'Allow DLL imports'. | |
902 | At least 100 history candles are required to perform the test. The test can only start after [DATE]. |
To fix this error see this article. | |
903 | PLEASE CHOOSE AN INDICATOR FOR C1 OR BASELINE |
The test mode you selected requires a C1 or Baseline indicator to be included in your algorithm. | |
904 | PLEASE CHOOSE AN INDICATOR FOR C1 |
The test mode you selected requires a C1 indicator to be included in your algorithm. | |
905 | PLEASE CHOOSE AN INDICATOR FOR BASELINE |
The test mode you selected requires a Baseline indicator to be included in your algorithm. | |
906 | PLEASE INDICATE THE INDICATOR NAME AND PATH ON THE REPAINT TEST INDICATOR INPUT |
To run the REPAINT TEST mode, you need to enter the name and path of the indicator you want to test in the "REPAINT TEST INDICATOR" field. | |
907 | The Spread is too damn high -> SPREAD MAX = MAX SPREAD |
The spread is too high. Select a lower value for the spread or change the "MAX SPREAD TO TRADE" in the NNFX Algo Tester Safety Limits. This error can also arise if you have set the PIP VALUE MULTIPLIER to a very low value. | |
908 | Order error |
The NNFX Algo Tester was unable to place the order according to your broker's account regulations. It may be necessary to change the NNFX Algo Tester Safety Limits or Money Management settings. You can see more information about this error in the Journal tab. Note that some brokers block live/real accounts until a deposit is made, which prevents the NNFX Algo Tester from doing the backtest. In that case you can ask your broker to remove this limitation or you can use a demo account. |
|
909 | Unable to place SL in Break Even |
Check the reason in the Journal tab. If this warning persists, please contact support. | |
910 | Unable to adjust Trailing SL |
Check the reason in the Journal tab. If this warning persists, please contact support. | |
913 | Error closing order |
It was not possible to close the order. Check the reason in the Journal tab. | |
917 | BUY ORDER EXIT UNKNOWN |
It was not possible to classify the BUY order exit. This order will not be accounted for in the final report because all orders must be classified. If this error occurs, please contact support. | |
918 | SELL ORDER EXIT UNKNOWN |
It was not possible to classify the SELL order exit. This order will not be accounted for in the final report because all orders must be classified. If this error occurs, please contact support. | |
919 | WRONG INDICATOR PARAMETERS – INDI NAME |
To fix this error, see this article. | |
920 | CUSTOM BASELINE – INDI NAME |
To fix this error, see this article. | |
921 | INDI NAME |
To fix this error, see this article. | |
922 | WRONG INDICATOR PARAMETERS – CUSTOM INDICATOR OPTION – INDI NAME |
To fix this error, see this article. | |
923 | CUSTOM INDICATOR OPTION – INDI NAME |
To fix this error, see this article. | |
924 | CUSTOM INDICATOR OPTION – The buffer value cannot be less than 1 |
Buffer numbers begin at 1, not 0. The second buffer has the value 2, the third buffer has the value 3, etc. Choose a valid buffer. | |
925 | PLEASE USE THE OPEN PRICES ONLY MODEL WHEN USING THE REPAINT TEST |
The REPAINT TEST was developed only for the OPEN PRICES ONLY model. Select this model. | |
926 | PLEASE USE THE OPEN PRICES ONLY MODEL WHEN USING THE WEEKEND CANDLES TEST |
The WEEKEND CANDLES TEST was developed only for the OPEN PRICES ONLY model. Select this model. | |
927 | You are using a configuration (or a Set file) from an outdated version. |
Using a Set file (saved settings) from an older version of the NNFX Algo Tester can lead to unreliable results. Click on the RESET button and run the test again. Outdated Set files can be converted to the latest versions here: https://nnfxalgotester.com/software/set-file-converter/ | |
928 | It is not possible to calculate the order risk if the SL = 0. |
Select the USE FIXED ORDER SIZE option instead. |
If you need more help to fix an error, do not hesitate to contact support.