I would like to set up backtesting to only evaluate studies for pure intra-daytrading. By this I mean that all positions are closed at the end of the day, no positions are carried over night, and new positions (if any) are established beginning from zero open interest each day, added to, subtracted from, etc., but all closed out to zero at the end of ech day. I would still like to be able to vary time intervals, such as minutes and hours, or to vary time templates, as to the days back for which data is retrieved. But, here's the problem: If I have a 5 minute chart with a 10 period moving average, it takes 10 periods from the beginning of the day to get that moving average fully initialized. So, from the Open, my MA is not at true value for 50 minutes, that is if I set time template to 1 day. I only know how to solve this by setting time template to go back 2 days, in order to get my MA up and running at full 10 period value in Day One in time for the opening of Day Two, of a 2 Day time template. But, my problem is that now when I try that my backtesting also goes back and starts in the second previous day. I need the be able to limit somehow the day that backtesting starts to the Open of the Second Day or the day following the one in which the studies initialize, and thereafter close all positions every day, re-open new positions the every day, and close all the final day of the time template period. A pure intra-daytrading, time template for backtesting, which gives me some control over the starting date for the studies, separated from the starting date for the backtesting, for the date range I select with Time Template. Can you help me with some pre-main settings or other time de-limiters, in EFS.
thanks,
tilmon
thanks,
tilmon
Comment