PureBytes Links
Trading Reference Links
|
Hi,
This post is related to the immediately prior post. I'd like to look at bars in AFL and plot an indicator from a higher time frame while plotting a lower time frame of the main instrument -- basically, validate what a setup on a lower time frame by looking at the higher time frame (lower is 300 ticks, higher is 900 ticks).
I emailed support, got a question back, responded, and it sort of died there. But I'm interested in how others are using it/how successfully anyway.
The code looks something like this.
TimeFrameSet(-900);
HigherTFClose = C;
TimeFrameRestore();
HigherTFCloseNow = TimeFrameExpand(HigherTFClose, -900, expandLast);
What I found using _Trace() statements is that HigherTFCloseNow seemed to hold a single value. I had understood that the TimeFrameExpand() function created an array filled with continuous values from the higher timeframe, padded, or repeated, in order to align the array with the array of values from the lower time frame.
Maybe I'm missing something. How have others made use of this and does it work for you? Thanks,
Gordon
------------------------------------
**** 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/
|