I have created an efs system that works great whilst backtesting.
When I run the efs live in realtime, I get realtime buy and sell signals (everything seems ok).
(but...) When I refresh the chart, the buy and sell signals move to a more favourable position, therefore showing me backtesting reports that would never materialise in realtime. Some of the trades triggered in realtime even disappear!
Please could you look at the attached file and correct my code.
I am buying & selling off a 1 min chart.
I use 1, 3, 11, 17 & 57 Stochastic Intervals in my strategy.
I use setComputeOnClose(true);
ps: Please don't send me to another thread because I've spent hours doing that already. I need to tighten up my backtesting to get closer to realtime results.
Please help, I've spent months on backtesting and get the same situation every time I go live!
Regards
Darren
When I run the efs live in realtime, I get realtime buy and sell signals (everything seems ok).
(but...) When I refresh the chart, the buy and sell signals move to a more favourable position, therefore showing me backtesting reports that would never materialise in realtime. Some of the trades triggered in realtime even disappear!
Please could you look at the attached file and correct my code.
I am buying & selling off a 1 min chart.
I use 1, 3, 11, 17 & 57 Stochastic Intervals in my strategy.
I use setComputeOnClose(true);
ps: Please don't send me to another thread because I've spent hours doing that already. I need to tighten up my backtesting to get closer to realtime results.
Please help, I've spent months on backtesting and get the same situation every time I go live!
Regards
Darren
Comment