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

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明