multiple-time frame EA based on RSI

 

Help me please !!!!

I need someone to help me code an EA based on RSI

this is a multi-time frame EA, the EA should be able to simulteneously analyse the three time frames before taking a trade.

my strategy is as follows:

Time frames used;Daily,4Hour,1Hour.

RSI-period=21

if (RSI > 70 on daily chart) && (RSI > 70 on 4hour chart) && (RSI > 70 on 1hour chart) =SELL

if (RSI <30 on daily chart) && (RSI <30 on 4hour chart) && (RSI <30 on 1hour chart) BUY

Thanx for your effort.

Reason: