Timeframeset(indaily); d_ma=ma(c,10);//this is your daily ma
timeframerestore(); d_ma=timeframexpand(d_ma,indaily);//this allows you to make the value of the d_ma usable on your hourly chart On 5/28/07, Clement Chin <[EMAIL PROTECTED]> wrote:
Hi, I would like to take Buy signals from Hourly chart only if the Close is above moving average 10-SMA in daily chart. i.e. If C>MA(C,10) in daily chart, I would like to take and backtest all the Buy Signals [up trend only] such as cross(ema(c,5),ema(c,13)) on same 60-minute chart. How can I do the above coding? Will the two timeframes interfere each other? Thank you in advance. Clement
