HYE0619

HYE Mean Reversion SMA [Strategy]

HYE0619 Cập nhật   
An RSI filtered version of PJ Sutherland's Jaws Mean Reversion algorithm.

"Long" on the close when;

1-) 2 period simple moving average closes 3% or more below the 5 period simple moving average,
2-) 5 period exponential average of the 2 period RSI is below 30.

"Exit Long" on the close when;

1-) 2 period simple moving average closes above the 5 period moving average.

"Short" on the close when;

1-) 2 period simple moving average closes 3% or more above the 5 period simple moving average,
2-) 5 period exponential average of the 2 period RSI is above 70.

"Exit Short" on the close when;

1-) 2 period simple moving average closes below the 5 period moving average.

*** You can change the needed percentage for long and short trades, periods of simple moving averages and RSI levels.
*** You can select the trend direction: "Long Only" , "Short Only" or "Both". Default is "Long Only".
Phát hành các Ghi chú:
Plot feature has been added to follow the sma lines on the graph.
Mã nguồn mở

Với tinh thần TradingView, tác giả của tập lệnh này đã xuất bản nó dưới dạng mã nguồn mở, vì vậy các nhà giao dịch có thể hiểu và xác minh nó. Chúc mừng tác giả! Bạn có thể sử dụng mã này miễn phí, nhưng việc sử dụng lại mã này trong một ấn phẩm chịu sự điều chỉnh của Nội quy nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

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 đồ?