profghibli

WaveTrend [LazyBear] Backtestable

Written as a custom script for WillStar44

The underlying indicator is written by @LazyBear and a visual update was previously written by @LoneStar108. I did try to reach out to LazyBear, but as you know he has not been active on TV for years... The indicator is an oscillator, tends to give lots of false positives, so additional conditions need to be used (probably simply using crosses alone is not a good idea).

Style 1 makes the backtest of Enter Long on every green cross, and Enter Short on every red cross. Style 2 however only uses green crosses when the oscillator is in oversold zone and red crosses in the overbought zone. That way, as you can see there are some amazing entries and exits. BUT at the same time, that way you can stay against the trend for a long time, there is no innate "get me out" mechanism, so if you use Style 2, a Stop-Loss is a MUST!

Additionally, from my side %-based Stop-Loss, Take Profit and Trailing Stop are added.

If you wish to use this, drop a PM.

Thanks, LazyBear and LoneStar108
__________________________________________________________________________

To opt NOT to use take profit or stop loss or trailstop just set the corresponding % to 0

Be careful of TradingView's way of calculating Trailing Stop Loss that always assumes the price inside the candle always moved in the direction that favors the trade in the backtest

More here: backtest-rookies.com/2018/06/08/...
__________________________________________________________________________

If you are an authorized user of this script and something is not working/looks wrong please PM me.
Tập lệnh chỉ hiển thị cho người được mời

Quyền truy cập vào tập lệnh này bị hạn chế đối với người dùng được tác giả ủy quyền và thường yêu cầu thanh toán. Bạn có thể thêm nó vào mục yêu thích của mình, nhưng bạn sẽ chỉ có thể sử dụng nó sau khi yêu cầu sự cho phép từ tác giả. Liên hệ profghibli để thêm thông tin, hoặc làm theo hướng dẫn của tác giả bên dưới.

TradingView không đề xuất trả tiền cho một tập lệnh và sử dụng cho đến khi bạn hoàn toàn tin tưởng tác giả và hiểu cách thức hoạt động của tập lệnh. Trong nhiều trường hợp, bạn có thể tìm thấy một giải pháp thay thế nguồn mở miễn phí trong Thư viện Công cộng của chúng tôi.

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.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?

Cảnh báo: vui lòng đọc trước khi yêu cầu quyền truy cập.