Problem with simple exploration

  1. When inserting code to post then please use code tags (it is mandatory). See here
  2. You forgot to add Filter variable. It is essential part of every Exploration.
// One year ROC is > 20 (prior uptrend)
AccuROCP = Param("Periods", 253, 1, 1000, 10 );
AccuROC = ROC(C, AccuROCP);
Uptrend = AccuROC > 20;

//CHART PLOTTING
Plot(Close,"", colorPink, styleBar);
PlotShapes(shapeHollowUpArrow*Uptrend, colorGreen, 0,L,-30);

// EXPLORATION
Filter = 1;
AddColumn(Close, "Last Close", 1.3, colorDefault, colorDefault, 100);
AddColumn(Uptrend, "Uptrend", 1, colorDefault, colorGreen, 80);
AddTextColumn(FullName(), " Company Name", 1, colorDefault, colorDefault, 500);