I hope I am not overloading the forum with my noob topics, but though I cannot overcome the issue on my own
on the image below are the results of my EA strategy testing
order #3 (blue line on the graph) is a buy order opened at price 16.800 and closed at price 20.124 with lot size 32.46, which should be about 107$ profit, but the results section show 24.64$ loss. I am probably missing something obvious, but I don't see it. Please help!
Yes It should be . . . repeat exactly the same test again, but add print statements for the Spread, Commission and Swaps when the Order closes.
I don't get output for that particular order, it jumps over several numbers, but for some orders that have output comission is about 145%
When I run the test on original data that came with the terminal installation (that is subsequent to the historical data I used on the screen images) everything is fine.
I guess the problem is due to csv data mounting (I mounted all timeframes from 1 minute to 1 month), but the candles of the mounted historical data look pretty good.
edit:
when I run the test not using every tick but with open prices only (my EA works exactly on bar opening, so it is fine with my EA) I get those wild comissions again, here is the screen:
I don't get output for that particular order, it jumps over several numbers, but for some orders that have output comission is about 145%
When I run the test on original data that came with the terminal installation (that is subsequent to the historical data I used on the screen images) everything is fine.
I guess the problem is due to csv data mounting (I mounted all timeframes from 1 minute to 1 month), but the candles of the mounted historical data look pretty good.
Ahhhh, garbage historical data == garbage Strategy Tester results . . . it is desirable to create all your timeframes from the M1 data then you will not get any unmatched data errors because all the timeframes come from the same source.
>create all your timeframes from the M1 data
do you mean creating them with instruments built in MT4 if there are any?
or do you mean I should make M1 from tick data and then make other timeframes from M1, but not from tick data?
because I created all timeframes from tick data directly
>create all your timeframes from the M1 data
do you mean creating them with instruments built in MT4 if there are any?
or do you mean I should make M1 from tick data and then make other timeframes from M1, but not from tick data?
because I created all timeframes from tick data directly
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I hope I am not overloading the forum with my noob topics, but though I cannot overcome the issue on my own
on the image below are the results of my EA strategy testing
order #3 (blue line on the graph) is a buy order opened at price 16.800 and closed at price 20.124 with lot size 32.46, which should be about 107$ profit, but the results section show 24.64$ loss. I am probably missing something obvious, but I don't see it. Please help!