OPEN-SOURCE SCRIPT

MACD Strategy

220
This is a Pine Script v5 generated by Octobot AI - implements a MACD-based trading strategy. The script generates buy (long) and sell (short) orders when the MACD line crosses the signal line.

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.