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

Re: [amibroker] Help with PLOT syntax



PureBytes Links

Trading Reference Links

I just want to plot the the array variable ROC1. I copied it from the ROC indicator and since it is a function this is probably why I am having the problem. What would be the syntax to plot the array variable in the same manner as the function ROC?
 
Thanks,
James

----- Original Message ----
From: Graham <kavemanperth@xxxxxxxxx>
To: amibroker@xxxxxxxxxxxxxxx
Sent: Tuesday, March 18, 2008 9:31:02 PM
Subject: Re: [amibroker] Help with PLOT syntax

ROC1 is not a function as shown, just an array variable. If you want the ROc of ROC1 then use ROC(ROC1,periods)


--
Cheers
Graham Kav
AFL Writing Service
http://www.aflwriti ng.com

On 19/03/2008, James <jamesmemphis@ yahoo.com> wrote:

Could someone please tell me what is wrong with this PLOT statement.

 

_SECTION_BEGIN

("ROC1");

P = ParamField( "Price field" );

periods = Param("Periods", 15, 1, 200, 1 );

ROC1 = ( P / Ref (P,-12));

Plot

( ROC1 ( P, periods), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style") );

_SECTION_END

();

 

Thanks in advance,

James



Looking for last minute shopping deals? Find them fast with Yahoo! Search.






Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. __._,_.___

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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___