After getting clarifications on the request we have the following solution. The request was to replace the existing statements reading the high, low and close from the higher time frame with adjustable user inputs. The value for high, low and close will need to be manually changed to fit the instrument being plotted on the chart.
input highValue = 100.00;
input lowValue = 90.00;
input closeValue = 95.00;
def range = highValue – lowValue;
plot profitTarget2R5 = (highValue / lowValue) * closeValue;
plot lBreakOrRBreakoutR4 = closeValue + range * (1.1) / 2;
plot goShortR3 = closeValue + range * (1.1) / 4;
plot r2 = closeValue + range * (1.1) / 6;
plot r1 = closeValue + range * (1.1) / 12;
plot hh = highValue;
plot pp = (HIGHValue+ LOWValue + CLOSEValue)/3;
plot ll = LOWValue;
plot s1 = closeValue – range * (1.1) / 12;
plot s2 = closeValue – range * (1.1) / 6;
plot goLongS3 = closeValue – range * (1.1) / 4;
plot supportBreakoutS4 = closeValue – range * (1.1) / 2;
plot profitTarget2S5 = (closeValue – (profitTarget2R5 – closeValue));