Maybe it's possible, however this version would require much too much work for it to be justified. Especially that there already are such MTF indicators available: file
Let me remind you, an Expert Advisor is merely a tool to assist a trader in planning and decision-making regarding when to trade and in which trading bias. One potential way of ...