Shows on Scan but not Explore

Hi.. I'm trying to use this code:

P = ParamField("Price field",-1);
Periods = Param("Periods", 15, 2, 300, 1 );
Width = Param("Width", 2, 0, 10, 0.05 );

Trx=Param("Trx Value",0.1,0.1,100,0.1,0);
TrxValue=V*(O+H+L+C)/4/1000000000;
bbt=BBandTop(P,Periods,Width);

Buy= (C>bbt) AND (TrxValue >=Trx);
Tanggal=ParamDate("Date","default",0);

//Today=Now(3);

Filter=Buy AND (DateNum()==Tanggal);

AddColumn(TrxValue,"TrxValue");
AddColumn(C,"Close");
AddColumn((C/L-1)*100,"C-L");
AddColumn((C/O-1)*100,"C-O");
AddColumn((H/L-1)*100,"H-L");

The above code give result from scan but not result from explore.
Can anyone help me?
Thanks

@Griffin, welcome to this community.

When you execute the exploration you need to be sure that the "Tanggal" date is set to be comprised in the interval selected for the exploration range. Use the "Parameters" dialog box (clicking on the
image button to open it).

image

2 Likes

@beppe , Thank you very much for your help.
It works now.

1 Like

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