Does anyone know how to slope lines in TOS based on a factor? Been trying to figure this out for days, what I'm doing here is aggregating these lines on a quarterly basis, and at the moment they're horizontal but am trying to aggregate them on an angle with a certain factor like .5 is anyone able to help with this, thank you.
input aggregation = AggregationPeriod.quaRTER;
def high = high(period = aggregation);
def close = close(period = aggregation);
plot line = (close* .5) + high;
plot line1 = (close * .618) + high;
def paintingStrategy = PaintingStrategy.HORIZONTAL ;