SMA 200 Ribbon MTF - Support and ResistanceThe SMA 200 is one of the most important and strongest support/resistance lines on any timeframe. This script pulls the SMA 200 line from multiple timeframes so traders can visually see price action bounce between support and resistance . The current timeframes SMA 200 is displayed in white and turns yellow to signify "pressure". Can be used on higher timeframes to find bull action. This indicator can also be used to filter out pumps and dumps as shown in example 3 and 4.
Example of indicator on 5 min timeframe. Candles bounce along SMA200 lines.
Example of indicator on daily timeframe . Lines turn green and price action pumps. Lines turn red and price action dumps.
Example 3: A clean crossover of lines usually signals a bullish pump.
Example 4: Tangled or messy lines tend to result in a dump as price action struggles to cross resistance. A pullback is required to "clean" the lines.
EMA Band can be turned on using "tickbox" in settings menu.
Mtf
MTF GMMA with Display Timeframe ControlJapanese below / 日本語説明は下記
Multi time frame GMMA indicator that shows GMMA of the current timeframe and GMMA of upper time frame(MTF GMMA).
One of the GMMA’s advantages is to visualize trends showing multiple MAs of short term and long term. By providing both of MTF GMMA and the current timeframe’s GMMA, traders can grasp trends having upper timeframe’s perspectives.
How is it different from other MTF indicators?
Problems with other MTF GMMA indicators are;
-If you set higher timeframe GMMA , it will also be shown on further higher timeframes.
i.e. If you set 4hour GMMA on 1 hour or lower time frame charts, it will also appear on daily and weekly chart, which is not necessary.
To tackle these problems, this indicator has incorporated “display timeframe control” functions as follows.
-To show MTF GMMA on timeframe lower than the upper timeframe you set as MTF timeframe.
For example, if you select daily timeframe for MTF GMMA , the GMMA will be shown only on 4 hour or lower timeframes(1H, 30M, 15M, 5M, 1M).
Functions:
-One upper timeframe can be selected from monthly, weekly, daily, 4hour, 1hour, 30mins, 15mins and 5mins for MTF GMMA
-MA type can be selected from SMA/EMA
-MA period can be configured but common for current timeframe GMMA and MTF GMMA
-Both of current timeframe/MTF GMMA can be disabled when not necessary by ticking checkbox
How to use?
A suggested use of GMMA with MTF GMMA is trend following while price is above the current timeframe GMMA and MTF GMMA(buy the dips and sell the rips) and aim trend reversal when the current timeframe GMMA crosses MTF GMMA
Sample chart
1 hour chart with 1 hour GMMA(blue and yellow) and 4 hour GMMA(MTF GMMA, green)
——————————————————————————————
上位足のGMMA(MTF GMMA)と現在タイムフレームのGMMAの2つのGMMAを表示することのできるインジケーターです。
GMMAの一つのメリットは短期・長期のMAを複数表示することでトレンドを容易に可視化できることですが、上位足のGMMAを合わせて表示することで上位足の目線を保ったままトレンドを把握することができます。
他のマルチタイムフレームGMMAインジケーターとの違い
他のマルチタイムフレームGMMAのインジケーターでは、上位足のGMMAを表示すると、さらにその上位足でもそのGMMAが表示され、チャートが見にくくなるという問題に直面します。
例: 4時間足のGMMAを下位足で表示可能な様に設定すると、日足や週足でも表示されチャートが見にくくなる。
この問題に対して、このインジケーターでは、
・上位足のGMMAを表示する時間軸を制御することで上位足で不必要な情報を表示させない。
という機能を加えることでこの問題を解決しています。
具体的には、マルチタイムフレーム用に選択した上位足のタイムフレームより小さいタイムフレームでのみ上位足のGMMAが表示されるようになっています。
例えば、上位足として日足を選択した場合、日足のGMMAは4時間足、1時間足、30分足、15分足、5分足、1分足にのみ表示されます。
機能
-上位足のタイムフレートとして、月足、週足、日足、4時間足、1時間足、30分足、15分足、5分足を選択可能
-MAタイプはSMA/EMAから選択可能
-MAの期間は設定可能ですが、現在タイムフレームGMMAとMTF GMMAで共通
-現在タイムフレームGMMAとMTF GMMAは不要な時はチェックボックスで非表示可能
使い方
使い方の一つの例として、価格が現在タイムフレームGMMAとMTF GMMAの上にある間はトレンドフォロー(押し目買い/戻り売り)を、現在タイムフレームGMMAとMTF GMMAがクロスした時はトレンド転換を狙うということが挙げられます。
サンプルチャート
1時間足に4時間足のGMMA表示(青と黄色: 1HのGMMA, 緑: 4HのGMMA)
EMA 730 Ribbon MTF - Support and ReistanceThe EMA 730 line is a great way to show dynamic support and resistance . Price action travels "through" this line on each timeframe. This script pulls the EMA 730 Line from multiple timeframes so a trader can visually see price action bounce between support and resistance lines. Lower bands (white lines) can be turned off using "tickbox" in settings. EMA length can also be adjusted in settings. Some charts may work better with a length of 750.
Example of EMA Bands on lower timeframe.
[PX] MTF OverviewHello everyone,
the new table-functions came out, so I wanted to give it a try. With this indicator you can get an overview for your chart by looking at multiple timeframes and different type of indicators for each timeframe.
How does it work?
The indicator uses 3 different timeframes, which you can select in the settings-tab. For each timeframe it will look at the following indicators:
- Volume for the Volume column
- Relative Strength Index (RSI) for the Momentum column
- Average True Range (ATR) for the Volatility column
- Parabolic SAR (PSAR) for the Trend column
Increasing values will be shown in green, decreasing values in red. For the trend it prints a nice little symbol. I'm planning to add more indicators for each indicator category, so that you can choose, which indicators you want to use.
Hope that might be useful to some of you :)
Please click the "Like"-button and follow me for future open-source script publications.
If you are looking for help with your custom PineScript development, don't hesitate to contact me directly here on Tradingview or through the link in my signature :)
TDI Hedge Strategy
This is the incomplete version but upon multiple requests, I have released it early. All of the strategy and alert functions are yet to be written and I'll get around to it soon.
This indicator aims to be the best TDI indicator on TradingView. It is a strategy or study. It will have all of the filter, entry, and exit conditions for the strategies around the TDI.
What is implemented
MFI or RSI: the MFI is a much better TDI baseline than the RSI, in my opinion, and very effective
EMA or SMA used for the moving averages on fast, slow, and volatility band
Dynamic timeframe: set a factor of current timeframe and indicator will analyse higher timeframe automatically
Manual timeframe: set a higher timeframe to analyse different to currently viewed
Features for later
conditions for TDI filters/entries/exits
Strategy functions to use built-in strategy tester
BTE signal plot for Backtesting & Trading Engine
alerts
Enjoy!
EBB & Flow: a multi-EMA-based BB cloudIntro
This is an idea evolved out of the market maker method and EMA convergence, divergence, and mean reversion.
The market maker method informs us that the 5, 13, 50 and 200 EMAs are important to regulating price. Those EMA lengths are multiples of the 50 and 200 on lower major timeframes -- the 1 minute, 5, 15, 1H, 4H, 1D. I include the 21 because it is also a multiple and in crypto very often respected.
When market makers are testing price, they set their range and spike in the direction they test for liquidity. This can get chaotic. For instance, in a shorter time frame consolidation inside a bigger timeframe uptrend, it can be too easy to forget where you are in the many trends playing out.
When the EMAs are dragged over each other during normal price movement, you get these crisscrossing tracks of price, and the individual breaks can be hard to trace.
The range is what matters, ultimately, and the range is dynamic. In that case, the Bollinger Band is a great tool for detecting outliers in this case.
The Answer
So the answer this indicator seeks to give, is to look for outliers. This gives you a scalping strategy built on Traders Reality thinking and best put together with the PVSRA indicator, which I may include in this indicator just for the sake of concision, but they can work alongside each other or separately.
The key thing is the different EMA clouds, which are bollinger bands. Tight bands mean imminent breaks, favouring the trend. Vector candles out of a zone, pins to the low/high, etc. are all very relevant alongside this indicator.
You can also use it on its own and scalp the breaks of a cloud.
How it works
Each cloud is a standard deviation from their respective EMA, all in the same colour. The deviation multiple is 1.618 by default. Yes, fibonacci sequences are usually nonsense, but it works better with the BB than 2, 2.5 or 3.
Using just the clouds, you can see where each EMA is headed and how it behaves within the deviation of the others.
But that on its own isn't enough.
The indicator will also print snowflakes above and below the candle for notable outliers. It will be in the colour of the cloud it breaks, but only if that break is also breaking the smaller EMA clouds too.
The most snowflakes will be yellow because that's the 13 EMA. That one is dependent on nothing else and every break will print a snowflake. The 21 will be dependent on the 13. The 50 dependent on the 13 and 21 breaks. The 200 the most important.
For example, if the 200 EMA-BB or EBB is broken at the upper band, deviating by more than 162% of price over a 200 period EMA, and that break is not above the 50 EMA cloud, there will be no snowflake. However, if it exceeds the 13, 21, 50, and 200 clouds, then a purple snowflake will appear above the bar.
Any snowflake is an extreme in price. The purple is an especially good point of entry. That doesn't mean it is a perfect entry. You can build position from it, though, and be relatively certain of a price correction in the near future, because not only was this major EMA cloud violated, but all of the smaller ones too.
Reminder
You still need your PVSRA and candlesticks. This indicator on its own may have a nice hit rate for scalping and building position, as an alternative to the TDI or alongside it, but it is not enough on its own, just like the TDI.
Enjoy!
MTF CCI using EMAsThis is a CCI script adapted from 'CCI w EMA by Rick3712' which removes the EMA of the CCI and adds different sized CCI results to the same plot. An info box is also added for easy reference of current values.
CCI is a useful way to see the price's relation to moving averages in a different way, and being able to see the trend strength over time using the larger CCI allows a trader to make better informed decisions when reaching oversold or overbought conditions in relation to the shorter EMAs, such as the 20. You can also see patterns in a trend's strength easier by comparing the movements and levels to find likely areas of a pullback or buying opportunity.
In the example you can see a common level in ETH's parabolic movement on the 4h 750 EMA and 200 EMA that indicates a likely correction area.
MA-SS ( EMA SSL ) Indicator StrategyThis is the strategy script relating to the already-published MA-SS Indicator Study.
Backtest properties for the strategy tester results shown below are;
- 10k initial capital
- 50% of equity
- 0.0075% commission
- zero values on everything else
The MA-SS Indicator is a simple yet effective indicator using a combination of EMAs and SSL channel, utilising higher time frame data to help confirm trend/ price direction.
How does it work?
The Indicator consists of;
- 3 x EMAs – The 3rd EMA being a filter EMA
- Multi Time Frame EMA (This is an additional filter EMA which can be switched on and off)
- Multi Time Frame SSL Channel (This acts as a filter and can also be switched on and off)
The concept initially began as a simple EMA crossing indicator, but adding an MTF EMA plus a MTF SSL channel for additional filtering, helped to give a better indication of trend and ultimately filter out several bad trades.
- EXAMPLE: If price is …
o below the MTF EMA filter
o The MTF SSL Channel is red
o White and blue EMAs cross below the yellow (filter) EMA in the red SSL channel
> …a short is fired!
- (Opposite scenario for longs)
- Your stop loss would ideally be the top/ bottom of the SSL channel (either the MTF SSL channel or a standard SSL channel added manually to the chart), or, go for a clear pivot point or support/ resistance level.
- Take profit is yours to decide but I opt for a 1:1.5 risk/reward ratio. You could also use the MTF SSL channel to gauge when you should exit your trade (i.e. if you're in a long, wait for the SSL channel to flip red).
Any questions please fire away in the comments
CH-I: Trend - Multi-Timeframe WatchlistWatchlists give only a flat perspective on changes in the market, as they show only the daily change of underlyings and give no comprehensible context to other underlyings and other timeframes to show the bigger picture.
With a cockpit showing price changes of different underlyings over several timeframes at the same time, a real understanding can be developed about shorter term momentum embedded into a longer term trend.
Look how major commodity currencies (in purple) have outrun other major currencies in recent months, but where the biggest losers in the last days as seen below. When now looking at the also displayed chart of the Norwegian Krone against the US Dollar, this gives more context, as the indication clearly shows, that commodity currencies in general have been rising for the last months and startet dropping recently.
By grouping related underlyings with the same kind of representation, it also becomes clear, in which of these sectors the action is gaining or losing momentum.
Here you can see how the major european markets (in green) are currently outperforming most other major markets with the major asian markets (in purple) being the laggards.
Another important benefit is the clear visibility of a shift in focus from one underlying or class of underlyings to another over time, which gives valuable insights into mode changes of differing markets to increase understanding of the current state of the relationships between different markets.
For more than half a year, mid and small caps have outperformed large caps in US equities, as much as Value caps have outperformed Growth caps. Here you see, how the outperformance of Value stocks has been maintained, but the focus shifted from smaller to bigger caps.
The indicator allows up to 20 individually selected ticker symbols classifiable into up to 6 separate groups with up to 12 different selectable time periods (including a custom time period) to be displayed.
The results can be displayed either only as a percentage change from start to end of the corresponding time period as well as additionally with highs and lows in the interval in a candlestick representation.
The output can be ordered by symbols as individually entered as well as by performance for a selectable time period.
For further convenience, a range of predefined sets of symbol is preconfigured to give insights into the development of markets for bonds, commodities, currencies, cryptos, equity markets and the economy without having to manually configure the corresponding symbols into the list of selectable symbols.
Additional details about Open, High, Low and Close values and the exact percentage changes as displayed as well as about selected symbols and allocated groups can be displayed by hovering the mouse over any time period or any symbol.
MA-SS ( EMA SSL ) Indicator StudyThe MA-SS Indicator is a simple yet effective indicator using a combination of EMAs and SSL channel, utilising higher time frame data to help confirm trend/ price direction.
How does it work?
The Indicator consists of;
- 3 x EMAs – The 3rd EMA being a filter EMA
- Multi Time Frame EMA (This is an additional filter EMA which can be switched on and off)
- Multi Time Frame SSL Channel (This acts as a filter and can also be switched on and off)
The concept initially began as a simple EMA crossing indicator, but adding an MTF EMA plus a MTF SSL channel for additional filtering, helped to give a better indication of trend and ultimately filter out several bad trades.
- EXAMPLE: If price is …
o below the MTF EMA filter
o The MTF SSL Channel is red
o White and blue EMAs cross below the yellow (filter) EMA in the red SSL channel
> …a short is fired!
- (Opposite scenario for longs)
- Your stop loss would ideally be the top/ bottom of the SSL channel (either the MTF SSL channel or a standard SSL channel added manually to the chart), or, go for a clear pivot point or support/ resistance level.
- Take profit is yours to decide but I opt for a 1:1.5 risk/reward ratio. You could also use the MTF SSL channel to gauge when you should exit your trade (i.e. if you're in a long, wait for the SSL channel to flip red).
I will also have a strategy script available for this indicator.
Any questions please fire away in the comments.
Stochastic RSI MTF - 6 TimeframesDisplays Stochastic RSI from 6 different timeframes.
Default timeframe settings: 5min, 15min, 30min, 1hr, 4hr, 1day.
Multi Time Frame EMA Signal & ResistanceFull code and description: github.com/samgozman/MTF-EMA-Signal-and-Resistance
The idea of this script is quite simple. Imagine that you have a 200-day EMA and its support or resistance line is the 200-week EMA.
Then if EMA 200 1D > EMA 200 1W then the trend is bullish.
That is, EMA 200 1D is the signal line, and EMA 200 1W is the resistance.
Of course, you can independently set the time interval for the signal line and resistance, as well as the number of periods.
In addition to setting time intervals and period lengths, you can optionally enable the display of additional class EMAs.
You can also set the timeframe for the signal line equal to the current time period.
(IK) Stoch-60-15This strategy uses 60 minute and 15 minute stochastic data to determine entry and exit; it only executes long trades. I've only used this on BTC/USD, but I imagine the concepts employed should hold for any ticker
The script builds a simple Stochastic indicator for the current timeframe, and it also plots a single stochastic line for a higher resolution time frame. I've found good results trading on 15 minutes with a 60 minute higher resolution.
We enter a trade if the higher resolution stochastic is in an uptrend, if the current resolution stochastic is in an uptrend, and if the current stochastic value is less than 50.
We exit a trade when the current stochastic value crosses below 80 or the trailing stop loss is hit.
Stop loss is calculated with the input value, Stop Loss Percent. This value represents the percent of capital you're willing to lose before exiting a trade. A stop loss percent of 0.050 means your trade will exit if it falls 5% from the highest high since entering a trade. You will have at least 95% of your original capital left. There is no option to change a trailing stop loss to a set stop loss (in order to keep the code as simple as possible), however, you can turn it off by setting Stop Loss Percent to 1.
I tried to keep the script itself lightweight and very easy to understand, so it's not very customizable in regards to input options. You can change stochastic data, as well as the trailing stop percentage. The script can be adjusted to other timeframes, however this requires a small change in the code (details in script comments). Changing just the "Higher Resolution" input will not produce expected results
My hope is that by keeping it lightweight and simple, it will be easier for you to adjust to your specific needs, or work into a larger strategy.
MTF Oscillators [Anan]Hello friends,
This is my own MTF oscillator framework verion.
You can control in everything from indicator settings suck as (Source, Length, OB/OS Zones, Show/Hide Timeframes and all Timeframes are supported).
List of supported oscillators:
RSX
RSI
MFI
CCI
Heatmap - Multi-Timeframe Indicators - StrategyHeatmap - Multi-Timeframe Indicators - Strategy
▪ Main features :
- 19 Timeframes: 1m, 3m, 5m, 10m, 15m, 30m, 45m, 1h, 2h, 3h, 4h, 5h, 6h, 8h, 10h, 12h, 1D, 1W, 1M
- 6 indicators per timeframe
- choose specific timeframes for indicators (example - 1 hour)
- or choose specific timeframe ranges (example - 1 hour to 1 month)
The general idea is that the higher timeframe signals are stronger than the lower timeframe ones.
When a trend is starting, it is first visible on the lower timeframes.
The more time passes, the more the trend propagates through higher timeframes.
The default settings are meant to show all the available features. You may fine-tune it to your specific needs.
How to choose the timeframe for the chart : use the lowest of the choosen timeframes for indicators.
If the heatmap doesn't display correctly on your device, you may check the Heatmap Theme 🎨 setting.
It doesn't repaint.
"Repaint" version available though - good to check the past history, but very bad for real-time analysis.
▪ Indicators used for trend detection
1. MACD Cross
2. Stochastic Cross
3. Stochastic Cross and Overbought or Oversold
4. Moving Average
5. Parabolic SAR
6. Heikin Ashi
▪ Find the best Heatmap settings with the Strategy Tester version.
The signals generated by the Heatmap are considered to be valid at the bar open .
The Strategy Tester, however, uses the bar close in its calculations.
Therefore, the results may seem to be worse than they can be.
The Profitability, Profit Factor and other stats should be taken into consideration relatively to other configurations of the same Heatmap.
▪ Using a score system to consider a change in trend valid.
Example: consider the signal valid if 65% or more of all indicators (max 6) among all timeframes (max 19) hint at a change in trend.
The % percent value can be inserted in settings.
When using the default settings or when all timeframes and indicators are activated,
the ratio of 100% downtrend or 100% uptrend may be less occuring. Adjust accordingly.
The signals across timeframes and indicators are aggregated to show simple entry and exit signals.
▪ Combined Alerts, to be set to fire once per bar open :
0 - 📈 Long! - Heatmap - Multi-TFI
0 - 📈 Short! - Heatmap - Multi-TFI
0 - 📈 Long Exit! - Heatmap - Multi-TFI
0 - 📈 Short Exit! - Heatmap - Multi-TFI
1 *** BUY or SELL (single alert) ***
1 *** Entries or Exits (single alert) ***
▪ Note : The initial load may be slow. If something doesn't seem to work, you can try the following:
- wait more time for it to load
- hide & show or remove & add back to chart
- don't add the indicator to chart multiple times in a short amount of time, as you may be rate limited
▪ Related Studies :
- Heatmap - Multi-Timeframe Indicators - Alerts
- Risk Management System (Stop Loss, Take Profit, Trailing Stop Loss, Trailing Take Profit) - it can be connected to Heatmap - Multi-Timeframe Indicators - Alerts
▪ Layout example:
Heatmap - Multi-Timeframe Indicators - AlertsHeatmap - Multi-Timeframe Indicators - Alerts
▪ Main features :
- 19 Timeframes: 1m, 3m, 5m, 10m, 15m, 30m, 45m, 1h, 2h, 3h, 4h, 5h, 6h, 8h, 10h, 12h, 1D, 1W, 1M
- 6 indicators per timeframe
- choose specific timeframes for indicators (example - 1 hour)
- or choose specific timeframe ranges (example - 1 hour to 1 month)
The general idea is that the higher timeframe signals are stronger than the lower timeframe ones.
When a trend is starting, it is first visible on the lower timeframes.
The more time passes, the more the trend propagates through higher timeframes.
The default settings are meant to show all the available features. You may fine-tune it to your specific needs.
How to choose the timeframe for the chart : use the lowest of the choosen timeframes for indicators.
If the heatmap doesn't display correctly on your device, you may check the Heatmap Theme 🎨 setting.
It doesn't repaint.
"Repaint" version available though - good to check the past history, but very bad for real-time analysis.
▪ Indicators used for trend detection
1. MACD Cross
2. Stochastic Cross
3. Stochastic Cross and Overbought or Oversold
4. Moving Average
5. Parabolic SAR
6. Heikin Ashi
▪ Find the best Heatmap settings with the Strategy Tester version.
The signals generated by the Heatmap are considered to be valid at the bar open .
The Strategy Tester, however, uses the bar close in its calculations.
Therefore, the results may seem to be worse than they can be.
The Profitability, Profit Factor and other stats should be taken into consideration relatively to other configurations of the same Heatmap.
▪ Using a score system to consider a change in trend valid.
Example: consider the signal valid if 65% or more of all indicators (max 6) among all timeframes (max 19) hint at a change in trend.
The % percent value can be inserted in settings.
When using the default settings or when all timeframes and indicators are activated,
the ratio of 100% downtrend or 100% uptrend may be less occuring. Adjust accordingly.
The signals across timeframes and indicators are aggregated to show simple entry and exit signals.
▪ Combined Alerts, to be set to fire once per bar open :
0 - 📈 Long! - Heatmap - Multi-TFI
0 - 📈 Short! - Heatmap - Multi-TFI
0 - 📈 Long Exit! - Heatmap - Multi-TFI
0 - 📈 Short Exit! - Heatmap - Multi-TFI
1 *** BUY or SELL (single alert) ***
1 *** Entries or Exits (single alert) ***
▪ Note : The initial load may be slow. If something doesn't seem to work, you can try the following:
- wait more time for it to load
- hide & show or remove & add back to chart
- don't add the indicator to chart multiple times in a short amount of time, as you may be rate limited
▪ Related Studies :
- Heatmap - Multi-Timeframe Indicators - Strategy Tester
- Risk Management System (Stop Loss, Take Profit, Trailing Stop Loss, Trailing Take Profit) - it can be connected to Heatmap - Multi-Timeframe Indicators - Alerts
▪ Layout example:
MTF SwingSwiss - Premium@panthair9, a SwingSwiss user, asked me to develop this script based on the two SwingSwiss crosses.
The indicator shows in real-time how the other timeframes are trading the asset.
It's pretty useful to know that the higher timeframes are also trading your way as it limits your risk (because you are trading the right trend)
You can choose up to five timeframes and style the lines and colored blocks 😃
There is one line per timeframe and whenever the green cross appears on the timeframe, it will get updated into the line as well !! I love the thing, thanks again @panthair9 ❤️
PS:
Dear SwingSwiss community, I am really trying to build the best indicator out there!
If you feel like I could improve the indicator in any way, just ask!
I'll do my best to make your dream indicator come true 🙌
Have A Great Day
Dan
h4hdwm (updated)I put most importand moving avarages for most importand time frames together. When you whatching a graph you are sometimes missing another time frime very importand moving avarage and there is a reaction on price. with this multi time frame multi ma indicator you can see all of them at once. it makes a little mass if you let all of them together. so you might close some of them.
Bigger time frames Moving Avarages has ticker lines and bigger steps.
HTF Highs Lows [JV]█ OVERVIEW
This script presents a label with an overview of higher timeframe highs and lows. This can be useful information as we all know that price likes to revisit previous highs and lows area, specially on the higher timeframe.
█ CONCEPTS
This information can be relevant and valuable for various reasons:
Finding horizontal Support and Resistance
Get a better view on Market Structure
Provide some information about Order Flow
TrendLines
...
█ FEATURES
Plots
This script provides the option to show information about 3 timeframes
Each timeframe can be separately shown or hidden
The Y position of the info label can be user defined, based on high or low of the chosen timeframe
The X offset of the info label can be adjusted to the user's liking and the chart resolution
The label color and text color can be user defined
The info label's size can be user defined
█ NOTES
Caveat
The timeframes must be chosen in order of size. Meaning that the highest timeframe should be on top. This is title as such on the info label, but I want to mention it again as it's something to pay attention to.
Repainting
The question that pops up all the time is: Does it repaint ?
I will quote PineCoders on this:
We're pretty sure Wilder was not asked very often if RSI repainted. Why? Because it wasn't in fashion—and largely unnecessary—to ask that sort of question in the 80's. Many traders back then used daily charts only, and indicator values were calculated at the day's close, so everybody knew what they were getting. Additionally, indicator values were calculated by generally reputable outfits or traders themselves, so data was pretty reliable. Today, almost anybody can write a simple indicator, and the programming languages used to write them are complex enough for some coders lacking the caution, know-how or ethics of the best professional coders, to get in over their heads and produce code that does not work the way they think it does.
Briefly: yes, it repaints and no it does not matter.
Simple because we are working with highs and lows on a higher timeframe. So if we get a new high or low within a certain time frame, we want this new high or low to be displayed and, for me, it's not relevant if this information appears when it happens or when the candle closes.
Questions & Suggestions
Questions, suggestions or even a word of thanks are always welcomed in the comments section. I usually answer within the same day.
█ THANKS
A word of thanks to, and I hope I am allowed to use hyperlinks here, LonesomeTheBlue for being an inspiration on coding style and his work on arrays in Pine Script and to lmatl for his support, words of advice and letting me borrow his brain now and then.
MTF Ichimoku [Takazudo]- A multi time frame Ichimoku with messy hint highlights.
- Most of MTF Ichimoku scripts doesn't handle Chikou-span's place correctly. This script does.
- This script was made to refer the 1day timeframe Ichimoku in lower timeframes.
- I use 1day timeframe mainly. But my entry is always in 4h or 1h timeframe.
OANDA:USDJPY
Comparison (Malaysia Index & Sector)This is just a simple tool for convenient to compare and showing a clear image of all sector and index in Malaysia. They are just in one indicator. From this indicator, you can predict momentum of each sector in Malaysia, which is currently in bull or bear trend.
STRUCTURE
In the setting, the first line with the option of the following index (Malaysia Index) :
1. FBMKLCI
2. FTSEMYX:FBMSCAP
3. FTSEMYX:FBMACE
4. FTSEMYX:FBM70
5. FTSEMYX:FBMT100
6. FTSEMYX:FBMFLG
7. FTSEMYX:FBMEMAS
8. FTSEMYX:FA40
9. FTSEMYX:FBMMSCS
10. FTSEMYX:FBMAPMYR
11. FTSEMYX:FBMMSCAP
The rest of lines is all of the following sector (Malaysia Sector):
1. Technology
2. Telecommunication
3. Health
4. Consumer Product
5. Industrial Product
6. Construction
7. Property
8. Plantation
9. Utilities
10. Transportation
11. Energy
12. REIT
13. Finance
The last line (Line 15) is provided for other stock/index which is not available in option to manually fill.
All sector and index price are smoothen by Moving Average (MA). The default moving average is Relative Moving Average (RMA) which is used in Relative Strength Index ( RSI ) Oscillator. But the range is different from RSI , it is from -100 to 100 instead of 0 to 100. In the end, result and interpretation are just the same as RSI . Green area indicates oversold area, while red area is overbought.
Other choice of Moving Averages are available to change.
The problem of putting all together is the script may take longer to process. It is just for convenient use.
Bottom-Up or Top-Down Invest?