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