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

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

--- In [email protected], "xu_ningning2000" 
<[EMAIL PROTECTED]> 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
>


Reply via email to