Multi-TF Avg BBandsMULTI-TF AVERAGE BBANDS - with signals (BETA)
Overall, it shows where the price has support and resistance, when it's breaking through, and when its relatively low/high based on the magic of standard deviation.
created by gamazama. send me a shout if u find this useful, or if you create something cool with it.
%BB: The price's position in the boilinger band is converted to a range from 0-1. The midpoint is at 0.5
Description of parameters
"BB:Window Length" is the standard BB size of 20 candles.
The indicator plots up to 7 different %BB's on different timescales
They are calculated independently of the timescale you are viewing eg 12h, 3d, 30m will be the same output
You can enter 7 timescales, eg. if you want to plot a range of bbands of the 12h up to 3d graphs, enter values between 0.5 and 3 (days) - you can also select 0 to disable and use less timescales, or select hours or minutes
Take note if you eg. double the main multiplier to 40, it is the same as doubling all your timescales
You can turn the transparency of the 7 x %BB's to 100 to hide them, their average is plotted as a thick cyan line
"Variance" is a measure of how much the 7 BB's agree, and changes colour based on the thresholds used for the strategy
---- TO START FROM SCRATCH ----
- set all except one to ZERO (0), set to 0, and everything after to 0.
Turn ON and right click -> move the indicator to a new pane - this will show you the internal workings of the indicator.
Then there is a few standard settings
"Source Smoothing Amount" applies a basic small sma on the price.
It should be turned down when viewing candles with less information, like 1D or more.
Standard BBands use an SMA, there one uses a blend between VWMA or SMA
Volume Weight settings, the same as SMA at 0, and the same as VWMA at 1
BB^2 is a bband drawn around the average %BB. Adjust the to change its window length
The BB^2 changes color when price moves up or down
Now its time to look at the parameters which affect the buy/sell signals
turn on "show signal range" - you see some red lines
buy and sell each have 4 settings
min/max variance will affect the brigtness of the signal range
range adjust will move the range up/down
mix BB^2 blends between a straight line (0) and BB^2's top or bottom (1)
a threshold of "variance" and "h/l points" is available to generate weaker signals.
these thresholds can be increased to show more weak signals
ONCE YOU ARE HAPPY WITH THE SIGNALS being generated, you can turn OFF , and move it back to the price pane
the indicator then draws a bband around the price to maps some info into the chart:
fills a colour between 0.5 & the mid BB^2 and converts relative to the price chart
draws a line in the middle of the midband.
controls how much these lines diverge from the price - adjust it to reduce noise
converts the signal range (red lines) to be relative to the price chart
if you like, you can adjust the sell & buy signals in the tab from and to and to match the picture. It messes with auto-scaling when moving back to though
enjoy, I hope that is easy enough to understand, still trying to make this more user-friendly.
If you want to send me some token of appreciation - btc: 33c2oiCW8Fnsy41Y8z2jAPzY8trnqr5cFu
I promise it will put a fat smile on my face
Multi-timeframe
Tradewave-RSI5Calculates the Multi Time Frame RSI Overbought Oversold Conditions.
- Draws a vertical green line when RSI is oversold across 5 time frames of your choice
- Draws a vertical red line when RSI is overbought across 5 time frames of your choice.
Time frames can be modified in indicator settings.
MFI LizardMFI with auto identification of divergence, multi timeframe support and centre line.
Work In Progress
WaveTrendThis is a trend Analysis indicator request by Taleeto
To fully use this script, you will need a security key from him.
It alerts you when to buy or sell based on the market conditions
Bollinger Bands Multi Time FrameThis script is for using Bollinger Bands at different time frames. I usually use it at 5m chart while Bollinger Bands at 1 hour resolution.
Kal’s MTF ADX Rangoli RollerKaly MTF ADX Rangoli Roller is a method/study for finding trending stocks, indexes and cryptocurrencies using two different data periods (10, 5) of ADX Overlap over different time-frames (10m, 1H, 4H, 1D, 1W, 1M). In the study, I used 5-Period ADX for all mentioned time-frames. You may use 10-Period ADX for lower time-frames especially 10m and 1H.
Sample Image of the pinescript code(at the end of this post) in Tradingview looks as follows:
Note: Kal's MTF ADX Rangoli Roller is the lower Plot. The upper plot is KAL’s ADX Overlap Technical Study with MACD Filter( )
Description:
----------------
In the study plot, the lowest row is 10m, row above is 1H, row above is 4H, then 1D, then 1W and highest row is 1M
Lime(Bright Green) dot implies Trending Uptrend for that time-frame (first phase)
Green dot implies Trending Uptrend for that time-frame (second phase near exhaustion)
Red dot implies Trending Downward for that time-frame (first phase)
Maroon dot implies Trending Downward for that time-frame (second phase near exhaustion)
Lime cross implies Strong Trending Uptrend for that time-frame (first phase)
Green cross implies Strong Trending Uptrend for that time-frame (second phase near exhaustion)
Red cross implies Trending Strong Downward for that time-frame (first phase)
Maroon cross implies Trending Strong Downward for that time-frame (second phase near exhaustion)
Yellow is ‘Squeeze On’ setting. During the squeeze period, the ADX signals are almost always ineffective. One may wait and watch over during this time. Once the Squeeze is released (i.e. no longer yellow), the trend corresponds to the color of the dots and crosses.
Black is CRSI Overbought condition for that time-frame. It’s best to wait and research for possibility of trend reversal because
1. Profit-booking/trimming happens after CRSI Overbought condition.
2. Large Short-sellers may take huge positions during this time pushing the stock prices up.
White is CRSI Oversold condition for that time-frame. It’s best to wait and research for possibility of trend reversal because
1. Profit-booking/trimming happens after CRSI Oversold conditions.
2. Large buyers may take huge positions during this time pushing the stock prices down.
I am a disabled man. Therefore, I am not able to write in detail here today. More Details will follow as time permits. Please let me know if I am missing anything…
Legal Disclaimer: I published here so I get replies from fellow viewers to educate myself and for my daily expenses. Hence, if anyone uses this script for making their decisions, I am not responsible for any failures incurred.
Safe Trading!
Kal Gandikota
PS: If you found this script interesting and edifying please follow and upvote.
PS2: Please kindly donate for my daily expenses (atleast as you would on streets) at the following addresses:
BTC Wallet: 1NeDC1GvpFa49DFLuT1v28ohFjqtoWXNQ5
ETH Wallet: 0x35e557F39A998e7d35dD27c6720C3553e1c65053
NEO Wallet: AUdiNJDW7boeUyYYNhX86p2T8eWwuELSGr
PS3: For more information on ADX and CRSI, please 'Google' or search here yourself.
PS4: This study is intended for research in creating automated Python Trading Systems using Pandas( steemit.com ).
Screenshots of the pinescript code looks as follows:
10minute Screenshot of Kal's MTF ADX Rangoli Roller (Above)
1 Hour Screenshot of Kal's MTF ADX Rangoli Roller (Above)
4 Hour Screenshot of Kal's MTF ADX Rangoli Roller (Above)
1 Day Screenshot of Kal's MTF ADX Rangoli Roller (Above)
1 Week Screenshot of Kal's MTF ADX Rangoli Roller (Above)
1 Month Screenshot of Kal's MTF ADX Rangoli Roller (Above)
Allie MTF KijunMulti-timeframe kijun. The current timeframe's kijun is represented with dashed line.
ADX+DMI MTF byPeterOThe goal of this study was to use ADX from Higher Timeframe - to determine trend direction
Why? Because ADX is very sensitive, able to show trend ending without any delay, but not in the middle of it.
Being able to see such immediate trend change on higher timeframe, is a great indicator of trend direction.
Adding just security() calls to 'highest', 'lowest' and 'close' didn't seem right, because it produced some ugly ADX, D+ and D- plotlines.
I wanted to see plotlines, which look exactly like those on actual higher timeframe. Therefore I modified the calculations.
You can read more about my take on (not) using security() calls in my other source code indicator RSI MTF: link in comments.
On top of all that, I added interpretation of DMI readings, because it is not as simple as plus>minus + ADXrising = uptrend.
So GREEN background means higher timeframe uptrend and RED background means downtrend.
Trend Trader (by JamieSteele)This strategy uses a multi-time-frame approach to trading.
A longer-term set of moving averages represents the Weekly (long-term) Trend.
The current trend represents the intermediate-term trend.
A 10 period exponential moving average represents the short-term trend.
The system trades in the direction of the long-term and intermediate term trend,
and enters trades on pullbacks counter to these trends.
The daily bars are colored based upon their intermediate term trend.
Red=Down Trend, Green=Up Trend.
For short-side trades, we look to capture small, consistent profits. This is necessary
given the extreme manipulation by governments' central banks in an effort to prop-up their
stock markets to give an appearance of an economy that is better than actually exists.
These governments look to limit all downside moves, so we capture small profits and then
re-short after the market resets.
For long-side trades the system stays in the trade until the trend is proven to be over.
Given the extreme valuations present in world markets today, extreme caution should be taken
on all trades, especially long-side trades. Use of derivatives are preferred (e.g. options,
which can be used to limit downside risk.) Naked put selling should be avoided, since huge
losses are possible selling naked puts in a market that is very overdue for a crash/large
price decline.)
AB Atlas
Arbitrage Band Indicators - Included In The Indicator
Recent Higher High - Yellow Circle
Longer Term Higher High - Black Circle (Above Candle) (with Alerts)
Longer Term Lower Low - Black Circle (Below Candle) (with Alerts)
Buy Trend Exhausted - Red Circles ( Above Candles)
Sell Trend Exhausted - Green Circles ( Below Candles)
Tick colors have been added to the Bands to eliminate any question of the type of trend that is currently in progress
Red Atlas Band - Sell trend in progress
Green Atlas Band Buy Trend in progress
Enjoy,
Arbitrage Trade
MTF MAIt is just a simple MTF MA.
The types of moving averages that can be selected have been increased considerably
ただのシンプルなMTF MAです。
選択できる移動平均の種類はかなり増やしておきました
9 Seasons Rainbow Multi TimeFrames Pattern Standard-A [9SRSAEN]The indicator discovers profitable patterns by associating Price Season of multiple timeframes.
Full Name: 9 Seasons Rainbow - Multiple TimeFrames Associated Price Wave Pattern Indicator
Version: Invite-Only STANDARD-A
This is a sibling version OF “9 Seasons Rainbow Multi TimeFrames Pattern Standard ” with some functions for developing needs, without update notice function.
Language: English
Copyright: 2019
---------- How to use the indicator ----------
Go through the manual and related ideas underneath or follow the tutorials list. Look through the profitable patterns and related cases, wait for or set alert for specific profitable pattern.
---------- Definition: 9 Seasons ----------
A life cycle of Price Wave is divided into 9 Seasons. Each time frame, from 5 minute to 1 month, has 9 seasons, Independent of each other:
Bull (Green)
Bull Pullback (Light Green): a pullback or retracement
Resistance / Overbought (Yellow): a resistance area , may become a Top, or be broken through.
Crazy Bought (Lime): Price is going up in a high volatility , could be a valid breakout, or a Bull Trap.
Neutral (White): a wandering season without direction, evolves into Bull or Bear
Bear (Red)
Bear Bounce (Light Red): Price bounces
Support / Oversold (Blue): a support area , may become a Bottom, or be broken through.
Crazy Sold (Fuchsia): Price is going down in a high volatility , could be a valid breakdown, or a Bear Trap.
---------- Some important evolution between seasons ----------
Resistance / Overbought (Yellow) -> Crazy Bought (Lime):
Bull is breaking through a resistance.
Crazy Bought (Lime) -> Resistance / Overbought (Yellow):
This normally indicates a failed breakout, Price goes back to the resistance.
Crazy Bought (Lime) -> Bull Pullback (Light Green):
This normally indicates Price has risen to a new level
Support / Oversold (Blue) -> Crazy Sold (Fuchsia):
Bear is breaking through a support.
Crazy Sold (Fuchsia) -> Support / Oversold (Blue):
This normally indicates a failed breakdown, Price recovers to the support.
Crazy Sold (Fuchsia) -> Bear Bounce (Light Red):
This normally indicates price has dropped to a new level
---------- Rainbow Ribbons for Multiple TimeFrames ----------
Each ribbon of a rainbow represents a time frame.
The uppermost ribbon represents the shortest-term time frame - current time period of the chart, which is the time frame for trading.
The lowermost ribbon represent longest-term time frame, which work as environment, together with the other medium-term and long-term time frames.
The difference between two frames is 1.4142 fold (square root of 2), if level 1 is 15 minute, level 2 is 15 minute * (square root of 2) .
Examples of time frames in a rainbow:
For STANDARD in 15M: 15M - 21M - 30M - 42M - 60M(1H) - 85M - 120M(2H) - 170M
For PRO in 15M: 15M - 21M - 30M - 42M - 60M(1H) - 85M - 120M(2H) - 170M - 240M(4H) - 339M - 480M(8H) - 679M
---------- Trading Methods ----------
How to open a Long position?
When a profitable Long pattern appears, open small position first based on signal on shortest-term time frame; after retesting and confirming the support, open 2nd position; when it breaks through the resistance, pullbacks and confirms the breakout, open 3rd position.
How to exit a Long position?
Lift the Stop to a confirmed higher low, so that to take advantages of the bull run as possible.
How to open a Short position?
When a profitable Short pattern appears, open small position first based on signal on shortest-term time frame; after retesting and confirming the resistance, open 2nd position; when it breaks through the support, bounces and confirms the breakdown, add 3rd position.
How to exit a Short position?
Lower the Stop to a confirmed lower high, so that to take advantages of the bear run as possible.
---------- Versions Description ----------
The author reserves the right to change the features without advance notice.
PRO:
Invite-Only, with the following advanced features:
12 Ribbons Rainbow displays 9 Seasons of 12 time frames on a chart.
Advanced alert sets allows set alerts on short-term, medium-term, and long-term time frames.
Capability to input different trading instrument to compare with the current ticker.
Full time periods access allows apply it to broadest time periods, from 1 minute to 1 week (if history data is enough)
More new features in updates.
STANDARD:
Invite-Only, with the following advanced features:
8 Ribbons Rainbow displays 9 Seasons of 8 time frames on a chart.
Advanced alert sets allows set alerts on upper and lower frames.
Broad time periods access allows apply it to the most popular time periods, from 15 minute to 1 week (if history data is enough)
More new features in updates.
DEMO:
DEMO version is for trial purpose, having most of the features.
It is applicable to a list of trading instruments and specific time periods (1 hour to 1 day), which may change later without advance notice.
---------- Access to Indicators ----------
Please use DEMO version for Trial
Asking access to Invite-Only PRO and STANDARD versions:
9seasonsrainbowindicator.blogspot.com
Or contact the author.
---------- Install Invite Only: STANDARD & PRO Version----------
Ask access to STANDARD or PRO version
Open the chart -> Indicators (On the Top) -> Invite-Only Scripts (2nd button of the left bar)
Like/Favorite the indicator
Click to install on the chart
---------- About Loading Time ----------
It may take up to 2 minutes for your browser to load a new setting, depending on the your computer and network speed.
---------- List of the author's Indicators ----------
www.tradingview.com
---------- Disclaimer ----------
By using or requesting access to the indicator, you acknowledge that you have read and accepted that the indicator and any related content, including but not limited to: user manual, tutorials, ideas, videos, chats, emails, blog, are for the purpose of trading strategies studying and paper trading.
If a customer or user uses the indicator or related content mentioned above for live trading or investment, she/he should take all risks and be responsible for her/his own trading and investment activities.
---------- Updates ----------
The latest updates override the previous description.
To activate a update: Close the browser, Reopen the chart and apply the indicator.
9 Seasons Rainbow Multiple Time Frames Pattern Standard [9SRSEN]The indicator discovers profitable patterns by associating Price Season of multiple time frames.
Full Name: 9 Seasons Rainbow - Multiple Time Frames Associated Price Wave Pattern Indicator
This is redefined from “9 Seasons Rainbow Indicator STANDARD”, with clearer definition of 9 Seasons and user manual.
Version: Invite-Only Standard
Language: English
Copyright: 2019
---------- How to use the indicator ----------
Go through the manual and related ideas underneath or follow the tutorials list. Look through the profitable patterns and related cases, wait for or set alert for specific profitable pattern.
---------- Definition: 9 Seasons ----------
A life cycle of Price Wave is divided into 9 Seasons. Each time frame, from 5 minute to 1 month, has 9 seasons, Independent of each other:
Bull (Green)
Bull Pullback (Light Green): a pullback or retracement
Resistance / Overbought (Yellow): a resistance area, may become a Top, or be broken through.
Crazy Bought (Lime): Price is going up in a high volatility, could be a valid breakout, or a Bull Trap.
Neutral (White): a wandering season without direction, evolves into Bull or Bear
Bear (Red)
Bear Bounce (Light Red): Price bounces
Support / Oversold (Blue): a support area, may become a Bottom, or be broken through.
Crazy Sold (Fuchsia): Price is going down in a high volatility, could be a valid breakdown, or a Bear Trap.
---------- Some important evolution between seasons ----------
Resistance / Overbought (Yellow) -> Crazy Bought (Lime):
Bull is breaking through a resistance.
Crazy Bought (Lime) -> Resistance / Overbought (Yellow):
This normally indicates a failed breakout, Price goes back to the resistance.
Crazy Bought (Lime) -> Bull Pullback (Light Green):
This normally indicates Price has risen to a new level
Support / Oversold (Blue) -> Crazy Sold (Fuchsia):
Bear is breaking through a support.
Crazy Sold (Fuchsia) -> Support / Oversold (Blue):
This normally indicates a failed breakdown, Price recovers to the support.
Crazy Sold (Fuchsia) -> Bear Bounce (Light Red):
This normally indicates price has dropped to a new level
---------- Rainbow Ribbons for Multiple Time Frames ----------
Each ribbon of a rainbow represents a time frame.
The uppermost ribbon represents the shortest-term time frame - current time period of the chart, which is the time frame for trading.
The lowermost ribbon represent longest-term time frame, which work as environment, together with the other medium-term and long-term time frames.
The difference between two frames is 1.4142 fold (square root of 2), if level 1 is 15 minute, level 2 is 15 minute * (square root of 2) .
Examples of time frames in a rainbow:
For STANDARD in 15M: 15M - 21M - 30M - 42M - 60M(1H) - 85M - 120M(2H) - 170M
For PRO in 15M: 15M - 21M - 30M - 42M - 60M(1H) - 85M - 120M(2H) - 170M - 240M(4H) - 339M - 480M(8H) - 679M
---------- Trading Methods ----------
How to open a Long position?
When a profitable Long pattern appears, open small position first based on signal on shortest-term time frame; after retesting and confirming the support, open 2nd position; when it breaks through the resistance, pullbacks and confirms the breakout, open 3rd position.
How to exit a Long position?
Lift the Stop to a confirmed higher low, so that to take advantages of the bull run as possible.
How to open a Short position?
When a profitable Short pattern appears, open small position first based on signal on shortest-term time frame; after retesting and confirming the resistance, open 2nd position; when it breaks through the support, bounces and confirms the breakdown, add 3rd position.
How to exit a Short position?
Lower the Stop to a confirmed lower high, so that to take advantages of the bear run as possible.
---------- Versions Description ----------
The features may change later without advance notice.
PRO:
Invite-Only, with the following advanced features:
12 Ribbons Rainbow displays 9 Seasons of 12 time frames on a chart.
Advanced alert sets allows set alerts on short-term, medium-term, and long-term time frames.
Capability to input different trading instrument to compare with the current ticker.
Full time periods access allows apply it to broadest time periods, from 1 minute to 1 week (if history data is enough)
More new features in updates.
STANDARD:
Invite-Only, with the following advanced features:
8 Ribbons Rainbow displays 9 Seasons of 8 time frames on a chart.
Advanced alert sets allows set alerts on upper and lower frames.
Broad time periods access allows apply it to the most popular time periods, from 15 minute to 1 week (if history data is enough)
More new features in updates.
DEMO:
DEMO version is for trial purpose, having most of the features.
It is applicable to a list of trading instruments and specific time periods (1 hour to 1 day), which may change later without advance notice.
---------- Access to Indicators ----------
Please use DEMO version for Trial
Asking access to Invite-Only PRO and STANDARD versions:
9seasonsrainbowindicator.blogspot.com
Or contact the author.
---------- Install Invite Only: STANDARD & PRO Version----------
Ask access to STANDARD or PRO version
Open the chart -> Indicators (On the Top) -> Invite-Only Scripts (2nd button of the left bar)
Like/Favorite the indicator
Click to install on the chart
---------- About Loading Time ----------
It may take up to 2 minutes for your browser to load a new setting, depending on the your computer and network speed.
---------- List of the author's Indicators ----------
www.tradingview.com
---------- Disclaimer ----------
By using or requesting access to the indicator, you acknowledge that you have read and accepted that the indicator and any related content, including but not limited to: user manual, tutorials, ideas, videos, chats, emails, blog, are for the purpose of trading strategies studying and paper trading.
If a customer or user uses the indicator or related content mentioned above for live trading or investment, she/he should take all risks and be responsible for her/his own trading and investment activities.
---------- Updates ----------
The latest updates override the previous description.
To activate a update: Close the browser, Reopen the chart and apply the indicator.
Multi SMA EMA WMA HMA BB (5x8 MAs Bollinger Bands) MAX MTF - RRBMulti SMA EMA WMA HMA 4x7 Moving Averages with Bollinger Bands MAX MTF by RagingRocketBull 2019
Version 1.0
All available MAX MTF versions are listed below (They are very similar and I don't want to publish them as separate indicators):
ver 1.0: 4x7 = 28 MTF MAs + 28 Levels + 3 BB = 59 < 64
ver 2.0: 5x6 = 30 MTF MAs + 30 Levels + 3 BB = 63 < 64
ver 3.0: 3x10 = 30 MTF MAs + 30 Levels + 3 BB = 63 < 64
ver 4.0: 5(4+1)x8 = 8 CurTF MAs + 32 MTF MAs + 20 Levels + 3 BB = 63 < 64
ver 5.0: 6(5+1)x6 = 6 CurTF MAs + 30 MTF MAs + 24 Levels + 3 BB = 63 < 64
ver 6.0: 4(3+1)x10 = 10 CurTF MAs + 30 MTF MAs + 20 Levels + 3 BB = 63 < 64
Fib numbers: 8, 13, 21, 34, 55, 89, 144, 233, 377
This indicator shows multiple MAs of any type SMA EMA WMA HMA etc with BB and MTF support, can show MAs as dynamically moving levels.
There are 4 MA groups + 1 BB group, a total of 4 TFs * 7 MAs = 28 MAs. You can assign any type/timeframe combo to a group, for example:
- EMAs 9,12,26,50,100,200,400 x H1, H4, D1, W1 (4 TFs x 7 MAs x 1 type)
- EMAs 8,13,21,30,34,50,55,89,100,144,200,233,377,400 x M15, H1 (2 TFs x 14 MAs x 1 type)
- D1 EMAs and SMAs 8,13,21,30,34,50,55,89,100,144,200,233,377,400 (1 TF x 14 MAs x 2 types)
- H1 WMAs 13,21,34,55,89,144,233; H4 HMAs 9,12,26,50,100,200,400; D1 EMAs 12,26,89,144,169,233,377; W1 SMAs 9,12,26,50,100,200,400 (4 TFs x 7 MAs x 4 types)
- +1 extra MA type/timeframe for BB
There are several versions: Simple, MTF, Pro MTF, Advanced MTF, MAX MTF and Ultimate MTF. This is the MAX MTF version. The Differences are listed below. All versions have BB
- Simple: you have 2 groups of MAs that can be assigned any type (5+5)
- MTF: +2 custom Timeframes for each group (2x5 MTF) +1 TF for BB, TF XY smoothing
- Pro MTF: 4 custom Timeframes for each group (4x3 MTF), 1 TF for BB, MA levels and show max bars back options
- Advanced MTF: +4 extra MAs/group (4x7 MTF), custom Ticker/Symbols, Timeframe <>= filter, Remove Duplicates Option
- MAX MTF: +2 subtypes/group, packed to the limit with max possible MAs/TFs: 4x7, 5x6, 3x10, 4(3+1)x10, 5(4+1)x8, 6(5+1)x6
- Ultimate MTF: +individual settings for each MA, custom Ticker/Symbols
MAX MTF version tests the limits of Pinescript trying to squeeze as many MAs/TFs as possible into a single indicator.
It's basically a maxed out Advanced version with subtypes allowing for mixed types within a group (i.e. both emas and smas in a single group/TF)
Pinescript has the following limits:
- max 40 security calls (6 calls are reserved for dupe checks and smoothing, 2 are used for BB, so only 32 calls are available)
- max 64 plot outputs (BB uses 3 outputs, so only 61 plot outputs are available)
- max 50000 (50kb) size of the compiled code
Based on those limits, you can only have the following MAs/TFs combos in a single script:
1. 4x7, 5x6, 3x10 - total number of MTF MAs must always be <= 32, and you can still have BB and Num Levels = total MAs, without any compromises
2. 5(4+1)x8, 6(5+1)x6, 4(3+1)x10 - you can use the Current Symbol/Timeframe as an extra (+1) fixed TF with the same number of MTF MAs
- you don't need to call security to display MAs on the Current Symbol/Timeframe, so the total number of MTF MAs remains the same and is still <= 32
- to fit that many MAs into the max 64 plot outputs limit you need to reduce the number of levels (not every MA Group will have corresponding levels)
Features:
- 4x7 = 28 MAs of any type
- 4x MTF groups with XY step line smoothing
- +1 extra TF/type for BB MAs
- 2 MA subtypes within each group/TF
- 4x7 = 28 MA levels with adjustable group offsets, indents and shift
- supports any existing type of MA: SMA, EMA, WMA, Hull Moving Average (HMA)
- custom tickers/symbols for each group
- show max bars back option
- show/hide both groups of MAs/levels/BB and individual MAs
- timeframe filter: show only MAs/Levels with TFs <>= Current TF
- hide MAs/Levels with duplicate TFs
- support for custom TFs that are not available in free accounts: 2D, 3D etc
- support for timeframes in H: H, 2H, 4H etc
Notes:
- Uses timeframe textbox instead of input resolution dropdown to allow for 240 120 and other custom TFs
- Uses symbol textbox instead of input symbol to avoid establishing multiple dummy security connections to the current ticker - otherwise empty symbols will prevent script from running
- Possible reasons for missing MAs on a chart:
- there may not be enough bars in history to start plotting it. For example, W1 EMA200 needs at least 200 bars on a weekly chart.
- for charts with low/fractional prices i.e. 0.00002 << 0.001 (default Y smoothing step) decrease Y smoothing as needed (set Y = 0.0000001) or disable it completely (set X,Y to 0,0)
- for charts with high price values i.e. 20000 >> 0.001 increase Y smoothing as needed (set Y = 10-20). Higher values exceeding MAs point density will cause it to disappear as there will be no points to plot. Different TFs may require diff adjustments
- TradingView Replay Mode UI and Pinescript security calls are limited to TFs >= D (D,2D,W,MN...) for free accounts
- attempting to plot any TF < D1 in Replay Mode will only result in straight lines, but all TFs will work properly in history and real-time modes. This is not a bug.
- Max Bars Back (num_bars) is limited to 5000 for free accounts (10000 for paid), will show error when exceeded. To plot on all available history set to 0 (default)
- Slow load/redraw times. This indicator becomes slower, its UI less responsive when:
- Pinescript Node.js graphics library is too slow and inefficient at plotting bars/objects in a browser window. Code optimization doesn't help much - the graphics engine is the main reason for general slowness.
- the chart has a long history (10000+ bars) in a browser's cache (you have scrolled back a couple of screens in a max zoom mode).
- Reload the page/Load a fresh chart and then apply the indicator or
- Switch to another Timeframe (old TF history will still remain in cache and that TF will be slow)
- in max possible zoom mode around 4500 bars can fit on 1 screen - this also slows down responsiveness. Reset Zoom level
- initial load and redraw times after a param change in UI also depend on TF. For example: D1/W1 - 2 sec, H1/H4 - 5-6 sec, M30 - 10 sec, M15/M5 - 4 sec, M1 - 5 sec. M30 usually has the longest history (up to 16000 bars) and W1 - the shortest (1000 bars).
- when indicator uses more MAs (plots) and timeframes it will redraw slower. Seems that up to 5 Timeframes is acceptable, but 6+ Timeframes can become very slow.
- show_last=last_bars plot limit doesn't affect load/redraw times, so it was removed from MA plot
- Max Bars Back (num_bars) default/custom set UI value doesn't seem to affect load/redraw times
- In max zoom mode all dynamic levels disappear (they behave like text)
- Dupe check includes symbol: symbol, tf, both subtypes - all must match for a duplicate group
- For the dupe check to work correctly a custom symbol must always include an exchange prefix. BB is not checked for dupes
Good Luck! Feel free to learn from/reuse the code to build your own indicators.
9 Seasons Rainbow Multiple Time Frames Pattern PRO [9SPEN]The indicator discovers profitable patterns by associating Price Season of multiple time frames.
Full Name: 9 Seasons Rainbow - Multiple Time Frames Associated Price Wave Pattern Indicator
This is redefined from “9 Seasons Rainbow Indicator PRO”, with clearer definition of 9 Seasons and user manual.
Version: Invite-Only PRO
Language: English
Copyright: 2019
---------- How to use the indicator ----------
Go through the manual and related ideas underneath or follow the tutorials list. Look through the profitable patterns and related cases, wait for or set alert for specific profitable pattern.
---------- Definition: 9 Seasons ----------
A life cycle of Price Wave is divided into 9 Seasons. Each time frame, from 5 minute to 1 month, has 9 seasons, Independent of each other:
Bull (Green)
Bull Pullback (Light Green): a pullback or retracement
Resistance / Overbought (Yellow): a resistance area, may become a Top, or be broken through.
Crazy Bought (Lime): Price is going up in a high volatility, could be a valid breakout, or a Bull Trap.
Neutral (White): a wandering season without direction, evolves into Bull or Bear
Bear (Red)
Bear Bounce (Light Red): Price bounces
Support / Oversold (Blue): a support area, may become a Bottom, or be broken through.
Crazy Sold (Fuchsia): Price is going down in a high volatility, could be a valid breakdown, or a Bear Trap.
---------- Some important evolution between seasons ----------
Resistance / Overbought (Yellow) -> Crazy Bought (Lime):
Bull is breaking through a resistance.
Crazy Bought (Lime) -> Resistance / Overbought (Yellow):
This normally indicates a failed breakout, Price goes back to the resistance.
Crazy Bought (Lime) -> Bull Pullback (Light Green):
This normally indicates Price has risen to a new level
Support / Oversold (Blue) -> Crazy Sold (Fuchsia):
Bear is breaking through a support.
Crazy Sold (Fuchsia) -> Support / Oversold (Blue):
This normally indicates a failed breakdown, Price recovers to the support.
Crazy Sold (Fuchsia) -> Bear Bounce (Light Red):
This normally indicates price has dropped to a new level
---------- Rainbow Ribbons for Multiple Time Frames ----------
Each ribbon of a rainbow represents a time frame.
The uppermost ribbon represents the shortest-term time frame - current time period of the chart, which is the time frame for trading.
The lowermost ribbon represent longest-term time frame, which work as environment, together with the other medium-term and long-term time frames.
The difference between two frames is 1.4142 fold (square root of 2), if level 1 is 15 minute, level 2 is 15 minute * (square root of 2) .
Examples of time frames in a rainbow:
For STANDARD in 15M: 15M - 21M - 30M - 42M - 60M(1H) - 85M - 120M(2H) - 170M
For PRO in 15M: 15M - 21M - 30M - 42M - 60M(1H) - 85M - 120M(2H) - 170M - 240M(4H) - 339M - 480M(8H) - 679M
---------- Trading Methods ----------
How to open a Long position?
When a profitable Long pattern appears, open small position first based on signal on shortest-term time frame; after retesting and confirming the support, open 2nd position; when it breaks through the resistance, pullbacks and confirms the breakout, open 3rd position.
How to exit a Long position?
Lift the Stop to a confirmed higher low, so that to take advantages of the bull run as possible.
How to open a Short position?
When a profitable Short pattern appears, open small position first based on signal on shortest-term time frame; after retesting and confirming the resistance, open 2nd position; when it breaks through the support, bounces and confirms the breakdown, add 3rd position.
How to exit a Short position?
Lower the Stop to a confirmed lower high, so that to take advantages of the bear run as possible.
---------- Versions Description ----------
The features may change later without advance notice.
PRO:
Invite-Only, with the following advanced features:
12 Ribbons Rainbow displays 9 Seasons of 12 time frames on a chart.
Advanced alert sets allows set alerts on short-term, medium-term, and long-term time frames.
Capability to input different trading instrument to compare with the current ticker.
Full time periods access allows apply it to broadest time periods, from 1 minute to 1 week (if history data is enough)
More new features in updates.
STANDARD:
Invite-Only, with the following advanced features:
8 Ribbons Rainbow displays 9 Seasons of 8 time frames on a chart.
Advanced alert sets allows set alerts on upper and lower frames.
Broad time periods access allows apply it to the most popular time periods, from 15 minute to 1 week (if history data is enough)
More new features in updates.
DEMO:
DEMO version is for trial purpose, having most of the features.
It is applicable to a list of trading instruments and specific time periods (1 hour to 1 day), which may change later without advance notice.
---------- Access to Indicators ----------
Please use DEMO version for Trial
Asking access to Invite-Only PRO and STANDARD versions:
9seasonsrainbowindicator.blogspot.com
Or contact the author.
---------- Install Invite Only: STANDARD & PRO Version----------
Ask access to STANDARD or PRO version
Open the chart -> Indicators (On the Top) -> Invite-Only Scripts (2nd button of the left bar)
Like/Favorite the indicator
Click to install on the chart
---------- About Loading Time ----------
It may take up to 2 minutes for your browser to load a new setting, depending on the your computer and network speed.
---------- List of the author's Indicators ----------
www.tradingview.com
---------- Disclaimer ----------
By using or requesting access to the indicator, you acknowledge that you have read and accepted that the indicator and any related content, including but not limited to: user manual, tutorials, ideas, videos, chats, emails, blog, are for the purpose of trading strategies studying and paper trading.
If a customer or user uses the indicator or related content mentioned above for live trading or investment, she/he should take all risks and be responsible for her/his own trading and investment activities.
---------- Updates ----------
The latest updates override the previous description.
To activate a update: Close the browser, Reopen the chart and apply the indicator.
Combined MTF Camarilla Pivots (HA + Candles)This is a fairly basic (but hopefully useful) indicator that combines three time-frames of Camarilla pivots into one.
Default time-frames are:
Weekly
Monthly
Yearly
Time-frames can be modified as you wish, they are just set to these as I generally only trade higher intervals (just note that formatting labels will not change - but you can update these as needed).
The Camarilla pivots displayed are as follows:
R3, R4, R5, R6
Pivot line (Middle/Base)
S3, S4, S5, S6
R1/S1 & R2/S2 are excluded to make way for R5/S5 & R6/S6 - as these are more useful for the majority of traders. The formula for levels 5/6 are always up for debate, as no official formula has ever been released. I've used what I consider a mid, or consensus calculation.
By default all historical pivot levels are displayed, as there can be some benefit to mapping these forward once the relevant period has ended. If people find it's too cluttered I'll look into having an option to display the current period only.
Unfortunately, TradingView doesn't allow labels on plots (seems like such a basic feature to be missing, but there you go), so you'll have to learn the colours/linewidths.
Oh, and there's a checkbox to enable pivots to be calculated on Heiken-Ashi prices/candles rather than default prices/candles. This heavily modifies the location of the Camarilla Pivots, but I've found that in certain situations you can get some great results.
Let me know your thoughts/comments/suggestions.
Cheers
DD
Improved Multi-Timeframe (MTF) EMA 200/50/21These multi-timeframe 21, 50 and 200 period ema use an improved calculation to accurately calculate the indicator's value with every new bar on the time frame your chart is set to. Previously the indicator only recalculated with every new update on the timeframe used in its security function. This means that this improved script plots the real, current value of your indicator across your chosen timeframes on your chart's resolution and no longer only plots only the indicator's monthly/weekly/daily/4 hour/ect closing value on the your chart.
Input values are fixed to their default (close,21)/(close,50)/(close,200) configuration to make this indicator's improved calculation possible.
When using "Plot Higher Timeframe?" the script will set the indicator to only plot its value in closest larger timeframe. This option overrides the two following options. For example, when using the daily resolution , only the weekly value will plot, or when using the one hour (60m) resolution, only the 4 hour (240m) value will plot.
The "Omit Higher Timeframes?" option will set the indicator to only plot starting from the 1/2/3/4/5/6/7th closest larger timeframe. For example, when using the daily resolution and this option set to 0, all values from the weekly resolution and up will plot, but if set to 1, all values from the monthly resolution and up will plot instead.
The "Plot Yearly/Quarterly/Monthly/Weekly/Daily/4 Hour/1 Hour/15 Minute/5 Minute?" options allow enabling/disabling a specific timeframe. All are enabled by default. For example, if you do not want the yearly value of the indicator to ever plot, you can disable the "Plot Yearly?" option.
Improved Multi-Timeframe (MTF) SMA 200/50/21These multi-timeframe 21, 50 and 200 period sma use an improved calculation to accurately calculate the indicator's value with every new bar on the time frame your chart is set to. Previously the indicator only recalculated with every new update on the timeframe used in its security function. This means that this improved script plots the real, current value of your indicator across your chosen timeframes on your chart's resolution and no longer only plots only the indicator's monthly/weekly/daily/4 hour/ect closing value on the your chart.
Input values are fixed to their default (close,21)/(close,50)/(close,200) configuration to make this indicator's improved calculation possible.
When using "Plot Higher Timeframe?" the script will set the indicator to only plot its value in closest larger timeframe. This option overrides the two following options. For example, when using the daily resolution , only the weekly value will plot, or when using the one hour (60m) resolution, only the 4 hour (240m) value will plot.
The "Omit Higher Timeframes?" option will set the indicator to only plot starting from the 1/2/3/4/5/6/7th closest larger timeframe. For example, when using the daily resolution and this option set to 0, all values from the weekly resolution and up will plot, but if set to 1, all values from the monthly resolution and up will plot instead.
The "Plot Yearly/Quarterly/Monthly/Weekly/Daily/4 Hour/1 Hour/15 Minute/5 Minute?" options allow enabling/disabling a specific timeframe. All are enabled by default. For example, if you do not want the yearly value of the indicator to ever plot, you can disable the "Plot Yearly?" option.
ema34/89Made on request.
These multi-timeframe 34 and 89 period ema use an improved calculation to accurately calculate the indicator's value with every new bar on the time frame your chart is set to. Previously the indicator only recalculated with every new update on the timeframe used in its security function. This means that this improved script plots the real, current value of your indicator across your chosen timeframes on your chart's resolution and no longer only plots only the indicator's monthly/weekly/daily/4 hour/ect closing value on the your chart.
Input values are fixed to their default (close,34)/(close,89) configuration to make this indicator's improved calculation possible.
When using "Plot Higher Timeframe?" the script will set the indicator to only plot its value in closest larger timeframe. This option overrides the two following options. For example, when using the daily resolution , only the weekly value will plot, or when using the one hour (60m) resolution, only the 4 hour (240m) value will plot.
The "Omit Higher Timeframes?" option will set the indicator to only plot starting from the 1/2/3/4/5/6/7th closest larger timeframe. For example, when using the daily resolution and this option set to 0, all values from the weekly resolution and up will plot, but if set to 1, all values from the monthly resolution and up will plot instead.
The "Plot Yearly/Quarterly/Monthly/Weekly/Daily/4 Hour/1 Hour/15 Minute/5 Minute?" options allow enabling/disabling a specific timeframe. All are enabled by default. For example, if you do not want the yearly value of the indicator to ever plot, you can disable the "Plot Yearly?" option.
Improved Multi-Timeframe (MTF) 14 RSI - plots same as live dataThis multi-timeframe 14-period Relative Strength Index uses an improved calculation to accurately calculate the indicator's value with every new bar on the time frame your chart is set to. Previously the indicator only recalculated with every new update on the timeframe used in its security function. This means that this improved script plots the real, current value of your indicator across your chosen timeframes on your chart's resolution and no longer only plots only the indicator's monthly/weekly/daily/4 hour/ect closing value on the your chart.
Input values are fixed to their default (close,14) configuration to make this indicator's improved calculation possible.
When using "Plot Higher Timeframe?" the script will set the indicator to only plot its value in closest larger timeframe. This option overrides the two following options. For example, when using the daily resolution , only the weekly value will plot, or when using the one hour (60m) resolution, only the 4 hour (240m) value will plot.
The "Omit Higher Timeframes?" option will set the indicator to only plot starting from the 1/2/3/4/5/6/7th closest larger timeframe. For example, when using the daily resolution and this option set to 0, all values from the weekly resolution and up will plot, but if set to 1, all values from the monthly resolution and up will plot instead.
The "Plot Yearly/Quarterly/Monthly/Weekly/Daily/4 Hour/1 Hour/15 Minute/5 Minute?" options allow enabling/disabling a specific timeframe. All are enabled by default. For example, if you do not want the yearly value of the indicator to ever plot, you can disable the "Plot Yearly?" option.
Improved Multi-Timeframe (MTF) 21 TRC - plots same as live dataThis multi-timeframe 21-period true range channel uses an improved calculation to accurately calculate the indicator's value with every new bar on the time frame your chart is set to. Previously the indicator only recalculated with every new update on the timeframe used in its security function. This means that this improved script plots the real, current value of your indicator across your chosen timeframes on your chart's resolution and no longer only plots only the indicator's monthly/weekly/daily/4 hour/ect closing value on the your chart.
This indicator uses a similar calculation the "Keltner Channel" indicator.
Input values are fixed to their default (close,21,3) configuration to make this indicator's improved calculation possible.
When using "Plot Higher Timeframe?" the script will set the indicator to only plot its value in closest larger timeframe. This option overrides the two following options. For example, when using the daily resolution , only the weekly value will plot, or when using the one hour (60m) resolution, only the 4 hour (240m) value will plot.
The "Omit Higher Timeframes?" option will set the indicator to only plot starting from the 1/2/3/4/5/6/7th closest larger timeframe. For example, when using the daily resolution and this option set to 0, all values from the weekly resolution and up will plot, but if set to 1, all values from the monthly resolution and up will plot instead.
The "Plot Yearly/Quarterly/Monthly/Weekly/Daily/4 Hour/1 Hour/15 Minute/5 Minute?" options allow enabling/disabling a specific timeframe. All are enabled by default. For example, if you do not want the yearly value of the indicator to ever plot, you can disable the "Plot Yearly?" option.
Improved Multi-Timeframe (MTF) 21 ATR - plots same as live dataThis multi-timeframe 21-period average true range uses an improved calculation to accurately calculate the indicator's value with every new bar on the time frame your chart is set to. Previously the indicator only recalculated with every new update on the timeframe used in its security function. This means that this improved script plots the real, current value of your indicator across your chosen timeframes on your chart's resolution and no longer only plots only the indicator's monthly/weekly/daily/4 hour/ect closing value on the your chart.
Input values are fixed to their default (close,21) configuration to make this indicator's improved calculation possible.
When using "Plot Higher Timeframe?" the script will set the indicator to only plot its value in closest larger timeframe. This option overrides the two following options. For example, when using the daily resolution , only the weekly value will plot, or when using the one hour (60m) resolution, only the 4 hour (240m) value will plot.
The "Omit Higher Timeframes?" option will set the indicator to only plot starting from the 1/2/3/4/5/6/7th closest larger timeframe. For example, when using the daily resolution and this option set to 0, all values from the weekly resolution and up will plot, but if set to 1, all values from the monthly resolution and up will plot instead.
The "Plot Yearly/Quarterly/Monthly/Weekly/Daily/4 Hour/1 Hour/15 Minute/5 Minute?" options allow enabling/disabling a specific timeframe. All are enabled by default. For example, if you do not want the yearly value of the indicator to ever plot, you can disable the "Plot Yearly?" option.
Improved Multi-Timeframe (MTF) TRL - plots same as live dataThese multi-timeframe True Range Levels use an improved calculation to accurately calculate the indicator's value with every new bar on the time frame your chart is set to. Previously the indicator only recalculated with every new update on the timeframe used in its security function. This means that this improved script plots the real, current value of your indicator across your chosen timeframes on your chart's resolution and no longer only plots only the indicator's monthly/weekly/daily/4 hour/ect closing value on the your chart.
This indicator was previously published as "True Range Bands" and uses a similar calculation the "SuperTrend" and "Volatility Stop" indicators.
Input values are fixed to their default (close,14,3) configuration to make this indicator's improved calculation possible.
When using "Plot Higher Timeframe?" the script will set the indicator to only plot its value in closest larger timeframe. This option overrides the two following options. For example, when using the daily resolution , only the weekly value will plot, or when using the one hour (60m) resolution, only the 4 hour (240m) value will plot.
The "Omit Higher Timeframes?" option will set the indicator to only plot starting from the 1/2/3/4/5/6/7th closest larger timeframe. For example, when using the daily resolution and this option set to 0, all values from the weekly resolution and up will plot, but if set to 1, all values from the monthly resolution and up will plot instead.
The "Plot Yearly/Quarterly/Monthly/Weekly/Daily/4 Hour/1 Hour/15 Minute/5 Minute?" options allow enabling/disabling a specific timeframe. All are enabled by default. For example, if you do not want the yearly value of the indicator to ever plot, you can disable the "Plot Yearly?" option.