SYSTEM NOTICE

Auto translation by AI. Be sure, accuracy, nuances and authorial intent may not be fully reflected.
見出し画像

Eliminate the hassle of switching timeframes | Display 4-hour, 1-hour, and 15-minute positions on a single panel

XAUUSD. The panel on the top left displays the positions relative to the 200 EMA for the 4-hour, 1-hour, and 15-minute timeframes all at once.

I am looking at the 15-minute chart.

Come to think of it, I wonder what the 1-hour chart looks like, so I switch to it. While I'm at it, I check the 4-hour chart too. When I return, the situation on the 15-minute chart has changed slightly.

I switch back to the 1-hour chart once more.

In this article, I will write about how to eliminate the back-and-forth of switching timeframes. I have also prepared a tool that consolidates three timeframes into one panel.

The platform used is TradingView. It is a chart service that opens in a browser, and you can add and use custom tools even with a free plan.


What are you looking at when you check higher timeframes?

I will answer this question first. You are welcome to read just this part and leave if you like.

When you change the timeframe, the same moving average becomes something else

The period of a moving average line means "the last X bars." Even if the number of bars is the same, the length of one bar differs for each timeframe.

If you line them up with the same "200," it looks like this.

  • 200 bars on a 15-minute chart … approximately 50 hours (about 2 days)

  • 200 bars on a 1-hour chart … approximately 200 hours (about 8 days)

  • 200 bars on a 4-hour chart … approximately 800 hours (about 33 days)

  • 200 bars on a daily chart … approximately 200 trading days (about 10 months)

The 200 EMA on a 15-minute chart is the "average of the last 2 days," while the 200 EMA on a 4-hour chart is the "average of the last month." Although we call them by the same name, the periods being observed are completely different.

Checking higher timeframes means looking at where the current price is relative to the average over a much longer period. that is what it means.

Which timeframes should you combine?

There are no set rules for this.

The following are commonly used combinations.

  • Increment by 4x to 6x … 15 min → 1 hour → 4 hours, or 1 hour → 4 hours → Daily

  • Place the timeframe you trade on at the bottom … and add two more above it

  • Fix the Daily and 4-hour, and change only the bottom one … swap the bottom row depending on the asset

Even when looking at the same chart, the combination differs from person to person. That is not a mistake; it is simply that the timeframes they are trading on are different.

Since there is no single correct answer, it is unreasonable for the tool itself to dictate that "you should look at these three."

What you should align is not the timeframe, but the ruler

You are free to choose any combination, but there is one thing you should align: the period and type of moving average.

Suppose you look at the 15-minute chart with a 200 EMA, the 1-hour chart with a 100 SMA, and the 4-hour chart with a 75 EMA. Three numbers will be displayed, but since they are results measured with different rulers, lining them up does not mean you are comparing them.

Only by aligning them with the same period and type can you read them as "below on shorter periods, above on longer periods."


I have consolidated them into a single panel

Multi Timeframe Status Pro

This is an auxiliary tool that displays whether the closing prices of multiple timeframes are above or below a moving average on a single panel.

It appears like this in its initial state.

MTF Pro 位置 移動平均   乖離
4時間    ↑    4193.45 +3.27%
1時間    ↑    4296.56 +0.80%
15分     ↓    4379.32 -1.11%
EMA200 / 現在値 4330.74

↑ is above the moving average, ↓ is below. You can see all three states simultaneously without switching timeframes.

All three timeframes can be specified freely. 4-hour, 1-hour, and 15-minute are the default values, but you can also set them to Weekly, Daily, and 4-hour, or 1-hour, 15-minute, and 5-minute.


The ruler is shared across all three rows

The type and period of the moving average change for all three rows at once. They cannot be changed row by row.

This is not a limitation, but an intentional design. If you could change the period for each row, you would end up in the situation mentioned earlier of "lining up numbers measured with different rulers."

You can choose from SMA, EMA, WMA, and RMA for the type, and from 1 to 1000 for the period. The default value is a 200 EMA.


It displays not only ↑↓ but also the original numerical values

If you only show the symbols, you won't know which numerical values they are derived from.

For each row, the moving average value for that timeframe and the deviation from the current price are displayed together.

  • Moving Average … The value of the moving average calculated for that timeframe

  • Deviation … How far the current price is from that point (percentage or price difference)

  • Current Price … Displayed only once in the bottom row

The current price is not listed for every row because it would be the same value for all three rows. I do not create columns for data that would just repeat the same number three times.

The numerical columns can be hidden individually.You can also set it to a two-column display showing only the symbols.

MTF Pro 位置
4時間    ↑
1時間    ↑
15分     ↓
EMA200 / 現在値 4330.74

I do not hide which timeframe is being used for the assessment.

There is one unavoidable issue with tools that handle higher timeframes.

The 'current candle' of a higher timeframe changes its state until it closes. A price that was above the 4-hour 200 EMA might move below it before those 4 hours are up. This is not a calculation error; it simply means the candle has not closed yet.

I have made it possible to choose which view to use in this tool.

  • Include current candle (Default setting) … Displays the state exactly as it appears now

  • Closed candles only … Assesses based on the previous closed candle. The display will not change mid-candle

And,I always display which mode you are currently viewing in the bottom row of the panel. This is because if you cannot see the mode, you won't know why the display changed or why it didn't change.


Other displays

