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

[amibroker] Displaced EMA help



PureBytes Links

Trading Reference Links

Hi,

I'm trying to use a displaced EMA in my scanner and I have the following code.  Is this code the same as if I was plotting into the chart?


///////////////////// 2 period EMA displaced 3 bars into the future

RED = Ref ( EMA ( Close, 2), 3 ) ;


///////////////////// 2 period EMA displaced 3 bars into the future
xshift = Param ("Shift", 3,0,50,1,1 );

Plot( EMA ( close,2 ), "Shifted MA", ParamColor( "Color", colorCycle ), ParamStyle("Style"),Null, Null, xshift );

Hope someone can help

thanks

tony


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





YAHOO! GROUPS LINKS