OPEN-SOURCE SCRIPT

Higher Timeframe Open High Low Close

已更新
PURPOSE
1. Multi-timeframe analysis (MTFA).
2. Better visualize intraday price action relative higher timeframe price action, and this is not limited to the current time frame or the higher time frame including current price movement.
3. Higher Timeframes provides an overview of the long-term trend (e.g., weekly or monthly charts).
4. Confirm trends occurring on more than one timeframe.
5. Improve choice of entry and exit points.

ORIGINALITY
1. Compare current lower time frame price movement to current or previous higher time frame movement. The user specifies in the settings the higher time frame (day, week, month, quarter, or year) and the associated price movement data, including OHLC, average prices, and moving average levels.
2. Previous time frames and all specified levels (OHLC, average prices, and moving averages) can be shifted together to overlay the current time frame. This allows analysis of lower/intraday price movement against that of any past higher time frames.
3. Use: In the settings, the current time frame (i.e., that including current price movement) 'count from current' is '0', a count of '1' would shift one higher level time frame such that the open date of that shifted time frame aligns with the open date of the current time frame. A count of '3' would shift three higher level time frames to align with the current."
4. Example: On the Wednesday July 24 intraday chart, overlay the daily OHLC, typical price, and 10-day EMA data occurring at the close of Wednesday July 17. This allows analyze current price movement against data from one week prior.

HIGHER TIMEFRAME DATA that can be PLOTTED and SHIFTED
1. Open, High, Low, Close.
2. Average prices: Median (HL/2), Typical (HLC/3), (Average OHLC/4), Body Median (OC/2), Weighted Close (HL2C/4), Biased 01 (HC/2 if Close > Open, else LC/2), Biased 02 (High if Close > HL/2, else Low), Biased 03 (High if Close > Open, else Low).
3. Moving averages with user specified source, length and type.
發布通知
Added fibonacci data.
發布通知
Added labels for current chart timeframe bars above/blow the specified higher timeframe moving average (green = bars above ma, red = bar below ma), and intraday bar count (yellow = close > previous close, blow = close < previous close).
發布通知
* Added less common fibonacci levels
* Calculate fibonacci levels with high/low price or close
* Reverse fibonacci levels
* Exclude a specified number of recent bars from fibonacci levels calculation
* Extend fibonacci level lines right/left by a specified number of bars
發布通知
Added more fibonacci levels. Select to display the negative of the levels, which produces a mirror image of the levels about the zero level.
發布通知
Fibonacci retracement levels calculated substituting φ = (1+√5)/2 = 1.618033989 for other constants. For example:

Delian constant = cube root of 2 = 2^(1/3) = 1.2599210499
Pythagoras's constant = √2 = 2^(1/2) = 1.414213562
Theodorus' constant = √3 = 3^(1/2) = 1.732050808
Square root of 5 = 5^(1/2) = 2.236067978
Silver ratio δS = 1 + 2^(1/2) = 2.414213562
Feigenbaum's α = 2.502907875...
Lorenz attractor β = 8/3 = 2.666666667
Euler's number = ∑(1/n!) = 2.718281828
Pi π = 3.141592654
Feigenbaum's 𝛿 = 4.669201609...
發布通知
Added options to create retracement levels by specifying any 2 level and associated prices, all other levels will then be generated.
發布通知
Added tooltips
發布通知
Added an option to offset the retracement and extension levels vertically by a specified price range.
發布通知
Calculate retracement and extension levels using the following price sources:

Highest High and Lowest Low: The standard approach where the retracement is calculated using the highest high and lowest low within the lookback period.

Highest Closing Price and Lowest Closing Price: The retracement is calculated using the highest and lowest closing prices within the lookback period.

Highest Volume Bullish/Bearish Bars: The retracement is calculated using the closing prices of the bars with the highest volume, where one bar closed above its open (bullish) and the other bar closed below its open (bearish).

發布通知
Typos fixed
發布通知
Added more ways for adjusting retracement/extension levels
發布通知
Fixed typos. Added extension levels.
multitimeframeSupport and Resistance
insideandup

開源腳本

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

想在圖表上使用此腳本?

免責聲明