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

[amibroker] Assistance request with a Custom Indicator


  • Date: Fri, 15 Jan 2010 02:33:29 -0000
  • From: "pacific5_au" <pacific5_au@xxxxxxxxx>
  • Subject: [amibroker] Assistance request with a Custom Indicator

PureBytes Links

Trading Reference Links

I would like a custom indicator to start from a date that I choose and not show all the data of the tickers in question.

I basically want to show ROC on a series of indice tickers from a nominated date, ie current calender year for example. I would like this start date to be user definable from any date.

Here is what I have already, but it plots a running ROC on all the data for the tickers.


_SECTION_BEGIN("AU Indices");

Plot (ROC(Foreign("^AORD","C"),1), "All Ords", colorWhite,styleThick);
Plot (ROC(Foreign("XSO","C"),1), "Small Ords", colorRed,styleThick );
Plot (ROC(Foreign("XMD","C"),1), "Mid Cap50",colorGreen,styleThick ); 
Plot (ROC(Foreign("XTL","C"),1), "20", colorLime,styleThick );
Plot (ROC(Foreign("XFL","C"),1), "50", colorYellow,styleThick );
Plot (ROC(Foreign("XTO","C"),1), "100", colorViolet,styleThick ); 
Plot (ROC(Foreign("XJ0","C"),1), "200", colorOrange,styleThick );
Plot (ROC(Foreign("XKO","C"),1), "300", colorPaleGreen,styleThick );
_SECTION_END();

Have tried Startpoint and begin value but its not producing what I want and clearly I'm on the wrong track.

Any assistance will be most appreciated.

TIA
Pacific




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

**** 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:
    amibroker-digest@xxxxxxxxxxxxxxx 
    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/