No candles drawn when back-testing

Report any bugs with the Tickstory Lite software here. Please give as much detail as possible so the issue can be identified and resolved as soon as possible.
Post Reply
Spronk
Posts: 3
Joined: Tue Nov 17, 2015 10:50 am

No candles drawn when back-testing

Post by Spronk »

Hello,

i'm new to Tickstory and EA programming.

I've exported the EURUSD data from January 2015 till today - Timezone UTC + 1. The .hst files were stored in my history folder of my MT4 installation. There was no error.
After starting my MT4 (Build 910) i skip the login screen to stay disconnected from my Broker (ActivTrades)

When i start the Strategy Tester for EURUSD in visual mode (H4), price is moving, but no candles are drawed.
the summary shows me a modelling rate of 99.9% and that 1410 candles were tested. But nothing had happend. All the other values in the summary stay at 0.

What is wrong here?

best regards
tickstory
Posts: 5166
Joined: Sun Jan 06, 2013 12:27 am

Re: No candles drawn when back-testing

Post by tickstory »

Hi Spronk,

Are you able to give a screenshot of what you're seeing? If you're new to things, I would suggest you export EURUSD and test with the standard MACD Sample. This will help establish whether all your configuration is correct. Sometimes EAs may not trade if the conditions are not right, however MACD Sample should throw in a few trades over a 12 month period.
Also have a look at our EA FAQ which may assist trouble-shooting any other issues you're finding along the way:

http://tickstory.com/forum/viewtopic.php?f=2&t=794

Regards.
Spronk
Posts: 3
Joined: Tue Nov 17, 2015 10:50 am

Re: No candles drawn when back-testing

Post by Spronk »

Hi,

i'm sorry. I found an error in my EA.
In the Init() Function i have assumpted that there is already a given history in the market and collected some bars for a first analysation.
Doing this in Backtesting, starting with the first Bar of the historical data, raises an Exception, because there are no previous bars to collect in the Init() function.
After i've fixed this, everything works fine now.

Thanks and regards.
tickstory
Posts: 5166
Joined: Sun Jan 06, 2013 12:27 am

Re: No candles drawn when back-testing

Post by tickstory »

Great to hear, Spronk. Appreciate you giving an explanation of how you addressed the issue!
Post Reply