I would like to ask something slightly different:

on weekly TF we consider data from monday to friday like in:

TimeFrameSet( inWeekly );
m = MACD(12, 26 ); 
TimeFrameRestore();
m1 = TimeFrameExpand( m, inWeekly,expandLast ); 

in this example m1 (MACD weekly) has the same value till next friday. OK.

I would like to have the indicator calculated "on the last 5 days"

on Monday: with the data from last tuesday to monday 

on Tuesday: with the data from last Wednesday to Tuesday 

end so on till

on Friday: with the data from last monday to Friday (as in the weekly chart)


how can I do it?

Is it possible to have this done with using Multitimeframe functions or is it 
needed to code by own?

I am sorry if this is a too basic question 

Bisto

--- In [email protected], "af_1000000" <af_1000...@...> wrote:
 
> For the sake of simplicity just assume that we have weekly and daily >charts 
> in a layout, one indicator RSI(14) on both charts, and today is >Wednesday. 
> If we look on a weekly chart AB displays RSI(14) value on Y >axis of the 
> indicator window AS OF WEDNESDAY (13 closes as of previous >Fridays and the 
> close of today's Wednesday are used to calculate it).


Reply via email to