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

AW: [amibroker] Plotting X periods ahead or behind



PureBytes Links

Trading Reference Links

Hi,

You can go back and forward through the ref function.
LaggingLine = Ref(C, -26);
LaggingLine = Ref(C, 26);

Regards
 
Thomas
www.tradingbasis.com

 
-----Ursprüngliche Nachricht-----
Von: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] Im Auftrag
von Andrew Z
Gesendet: Donnerstag, 01. September 2005 13:44
An: amibroker@xxxxxxxxxxxxxxx
Betreff: [amibroker] Plotting X periods ahead or behind

G'day all,

How would you implement an indicator from this description:

"The lagging line is the current close plotted 26 periods behind" ???

LaggingLine = Ref(C, -26);   This only gives you the Close 26 periods 
ago, right??

Conversely how would you implement something "...plotted 26 periods 
ahead"???

The terminology has be baffled...

Thanks,
Andrew.





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



 





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Help Sudanese refugees rebuild their lives through GlobalGiving.
http://us.click.yahoo.com/hjNroD/EbOLAA/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/