[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: How can I display daily ma on intraday graph?



PureBytes Links

Trading Reference Links

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 amibroker@xxxxxxxxxxxxxxx, "chenpuias" <chenpu1982@xxx> 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.
>




------------------------------------

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/