Is it possible to attach ex4 EA directly or through API to test on Forex Tester? Is there a way to avoid look forward bias?
Look-ahead bias
This bias is created when you use data that would not have been known during the simulation period. This often leads to inaccurate and wrong results.
An example would be to reference future bars in your formula:
buy = ref(close, -1) > 10;
The above line references a future bar (close price at next bar).
You should also make sure that the indicators you are using do not have the look-ahead bias. An example of such as indicator is the ZigZag. This indicator makes use of future bars to create high and low swings.
How to avoid look-ahead bias:
- Right click on a chart
- Select "Edit Formula"
- Type your formula
- Click on "Look-ahead" button
- Make sure that the "Bars to the future" is equal to 0.
Be aware, that some custom function (rare) may reference future bars and returns 0 in "Bars to the future" field. If you have any doubt, please post your function name (+ link to the trading item) on the forum.
Ref http://www.quantshare.com/sa-428-9-mist ... z3aVZyR1c9
Attaching EX4 to Test Directly on ForexTester & Forward bias
-
- Posts: 3
- Joined: Sat May 16, 2015 5:37 pm
-
- Posts: 1479
- Joined: Mon Apr 01, 2013 3:55 am
Re: Attaching EX4 to Test Directly on ForexTester & Forward
Hello,
No, Forex Tester doesn't allow to use ex4 EAs without converting them into Forex Tester format using Forex Tester API.
We provide API files in "Examples" folder in folder with Forex Tester, API descriptions can be found in "Help" menu in Forex Tester program.
No, Forex Tester doesn't allow to use ex4 EAs without converting them into Forex Tester format using Forex Tester API.
We provide API files in "Examples" folder in folder with Forex Tester, API descriptions can be found in "Help" menu in Forex Tester program.
Return to “New Feature Suggestions”
Who is online
Users browsing this forum: No registered users and 17 guests