STRATEGY | INTRUMENT | PASSED BASIC MECHANICS CHECK |
1.14.133 | EURJPY | Double Trades SQX vs jForex BUG 7385 |
1.51.133 | EURJPY | Double Trades SQX vs jForex BUG 7385 |
2.39.182 | EURJPY | ZERO trades bug 7418 |
2.55.157(1) | USDJPY | Double Trades SQX vs jForex BUG 7385 |
2.96.161 | EURUSD | sqLowestInRange not defined bug 7416 |
3.63.100 | GBPUSD | Double Trades SQX vs jForex BUG 7385 |
4.28.134 | USDJPY | Error Generating Source Code, BUG 7400 |
4.36.147 | EURJPY | ZERO trades bug 7418 |
8.28.170 | EURJPY | Double Trades SQX vs jForex BUG 7385 |
1.18.103 | EURJPY | syntax error sacing to jforex bug 7420 |
Strategies for each attached, also the original bug number for reference.
Description changed:
STRATEGY | INTRUMENT | PASSED BASIC MECHANICS CHECK |
1.14.133 | EURJPY | Double Trades SQX vs jForex BUG 7385 |
1.51.133 | EURJPY | Double Trades SQX vs jForex BUG 7385 |
2.39.182 | EURJPY | ZERO trades bug 7418 |
2.55.157(1) | USDJPY | Double Trades SQX vs jForex BUG 7385 |
2.96.161 | EURUSD | sqLowestInRange not defined bug 7416 |
3.63.100 | GBPUSD | Double Trades SQX vs jForex BUG 7385 |
4.28.134 | USDJPY | Error Generating Source Code, BUG 7400 |
4.36.147 | EURJPY | ZERO trades bug 7418 |
8.28.170 | EURJPY | Double Trades SQX vs jForex BUG 7385 |
1.18.103 | EURJPY | syntax error sacing to jforex bug 7420 |
Strategies for each attached, also the original bug number for reference.
I patched 130.467 public with the file.
It fixed the zero trades errors.
It did not fix any of the double trades errors, these remain.
Also, do you know if all blocks are now working in 130.467 public with jforex engine? If not do you maybe have an up to date blocks config with those that are functioning?...my latest on is from November :)
Attachment JForex_patch_412020.zip added
Can you please test it and let me know if it works for you ?
Thanks for the second patch! I now retried the strategies - it fixed the double trade bug for 50% of the strategies. For the remaining strategies the bug is still there.
These 3 strategies still make too many trades in jForex vs SQX backtest
1.14.133 +34% more trades in jForex
3.63.100 +44% more trades in jForex
1.40.1119 + 11% more trades in jForex
I am using a tolerance of +/- 10% match between the number of trades in SQX backtest vs jForex backtest.
+/-<=10% and I am fine if the equity curves match and the profiles are roughly the same - $expectancy, %win, profit factor etc. There is never a 1:1 match between number of trades, which is to be expected I guess.
Attachment WF_Optimization_GBPUSDStrategy_2_39_113.csv added
Attachment WF_Optimization_GBPUSDStrategy_2_39_113.java added
Attachment WF Optimization - GBPUSDStrategy 239113.sqx added
Not sure where to post this, so feel free to move this one to a separet ticket/non-test bug report.
I set 5 stratgeies live a couple of weeks ago after the varuous patches etc. They all backtested in jforex just fine. However when live they are all opening trades without a stop loss or profit target. The pending orders are always fine: Pending Order with atatched SL and TP. But when they trigger to acutal order, they are opened without the SL or TP. They are naked.
Atatched the log for one of them. I talked with dukascopy to filter out what was sqx side and dukas side. They said message like 'ticket' etc are developer generated (I was trying to link the tickets (pending orders to the live order when it opened, but couldnt).
Some have the error order rejected becasue not more than 1 order can be opened in 1 second. Some strategies dont show this error (but are still opened naked without SL or TP). All pending orders look fine on the live system - thye have TP and SL atatched, and TP and SL update appropraitely (although with this strategy you will see SL and TP updates to pending orders are only succesful EVERY OTHER update, which is strange).
I think there is more than 1 thing going on here, but basically none of the 5 staretegies I have live in jforex have succesfully opened with a TP and SL. All have opened naked without.
PS Dukascopy tech said 'please ask the developer to stop spamming the logs with 'null'. You will see what i mean in the strategy log :)
https://roadmap.strategyquant.com/tasks/sq4_7585/edit
Status changed from New to Fixed
There can be still some differences in backtests. Please read post here https://strategyquant.com/doc/strategyquant/reliable-backtesting-in-jforex/
please overwrite JForex template files with the patch attached \extend\Code\JForex
It should fix the problem with zero trades and also the problem with double trades for some strategies.
Please keep me updated.
Sincerely,
Tamas