OPEN-SOURCE SCRIPT

Kijun Sen Median

Key Features:
Kijun-Sen Calculation: The traditional Kijun-Sen is calculated as the average of the highest high and the lowest low over a specified period. This script introduces a variation by using the median price of the user-defined source (kj_src2) over the selected length (med_len), creating a median-based Kijun-Sen.


Trend Indication:
A positive trend is indicated when the source price is above the Kijun-Sen.
A neutral trend is indicated when the source price is equal to the Kijun-Sen.
A negative trend is indicated when the source price is below the Kijun-Sen.

User Inputs:

Plot Kijun-Sen: Toggle to enable or disable the display of the Kijun-Sen line.
Kijun-Sen Length (len): Sets the period for calculating the Kijun-Sen.
Median Length (med_len): Defines the period over which the median price is calculated.
Kijun Source (kj_src): The source price for evaluating conditions above, equal, or below the Kijun-Sen.
Median Source (kj_src2): The source price used in calculating the median price for the Kijun-Sen.
This indicator is designed to help traders identify trend changes and potential reversal points based on a modified Kijun-Sen line. The color-coded line provides an immediate visual cue for the current market condition, making it easier to interpret trends and potential trading signals.
Trend Analysis

Mã nguồn mở

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

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

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