I have copied A Parameter example script as AFL in customs folder given as
below.
_SECTION_BEGIN("MACDSignal");
*Buy* = Cross(MACD(), Signal() );
*Sell* = Cross(Signal(), MACD() );
pricefield = ParamField("Price Field", 3);
Color = ParamColor("color",*colorRed*);
style = ParamStyle("style",*styleLine*,*maskAll*);
arrows = ParamToggle("Display arrows", "No|Yes",1);
Plot(pricefield,"pricefield",Color,style);
*if*(arrows)
{
PlotShapes(*Buy***shapeUpArrow*+*Sell***shapeDownArrow*,IIf(*Buy*,*
colorGreen*,*colorRed*) );
}
_SECTION_END()
But when I open parameters window, I get parameter for pricefield only.
1) What is to be done for getting all parameters?
2) If I want to test only between some data say from 1 Jan 2010 to last
trading day in scanning how should I modify this?