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

[amibroker] Time frame values differ from charts



PureBytes Links

Trading Reference Links

I am trying to understand timeFrame Set, Restore and Expand.

I am not getting the same values from the expanded calculations as I do when I look at the charts.  I have 4 panes set to 1, 5, 10 and 20 minute.

I plot CCI(14) on each pane and on the 1 minute pane I also have the formula below.  That formula calculates the CCI in the time frames of the other panes and plots them. When I compare the plots on the individual charts with the plots on the time expanded chart the CCI values don't match, except for the 1 minute plot which does not use time frame support. If I use the time frame support for the 1 minute CCI in the formula the value does not match the CCI plotted on the same pane. Can someone tell me why the expanded values do not match the charts set to the same time frame?

Thanks,
Barry

Plot(CCI(14), "RSI 1 min", colorBlack);

TimeFrameSet(300 );
x = CCI(14);
TimeFrameRestore();
Plot(TimeFrameExpand(x, 300 ), "\nRsi 5 min", colorGreen);

TimeFrameSet(600);
y = CCI(14);
TimeFrameRestore();
Plot(TimeFrameExpand(y, 600), "\nRsi 10 min", colorBlue);


TimeFrameSet(1200);
z = CCI(14);
TimeFrameRestore();
Plot(TimeFrameExpand(z, 1200), "\nRsi 20 min", colorRed);



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

**** 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/