Hi all,
I have written a trading strategy that uses 5 minute bars to enter and exit. It works well. The issue I have is that although I can apply a MA filter to the 5 min bars, I cannot make the MA larger than 2000(5 min bars) before I get an error.
Ideally I want to use an MA calculated on daily bars, but applied to 5 minute bars, ie use a 55 day MA applied to the 5 minute strategy. Anyone got any ideas?
There appears to be no way of using a dual data feed within a single window (as you can in tradestation), the only other thought I have had is to use two charts, one based on the daily data, running the appropriate MA and outputting the MA data to a file, which is then read by the other chart running 5 minute data for use as a filter. Seems a little crude though!!
I am hoping I have just missed something.....
many thanks in advance
I have written a trading strategy that uses 5 minute bars to enter and exit. It works well. The issue I have is that although I can apply a MA filter to the 5 min bars, I cannot make the MA larger than 2000(5 min bars) before I get an error.
Ideally I want to use an MA calculated on daily bars, but applied to 5 minute bars, ie use a 55 day MA applied to the 5 minute strategy. Anyone got any ideas?
There appears to be no way of using a dual data feed within a single window (as you can in tradestation), the only other thought I have had is to use two charts, one based on the daily data, running the appropriate MA and outputting the MA data to a file, which is then read by the other chart running 5 minute data for use as a filter. Seems a little crude though!!
I am hoping I have just missed something.....
many thanks in advance
Comment