You can overlay the referenced moving averages onto the chart

For when you want to visually verify where the panel's numerical values are coming from, you can overlay the moving average of each row onto the chart.Hidden by default.

There are individual checkboxes for each row, and names like '4H EMA200' appear at the right end of the lines. The name display can be turned off.

Panel position and size

You can choose the position from top-left, bottom-left, top-right, or bottom-right, and the size from small, medium, or large. The default is top-left and medium.

Notifications

You can set TradingView notifications based on 4 types of conditions.

  • The position of the first level has changed

  • The position of the second level has changed

  • The position of the third level has changed

  • Any of the positions have changed


Who is this for?

Those who frequently switch timeframes
Eliminates the back-and-forth of switching and returning.

Those who watch multiple symbols
Eliminates the task of re-checking three timeframes every time you switch symbols.

Those who sometimes forget to check higher timeframes
Since it is always on the screen, the act of checking itself becomes unnecessary.

Those who want to save indicator slots
If you are using multiple indicators to display moving averages for higher timeframes, this will free up space.

Who is this not for?

  • Those who do not use moving averages

  • Those who want to see the actual candlesticks of higher timeframes
    → This is a tool for showing positional relationships. It does not display higher timeframe candlesticks.

  • Those who want the tool to indicate trading decisions themselves
    There is no overall judgment field. No arrows are displayed either.


How to install

The code you can use as-is is posted in the paid area of this article.

  1. TradingView Open

  2. Open the "Pine Editor" at the bottom of the screen

  3. Select and copy all the code in the paid area and paste it into the editor

  4. Click "Add to chart"

That is all. It takes less than a minute.It also works with the free plan.

No programming knowledge is required. All settings are in Japanese.

I will update this article if any updates are made.No need to repurchase.


Notes

I do not provide a comprehensive judgment.
I have not created a summary column like "all 3 levels ↑". The job of this tool is only to arrange them, and how you handle whether they are aligned is up to you.

The current bar of the higher timeframe changes until it closes.
If you select "include current bar", the ↑↓ may change until that timeframe ends. If you do not want it to change midway, please select "confirmed bars only".

The moving average period is common to all 3 levels.
It cannot be changed for each level. The reason is as written in the main text.

The moving average is just a level that many people are watching.
It does not indicate what will happen there. It does not display entry positions or arrows.

Please refrain from redistribution or resale.
It is limited to the purchaser's own use. There is no problem using it on multiple devices or multiple accounts as long as it is for your own charts.

This is not investment advice.
This article and this tool are intended to assist with display and do not recommend specific trading. Please make investment decisions at your own risk.

This article contains referral links for TradingView.
If you register via the link, I may receive a referral fee. This does not affect the operation, price, or content of the tool.

Other tools I have created


Price

980 JPY

You will no longer need to switch back and forth between timeframes. That is all the information you need to make a decision.

What is included

  • Full source code (ready to use by pasting)

  • Explanation of all parameters (with default values and adjustment guidelines)

  • How to determine the combination of timeframes

  • Collection of setting recipes (5 types)

  • Procedure for setting up notifications

  • List of solutions for display issues

  • Updated versions (no need to repurchase)


Frequently Asked Questions

Q. Which combination of timeframes is correct?
A. There are no fixed rules. Some approaches include using increments of 4 to 6 times, or placing the timeframe where you execute orders at the bottom. It depends on the time horizon you are trading on. This tool allows you to freely specify all three levels.

Q. Does it mean I should buy if all three levels show ↑?
A. This tool only displays the positional relationship; it does not assign meaning to whether they are aligned or not. How you handle that is up to your own judgment. I have intentionally omitted a comprehensive judgment column.

Q. Can I change the moving average period for each timeframe?
A. No, you cannot. If you change the period for each level, you would be comparing numbers measured with different yardsticks, which would render the comparison meaningless. I have written the reason for this in the main text.

Q. Can I use periods other than 200?
A. Yes, you can. You can specify any value in the range of 1 to 1000. You can also choose from SMA, EMA, WMA, or RMA types.

Q. Does it repaint?
A. If you select "Confirmed bars only," the display will not change mid-way. If you select "Include current bar," the ↑↓ indicators may switch until that timeframe's bar is confirmed. It does not reference future data.

Q. Can I specify a timeframe shorter than the chart?
A. Yes, you can. If you specify 15 minutes on a 1-hour chart, the value of the last 15-minute bar contained within that hour will be used.

Q. Can I increase the number of levels to four or more?
A. Currently, it is limited to three levels. I am considering a plan to make the number of levels variable.

Q. Can I also display the candlesticks of higher timeframes?
A. No, you cannot. This tool only displays the positional relationship relative to the moving average.

Q. Can I use it with the free plan?
A. Yes, you can. Only the number of simultaneous notification settings is limited by your plan.

Q. Is there an MT4 / MT5 version?
A. TradingView only.

Q. Can I get a refund?
A. We cannot accept refunds. This is because the full code becomes accessible immediately upon purchase. As a basis for your decision, I have included everything displayed in this free area.


Finally

Looking at higher timeframes is to understand where you are relative to the long-term average. I believe the action of switching timeframes and switching back for that purpose is something that shouldn't be necessary in the first place.

I take care of the layout, but I don't provide the interpretation. That is how I designed it.

ここから先は

16,351字

¥ 980

この記事が気に入ったらチップで応援してみませんか?