DI+- and SMA
DIP is DI+.
DIM is DI-.
SMAL is longer simple MA.
SMAS is shorter simple MA.
The suffix 1 or 2 means the previous tick or before that.
My down trend comes from
DIP1 < DIP2 && HIGH1 < HIGH2 && SMAL1 < SMAS1
While my up trend comes from
DIM1 < DIM2 && LOW1 > LOW2 && SMAL1 > SMAS1...