I am about to test my 2-timeframes strategy in realtime (however papertrding). This is the first time I do it so for sure it won´t work. Here are my concerns:
1) For backtesting, I used txt files. One is called ER2 ##-## (with 4 years of daily bars) and the other txt is called ER2 06-08, and has 4 years of 30min bars.
I am going to use IB for papertrading. If I leave the code like that, IB won´t know what is "ER2 ##-##", right?? so shall I change the code into
¿¿Add(PeriodType.Day, 1) without indicating nothing else??
I need a fairly long daily historical, for I use a SMA of 250 daily bars. The current ER2 06-08 contract surely has not 250 daily bars in it. So my SMA won´t be calculated correctly, am I right?? How can I fix this??
Thanks for any help
Juan Rivera

Comment