Here is the ROC code:

 

P = ParamField( "Price field" );

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

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

 

 

Carl

 

Reply via email to