Good morning everyone,
I’d like to know if it’s possible to code a system that does the following thing:
every last day of the month it calculates the ratio between instrument A and instrument B. If the ratio is above its 10 day moving average, the system invests in ETF XXX for the following month. If the ratio is below its 10 day moving average, the system invests in ETF YYY for the following month.
Do you think it’s possible? Maybe combining 2 strategies in one system?
Thank you and have a nice day!