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

Re: [amibroker] Assistance request with a Custom Indicator


  • Date: Thu, 14 Jan 2010 22:23:52 -0500
  • From: "Steve Dugas" <sjdugas@xxxxxxxxxxx>
  • Subject: Re: [amibroker] Assistance request with a Custom Indicator

PureBytes Links

Trading Reference Links

Oops, put the param in the wrong place, this one looks better...

Plot (IIF( DateNum() < StartDate, NULL, ROC(Foreign("^AORD","C"),1)), "All
Ords", colorWhite,styleThick);

----- Original Message ----- 
From: "Steve Dugas" <sjdugas@xxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Thursday, January 14, 2010 10:05 PM
Subject: Re: [amibroker] Assistance request with a Custom Indicator


> Hi - You can try this...
>
> StartDate = ParamDate( "Start Date", "1/4/2010" );
> Plot (IIF( DateNum() < StartDate, NULL, ROC(Foreign("^AORD","C")),1), "All
> Ords", colorWhite,styleThick);
> ...
>
> Steve
>
>
> ----- Original Message ----- 
> From: "pacific5_au" <pacific5_au@xxxxxxxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Thursday, January 14, 2010 9:33 PM
> Subject: [amibroker] Assistance request with a Custom Indicator
>
>
>>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
>>
>>
>>
>>
>
>
>
>
> ------------------------------------
>
> **** 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
>
>
>
> 




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

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