OPEN-SOURCE SCRIPT

Schaff Trend Cycle + Double MA

11 009
This strategy uses two different moving averages to determine a trend. It opens a position on a pullback from a trend.

Conditions for buy signal are:
►Crossover out of Shaff Trend Cycle's extreme levels
►The price is above its short period exponential moving average.
►A short period exponential moving average is above a long period exponential moving average.

*Conditions for sell are the opposite.

All in all, I don't think it needs to be on your chart but it can be optimized and even successful on some timeframes.

Shaff Trend Cycle solution was provided by everget, I converted his script to Pine v.4, added exponential averages and created an algorithm for backtesting.

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.