Hello chenpuias,

For visual use that approximates what you would see in higher timeframe 
(macrobars):

- for example, weekly SMA in daily charts
- one week == 5 daily bars (in normal situation)
- therefore plotting an MA(close,50) on a daily bar chart will approx == 
MA(C,10) on a weekly chart.

If you want to exactly replicate MA(C,10) weekly in daily bar view, or 
backtesting, then you might have success with the builtin function:

TIMEFRAMEGETPRICE
- retrieve O, H, L, C, V values from other time frame

Note that the approx method assumes their is data for every bar.
To assure this:

- in BT use pad and align to an index
- in charts use code, posted at the zboard, to display charts in pad and align 
equivalent




--- In [email protected], "chenpuias" <chenpu1...@...> wrote:
>
> I want to know how to diaplay the numerical value of weekly ma on the daily 
> or intraday graph. I just do not want to change the timeframes to the weekly 
> graph, since I have several ma on my graph. Is there anyone knowing how to do 
> it? Thanks.
>


Reply via email to