I like its DSS indicator, however, i don't know how to change it to fits my needs. I'd like to draw two horizontal lines, 25 and 75, dash lines and color gray. Also, if the area between the 25 and the bottom of the curve (so is the 75 and the top of the curve) can be colored.
Original indicator formula:
#
# TD Ameritrade IP Company, Inc. (c) 2007-2023
#
declare lower;
input rLength = 9;
input sLength = 5;
input length = 10;
def divisor = ExpAverage(ExpAverage(Highest(high, length) - Lowest(low, length), sLength), rLength);
plot DSS = if divisor == 0 then 0 else 100 * ExpAverage(ExpAverage(close - Lowest(low , length), sLength), rLength) / divisor;
DSS.SetDefaultColor(GetColor(8));
Original indicator formula:
#
# TD Ameritrade IP Company, Inc. (c) 2007-2023
#
declare lower;
input rLength = 9;
input sLength = 5;
input length = 10;
def divisor = ExpAverage(ExpAverage(Highest(high, length) - Lowest(low, length), sLength), rLength);
plot DSS = if divisor == 0 then 0 else 100 * ExpAverage(ExpAverage(close - Lowest(low , length), sLength), rLength) / divisor;
DSS.SetDefaultColor(GetColor(8));