ILIKESTOCKS
Member
Here is the original code:
input StartDate = 20191003;
def hh = if GetYYYYMMDD() == StartDate then high else if high > hh[1] then high else hh[1];
plot higherHigh = if GetYYYYMMDD() < StartDate then Double.NaN else hh;
higherHigh.SetPaintingStrategy(12);
I would like the code to do the reverse operation. LowestALL. Ive tried just reversing some of the commands and it kind of works but Im missing something.
input StartDate = 20191003;
def hh = if GetYYYYMMDD() == StartDate then high else if high > hh[1] then high else hh[1];
plot higherHigh = if GetYYYYMMDD() < StartDate then Double.NaN else hh;
higherHigh.SetPaintingStrategy(12);
I would like the code to do the reverse operation. LowestALL. Ive tried just reversing some of the commands and it kind of works but Im missing something.