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

[amibroker] Re: [Help] Intraday MA/EMA/WMA questions



PureBytes Links

Trading Reference Links

how about look up some afl functions like cross() and plot()?

buy = cross(C, ema(c,20)...
plot(ema(c,50)...

--- In amibroker@xxxxxxxxxxxxxxx, "xu_ningning2000" 
<xu_ningning2000@xxx> wrote:
>
> Okay, I am a novice in programming. 
> 
> I know Amibroker provides MA/EMA/WMA for daily calculation using
> pre-defined parameters like "close". (I get that from examples)
> 
> Let's take ema for example: 
> 
> Syntax: ema (array, periods)
> 
> How can I express the following idea: 
> 
> buy stock when current stock price is greater than current intraday
> ema(??, 50)?
> 
> Or how to print the current intraday ema(20) and ema (50) for my
> reference?
> 
> thanks a lot
>



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

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

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

For other support material please check also:
http://www.amibroker.com/support.html
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/