OPEN-SOURCE SCRIPT

U&D

2 753
if price has moved up since 1 to 3 candles ago = buy
if price has moved down since 1 to 3 candles ago = sell
has internal SL & TP
tested on
ETHUSD
BTCUSD
[symbol="BITFINEX:LTCUSD" ]BITFINEX:LTCUSD
ETHBTC
4 hour charts

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.