Problem with simple exploration

Hello,
I am having problem with a simple exploration as it does not return any results and i am puzzled as to why because i have done other exploration which do return results. If i plot signal on the chart, i will show on the chart but nothing on the explo results !!

// 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
AddColumn(Close, "Last Close", 1.3, colorDefault, colorDefault, 100);
AddColumn(Uptrend, "Uptrend", 1, colorDefault, colorGreen, 80);
AddTextColumn(FullName(), " Company Name", 1, colorDefault, colorDefault, 500);

Thank you for your help.

  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);

Thank you much for your quick reply.

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.