Posted By: Dalla
Trend test producing different result for same asset - 04/26/17 13:31
Hi,
I'm currently running some tests with the trend tests scripts from financial hacker.
One thing that bothers me is that I'm getting slightly different results for the same asset, only by removing other assets from the test.
What I mean is that all I changed is
while(asset(loop("EUR/USD","SPX500","XAG/USD")))
to
while(asset(loop("SPX500")))
This difference is small, but it is there, which makes me wonder if there is something about the script that I do not understand. I would expect the results to be exactly the same here.
See attached images for an example
I'm currently running some tests with the trend tests scripts from financial hacker.
One thing that bothers me is that I'm getting slightly different results for the same asset, only by removing other assets from the test.
What I mean is that all I changed is
while(asset(loop("EUR/USD","SPX500","XAG/USD")))
to
while(asset(loop("SPX500")))
This difference is small, but it is there, which makes me wonder if there is something about the script that I do not understand. I would expect the results to be exactly the same here.
See attached images for an example