Implemented this based on a Chinese theory called Chan Lun + some uses of MACD, SMA and slow sto. It's not perfect yet. Suggestions are welcome!
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.