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

[amibroker] get 1 minute 9 ema from 5 minute bar



PureBytes Links

Trading Reference Links

Hello
i am using 5 minute bars and trying to get the 9 ema of 1 minute bars. 
the data returning seems to be incorrect when i compare it visually. 
can someone help in pointing out the error.
// i am using 5 minute timeframe and want to see the values of 1 minute 
bar.
OneMinuteBars=TimeFrameGetPrice("C",in1Minute,0,expandLast);
" 9 ema at 1 minute bar is " + WriteVal(EMA(OneMinuteBars,9),1.5); // 
" 20 ema at 1 minute bar is " + WriteVal(EMA(OneMinuteBars,20),1.5); // 

// trying to use it directly

//TimeFrameGetPrice(EMA(C,9), in1Minute, 0,expandLast);
//First parameter - pricefield - i



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/