MIDAS TOP/BOTTOM FINDER
//
SetBarsRequired(sbrAll);
sd = ParamDate("Input Date","2012-02-14",0);
st=ParamTime("input time","1:44",0);
dn = DateNum();
tn=TimeNum();
start = dn == sd AND tn==st;
mp = ParamField("Price field",-1);
PV1= Cum(mp * V);
CV1= Cum( V )...