Gentleman-Goat

Auto Adjust To Ideal Pearson's R Oscillator

Gentleman-Goat Cập nhật   
This is meant to be a partner indicator to "Linear Regression - Auto Adjust To Ideal Pearson's R (Min & Max)" which can be found under my profile on the scripts I have made.

It's important the the ideal Pearsons R + and - ideal ranges are the same as the other script so you can visualize the results better and what is going on. I set them to default to 0.85 for strong confidence levels.

This simply graphs what the Pearsons's R Long Term Trend (Red) and Short Term Trend (Green) are doing. I noticed that they tend to oscillate in predictable ways.

The white line signifies low confidence level in a trend and usually means there is sideways trading going on.

If you are unfamiliar with Pearson's R then below will help:

  • + Pearsons R means there is a downtrend
  • - Pearsons R means there is an uptrend


  • The closer the value is to 1 the more sure it's a downtrend.
  • The closer the value is to -1 the more sure it's an uptrend.


For this reason I colored the bottom lines 'green' to indicate buying zones and 'red' for the top lines to indicate potential shorting zones.

If you look at this indicator in replay mode in tandem with my other indicator you will see they work well together to help you identify long term trends.

The default values are 48 and 360 for the minimum allowed length of a trend and maximum length. If you find the script is to slow you can change these but make sure you do it for the values on the other script as well so they line up.

As always the code is open source.
Phát hành các Ghi chú:
I added markers that you can optionally turn off/on to show when the midline, upperline, or lowerline crosses occur. This is extremely useful because if the trend is very strong near the top levels 0.8 or -0.8 for example and you start seeing red or green crosses be ready for a reversal very quickly.

If the crosses are annoying you can turn them off in the settings. Hope you guys like this update.

-=Gentleman Goat=- Download the TradingView Input Optimizer at tradingtools.software/optimizer
Discord: discord.gg/pGHHRczpbu
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 đồ?