use the functions HighD(), lowD(), closeD(), openD()
create new indicator:
var: pvt(0), sup(0), res(0);
pvt = (highd(1) + lowd(1) + closed(1)) /3;
sup = ...enter code here...;
res = ...enter code here....;
plot1(pvt, "pvt");
plot2(sup, "sup");
plot3(res, "res");