OPEN-SOURCE SCRIPT

BTC DMI SLAPPER

4 688
DMI is confluence 1
BBands is confluence 2

Confluence 3 triggers the signal when one of these parameters is met
STC
AROON
MACD
MOMENTUM
TRENDLINE

////SIGNALS

////LONG

DMI PLUS crossover MINUS
and
BBands - Source lower than UPPER

and

AROON - UPPER crossover LOWER
or
AROON - LOWER > UPPER
or
STC < 25
or
STC - (mAAAAA[3] >= mAAAAA[2]) and (mAAAAA[2] <= mAAAAA[1]) and (mAAAAA < 60)
or
MACD > aMACD
or
MOMENTUM - (mom0 > 0 and mom1 > 0)
or
TRENDLINE - ta.change(direction) < 0



////SHORT

DMI - MINUS crossover PLUS
BBands - Source higher than LOWER

and

AROON - LOWER crossover UPPER
or
AROON - UPPER > LOWER
or
STC > 25
or
STC - (mAAAAA[3] <= mAAAAA[2]) and (mAAAAA[2] >= mAAAAA[1]) and (mAAAAA > 40)
or
MACD < aMACD
or
MOMENTUM - (mom0 < 0 and mom1 < 0)
or
TRENDLINE - ta.change(direction) > 0

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.