PROTECTED SOURCE SCRIPT
T.T.T Trade with The Trend

I created this script with the following idea:
To go LONG or SHORT when there is a trend in place.
Steps taken to achieve such results were:
1) Go Long when the 15 EMA crosses above the 45 EMA and Go Short when the 15 EMA crosses below the 45 EMA
Problem with EMACROSS is that they work great with a strong trend but not so good when the trend is sideways
Solution:
We add a condition using the RSI indicator as follows:
a) Go Long when the 15EMA crosses above the 45EMA AND when the 100EMA of RSI crosses above 50
b) Go Short when the 15EMA crosses below the 45EMA AND when the 100EMA of RSI crosses below 50
By using the RSI is the above manner we are able to filter out some of the choppy price action
We then added a second condition to go long or short ONLY when the ADX is above 30
As you know the ADX measures the strength of the trend.
A reading above 20 indicates a trend is forming and a reading above 30 indicates a trend is in place.
To go LONG or SHORT when there is a trend in place.
Steps taken to achieve such results were:
1) Go Long when the 15 EMA crosses above the 45 EMA and Go Short when the 15 EMA crosses below the 45 EMA
Problem with EMACROSS is that they work great with a strong trend but not so good when the trend is sideways
Solution:
We add a condition using the RSI indicator as follows:
a) Go Long when the 15EMA crosses above the 45EMA AND when the 100EMA of RSI crosses above 50
b) Go Short when the 15EMA crosses below the 45EMA AND when the 100EMA of RSI crosses below 50
By using the RSI is the above manner we are able to filter out some of the choppy price action
We then added a second condition to go long or short ONLY when the ADX is above 30
As you know the ADX measures the strength of the trend.
A reading above 20 indicates a trend is forming and a reading above 30 indicates a trend is in place.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
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.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
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.