Code: Select all
input: color(red),thickness(1),displace(0);
plot34H[-1*displace]=xaverage(high,34);
color34H[-1*displace]=color;
thickness34H[-1*displace]=thickness;
plot34L[-1*displace]=xaverage(low,34);
color34L[-1*displace]=color;
thickness34L[-1*displace]=thickness;
plot34C[-1*displace]=xaverage(close,34);
color34C[-1*displace]=color;
thickness34C[-1*displace]=thickness;
plot12[-1*displace]=xaverage(close,12);
color12[-1*displace]=color;
thickness12[-1*displace]=thickness;
plot144[-1*displace]=xaverage(close,144);
color144[-1*displace]=color;
thickness144[-1*displace]=thickness;
plot169[-1*displace]=xaverage(close,169);
color169[-1*displace]=color;
thickness169[-1*displace]=thickness;