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

[amibroker] Re: TimeFrameSet not working?



PureBytes Links

Trading Reference Links


Cheers Graham - the line needs to be slightly altered to:

AddColumn( timeframeexpand(ma5_daily,inDaily),"MA5");


--- In amibroker@xxxxxxxxxxxxxxx, Graham <kavemanperth@xxxx> wrote:
> try this
> AddColumn( timeframeexpand(ma5_daily,5),"MA5");
> 
> On 4/20/05, qweds_560 <qweds_560@xxxx> wrote:
> > 
> > 
> > I am working in 5 sec bars (i.e. the settings in AA is 5 sec).
> > 
> > I want to create a variable which is the 5 day MA of the DAILY 
high.
> > 
> > I have tried:
> > 
> > TimeFrameSet(inDaily);//switch to daily time frame
> > 
> > ma5_daily = MA(H,5);//MA operates now on daily not on 5 sec
> > 
> > TimeFrameRestore;//restore time frame to 5 sec
> > 
> > Filter=1;
> > AddColumn(ma5_daily,"MA5");
> > 
> > but this does not work (returns an empty MA5 column).
> > 
> > Would appreciate some suggestions.
> > 
> > Thanks
> > 
> > Sam
> > 
> > 
> > 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
> > 
> > 
> > 
> > 
> > 
> 
> 
> -- 
> Cheers
> Graham
> http://e-wire.net.au/~eb_kavan/





------------------------ Yahoo! Groups Sponsor --------------------~--> 
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

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