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.