MESA Adaptive Moving Average - Improved MTFThis indicator is a huge upgrade to my original MTF MESA
Plots are now extremely smooth and accurate on all timeframes **
Missing data points are automatically filled with the "best fit"
This is a Trend indicator and should be used to trade "top-down" aka:
Start with the Daily chart to confirm a trend
Move to 4H
2H
Etc...
Use your favorite entry method or simply watch for wicks forming when the price gets near the MESA adaptive moving average.
This is one of the few indicators that I've been using for years with success. Being able to plot both the current & higher timeframe MESA
can sometimes feel like cheating.
Due to the nature of the recursive calculation, you may notice slight differences between this version of MESA and others that either
approximate higher timeframes with fewer samples or make use of the latest "Resolution" argument in Pinescript V4. Both of which are
fine, until you start looking at M5 charts while plotting the Daily MESA.
As always, happy trading!
** Currently supports
M 1,3,5,15,30,45
H 1,2,3,4
Day 1
Week 1
Month 1
Support
Resistances and supports based on simplified Volume ProfileThis study tries to highlight support and resistances
as they are defined by
TradingLatino TradingView user
His definition is based on volume peaks
on the official TradingView Volume Profile
indicator that seem rather big on size.
As a bonus it also serves as a rather simple volume profile indicator.
As you can see it only show last blocks volume profile.
It's aimed at BTCUSDT pair and 4h timeframe.
HOW IT WORKS
HOW IT WORKS - Recent Profile Block
It gathers volume from the last 100 Bars
in order to draw the recent profile block
Volume that intersects with current level range
being studied is added to its value.
Additionally the current level price is modified
so that it matches the level price where most
of the volume has concentrated
So you get a pretty accurate way of the volume
while at the same time the level are not stuck
to arbitrary level prices.
HOW IT WORKS - Resistances and Supports
It calculates the level which its price it's
nearer (from below) to the current price level
Resistance is found steping up (from current prive level)
level by level
till you find a level which its value
is higher than the previous level value.
Support is found steping down (from current prive level)
level by level
till you find a level which its value
is higher than the previous level value.
That way you ignore rather small
resistances and support values.
Finally the resistances and supports are drawn next to the recent profile block
so that you can look at them with ease.
If you hover over the label you can double check if you are looking at
current price, resistance or support levels.
SETTINGS
Bars in recent profile block : How many previous period volumes are used to calculate the recent profile block
Row width multiplier : Adjust how big the recent profile block seems to be
Resistances prices number of decimal digits : How many digits is shown at the resistance and support level prices.
WARNING
Please be aware that depending on your security and timeframe you might need to modify the
'Bars in recent profile block' setting so that the study does not timeout.
USAGE
If your strategy calculates take profit
limits on higher resistances based
on volume you could use this indicator
resistance detector
FEEDBACK 1
This is my first volume indicator.
I suppose that each trader
has his own approach on defining
resistances and supports.
I'm interested on knowing if the default way
this resistances and supports are calculated
matches what other traders would have
highlighted manually on the chart.
FEEDBACK 2
I have only used this identifier in BTCUSDT 4h timeframe.
I'm interested to know what needs to be tweaked
in other securities and timeframes.
PINE STUDY TRICK
This study let's you choose the number of decimals the label will use.
CREDITS
I have reused and adapted some code from
'Poor man's volume profile' study
which it's from TradingView IldarAkhmetgaleev user.
I also wanted to thank him for helping me understanding his study.
[PX] External LevelHello everyone,
today I'd like to share a script, which enables you to use external logic to plot levels on your chart.
How does it work?
The concept is based on two scripts. One script, which uses an external input as a trigger to print a new level and one script that calculates an output, which will be fetched.
Sounds complicated? It really is not! Let's take a closer look.
// This source code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
// © paaax
//@version=4
study("RSI OS/OB")
l = input(14, "RSI Length")
ob = input(70, "Overbought")
os = input(30, "Oversold")
r = rsi(close, l)
hline(ob)
hline(os)
plot(r, "RSI", color=color.orange)
// The following plot produces an output, which will be fetched the "External Level"-script.
// It evaluates to one of the following three values: 1.0, -1.0 or 0.0
plot(crossover(r, ob) ? 1.0 : crossunder(r, os) ? -1.0 : 0.0, "Output", transp=100)
The example script above uses an RSI and two threshold levels (70 and 30). The logic here is, that whenever the RSI is crossing down the lower threshold or crossing up the upper threshold we'd consider the current movement to be either oversold or overbought. Therefore, it's a point of interest, which we could visualize with a level.
The script creates an output when the crossover or crossunder of a threshold happens. A crossover would result in a value of 1.0, a crossunder in a value of -1.0. In all other cases the value would be 0.0.
The output of the RSI script would then be used as an input of the External Level script, which has a "Source"-parameter in its input-section. If the fetched input shows 1.0, then the script prints a resistance level. If it shows -1.0 a support level will be printed. And that's basically it. A very simple approach to print levels on your chart with an infinite number of use cases.
For example, you could use fetch outputs from a MACD script, MA script, outputs based on volume or price movement. Just remember the output has to evaluate to either 1.0 or -1.0 and has to be selected in the input-section.
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 :)
True Strong Classical Support/Resistance LevelsThis script is based on the approach of filtering signals by checking higher timeframes.
So basically setting higher numbers in "Strength Of Levels" option, will make the indicator check for support and/or resistance levels in timeframes higher than the current.
Unfortunately, I was forced to still use inefficient built-in functions pivothigh() and pivotlow(). I hope they fix them up soon!
I'm looking for any opinion about the idea and if you like any of my scripts, anything you send means a lot to me.
This script is published for the third time because of some moderators absurd behavior.
But thank heavens, the code is now more clean and of course the option "Strength Of Levels" accepts float numbers.
(MTF) Bollinger Bands + RE RSIs + Hidden Supports & ResistancesI merged some of my previous written indicators, because a combination of multi-timeframe Bollinger Bands, RE RSI and Resistance/Support levels could help a lot.
Don't forget to add my other useful indicator (Classical SnR) to the chart to maximize your profit!
[LunaOwl] Support Resistance Strategy V4作品: 支撐壓力策略
A simple Support Resistance Breakthrough Strategy, the only difference is that it is PineScript @version=4. interested parties can use it as a reference.
Its logic is simple, wish your all the best.
一個簡單的支撐阻力突破策略,唯一的差異,在於它是PineScript第四版。有興趣的可以拿來當作參考,簡易的指標。祝你們順心。
Support level refers to the support price that the exchange rate may encounter when it falls, so as to stop falling and stabilize the price.
The corresponding concept is the resistance level, that is, the pressure that the exchange rate may encounter when it rises, thus reversing to a falling price.
支撐位是指匯價在下跌時可能遇到的支撐價格,從而止跌回穩的價格,對應的概念是阻力位,也即匯價上漲時可能遇到的壓力,從而反轉為下跌的價格。
Hidden Supports & Resistances + Round LevelsIf you search the internet, you won't find much about these types of resistance and support levels. Hidden levels are SnR levels calculated based on some psychological patterns and sometimes it's unbelievable that the chart responds to these levels.
So use the indicator and check the idea.
Classical Supports & ResistancesThis indicator shows classical resistance and support levels which retraced the chart lately. Notice that the condensed lines laying close together are showing an area of support and/or resistance.
But after all, it was a tedious work creating this indicator because like I've already said, pine script is a very odd and weak language which does not have many ordinary features like useful loops, simple line drawing and even reasonable variable casting!
So I was forced to use its built-in pivothigh() and pivotlow() functions without any handy documentation. I assume that even these functions don't work as expected, and because of that, I embedded "Sensitivity" and "Lookback Time" options in the indicator as a workaround.
Feel free to use it and send me your comments/solutions.
Support Resistance MTFHello Traders,
This is Support Resistance script that uses Multi Time Frame. While getting Close/Open/High/Low values of Higher Time Frames the script does NOT use Security function , instead it calculates them.
while choosing Higher Time Frame, you can use "Auto" option so it uses predefined Higher Time Frames, or you can choose the Higher Time Frame Manually from the list. options for HTF => 15mins, 30mins, 60mins, 120mins, 180mins, 240mins, 720mins, Day, Week, 2 Weeks, Months, 3 Months, 6 Months, 12 Months.
You have option to use High/Low or Close/Open values while calculating support resistance levels.
"Period for Highest/Lowest Bars" option is used as loopback period to check if it's Highest/lowest bars. smaller numbers = more sensitive result.
You have option for transparency and coloring of support/resistance levels/zone => Red, Lime, Blue, White, Black, Olive, Gray
An example for 15 min chart, 4hours selected as HTF
You can set transparency and colors as you wish:
You can choose Close/Open prices while calculating S/R levels instead of High/Low
Enjoy!
[PX] Session LevelHello guys,
this scripts prints the high and low as well as the moving average of a user-defined session.
How does it work?
Basically, as soon as we are in the session range, the indicator will constantly keep track of the high and the low of this range. It also prints the moving average, which can either be a floating or a static line, that represents the latest MA value.
The indicator comes with multiple options to style the printed lines.
If you find this indicator useful, please leave a "like" and hit that "follow" button :)
Have fun and happy trading :)))
P.S: Check my signature if you want to get in touch with me.
Session S/RThis indicator marks the resistances and supports of the post, pre and market sessions of the previous day projecting up to the market of the day, also it marks the hours of these three markets allowing to identify the beginning and end of the sessions in London, Hong Kong, and America.
Candlestick Reversal SystemHello Traders,
In the book "Secrets of a Pivot Boss: Revealing Proven Methods for Profiting in the Market" by Franklin Ochoa, Four different types of reversal systems were introduced and candlestick patterns are used to find reversals. I will not write a lot about the book, you should get/read it for yourself. There are many great ideas in the book, Candlesetick Reversal System, Following Trend, Time Price Opportunity, Advanced Camarilla Concepts and much more.
Reversal systems mentioned in the book are :
- Wick Reversal System
- Exteme Reversal System
- Outside Reversal System
- Doji Reversal System
I tried to add these four reversal systems to the script. If you need detailed info you better read the book ;)
Enjoy!
Support and Resistance Multi Time frameSimple indicator showing the support and resistance on Daily, Weekly and Monthly time frames no matter what time frame you're currently on by highlighting the highest and lowest points on each over the last 34 bars.
Daily support and resistance are coloured green.
support and resistance are coloured yellow.
Monthly support and resistance are coloured red.
For best results check where multiple support and resistance areas line up and combine with another indicator for example oscillators to gauge if the support or resistance will reverse the market.
NSDT Auto Support / Resistance LevelsSimple script that automatically plots support and resistance lines based on the pivot points of the number of candles you choose to look back upon.
All options are editable.
NSDT Daily Gap RangeSimple script that plots the range between the previous day close and the current day open. This makes it easier to reference the gap up or gap down zone throughout the day.
NSDT Scalping ChannelThis script uses the highs and lows of the candles (instead of the close) to make a "channel" to reference while scalping.
Use the green lower line as a guide to go long and the red upper line as a guide to go short. You may use the lines as potential entry points and direction but you may want to consider exiting before the opposite colored line prints, as that may be too late. As always, entries and exits are at the discretion of each trader.
You will need to adjust the "Line Spacing" settings as you change instruments, chart timeframes, and/or volatility increases/decreases.
Auto FibonacciA series of Fibonacci sequences using a variety of triggers to base highs and lows off.
High and low look back length can be altered, fibs and fib extensions can be shown or hidden and the background can be filled or transparent.
Pivot Point SupertrendHello All,
There are many types of SuperTrend around. Recently I thought about a Supertrend based on Pivot Points then I wrote "Pivot Point SuperTrend" script. It looks it has better performance on keeping you in the trend more.
The idea is behind this script is finding pivot point, calculating average of them and like in supertrend creating higher/lower bands by ATR. As you can see in the algorithm the script gives weigth to past pivot points, this is done for smoothing it a bit.
As I wrote above it may keep you in the trend more, lets see an example:
As an option the script can show main center line and I realized that when you are in a position, this line can be used as early exit points. (maybe half of the position size)
While using Pivot Points, I added support resistance lines by using Pivot Point, as an option the script can show S/R lines:
And also it can show Pivot Points:
When you changed Pivot Point Period you can see its reaction, in following example PP period is 4 (default value is 2). Smaller PP periods more sensitive trendlines.
Alerts added for Buy/Sell entries and Trend Reversals. (when you set alerts use the option " Once Per Bar Close ")
ENJOY!
Phicube EMASAR ( EMA Support and Resistance )Indicator based on the Concept created by Bo Williams. But unlike the original that uses MIMAs, EMAs are used here.
Exponential moving averages will be shown according to fractal alignment, in order to show the important support and resistance levels ( SAR ).
When the fractals are aligned to become support,
we will have the EMA in the graph with a bright color.
When the fractals are aligned to become resistance, we will have EMA in the graph with a matte color.
Available exponential moving averages: 17,34,72,144,305,610,1292 and 2584
____________________________________________________//_____________________________________________________________________
Indicador baseado no Conceito criado pelo Bo Williams. Mas diferente do original que utiliza MIMAs, aqui é utilizado EMAs.
As médias móveis exponenciais serão mostradas de acordo com o alinhamento dos fractais, com objetivo de mostrar os níveis importantes
de suporte e resistência( SAR ).
Quando estiver com os fractais alinhados virando suporte, teremos no gráfico a EMA com uma cor em tom brilhante.
Quando estiver com os fractais alinhados virando resistência, teremos no gráfico a EMA com uma cor em tom fosco.
Médias móveis exponenciais disponíveis: 17,34,72,144,305,610,1292 e 2584
SMI Stochastic Momentum Index 2x set per Baiynd -Tom1traderStochastic Momemtum Index - a true strength indix tsi with a moving average signal.
This uses the built in with modifications per Anne-Marie Baiynds recommendations - she uses a SIMPLE MOVING AVERAGE
for the signal (signal length at 4x the short length seems to work best to reflect actual price action support or resistance)
Note: Default settings in this code have been updated to her most recent recommendations that I have seen.
video is entitled "The Most Reliable Technical Indicator I Have Ever Used"
Note: I have not discussed this with Ms . Baiynd this is my interpretation of the vids I have seen.
Anne-Marie Baiynd also in talks / videos refers to the use of short / long of 4/20 and 6/40 and have combined both of them here
This overlays both of them with their respective SMAs- a 4/20 lengths and a 6/40 lengths in darker colors and smallest linewidth.
this gives a perspective on slightly higher time frame action.
USAGE: Generally above and below the black dashed zero line is long or short
KEYS: -Plot position relative to zero black, red overbought, green oversold and the gray lines at .25 -.25
Indicator action often more significant out side of the more "neutral" +.25/-.25 area
and near or above/below the red/green dashed lines.
-Steepness of slopes
Slopes of smi plots relate directly to price action where steeper is more momentum.
- -SMI blue relation to its simple moving average orange and the SMI longer dark blue with moving average purple.
MAJOR FEATURE - The average acts as support or resistance to the SMI and the price unless breaking out.
Price is often pausing or reversing iin finding primary/secondary support or resistance as well at those times.
You Can See and anticipate Where Support or Resistance may be Encountered. (much unlike most indicators)
My standard caveat -use at your own risk. Like anyone else I do not know what the next bar/candle is going to do
and I place all of my trades with a management plan in place for the worst case scenario.
That said enjoy your charting and trading.
This was coded starting with the built-in indicator "SMI Ergontic Oscilator / Indicator". You do this by within the Pine Editor select "New" tab and
choose the indicator that you want the code for. This populates the editor with the code for the built in indicator and you can modify it to suit your
purposes and save it / publish it and etc. Thanks for following this and Keep Smiling!
Trend Lines for RSI, CCI, Momentum, OBVHello Traders!
After publishing Trend Lines for RSI yesterday, I realized that Trend Lines for more indicators needed by the traders. so I decided to make it for four different indicators: RSI, CCI, OBV, Momentum
In the indicator options you can choose the indicator from pull-down menu.
How it works?
- On each bar it finds last 10 higher and lower Pivot Points (PP) for the indicator.
- from first bar to 10. Pivot Point it searchs if a trend line is possible
- for each PP it starts searching from the last PP .
- it checks if drawing a trend line possible or not and also it's broken or not
- if it's broken then optionally it shows broken trend lines as dotted (or you can option not to see broken lines)
- if it finds a continues trend line then it stops searhing more and draw trend line, this is done by checking angles (I did this to make the script faster, otherwise you may get error because of it needs time more than .2sec)
- the script makes this process for each PP
- then shows the trend lines
P.S. it may need 3-10 seconds when you added the script to the chart at first (because of calculations)
Trend lines for CCI:
Trend Lines for OBV
Trend Lines for Momentum:
You may want to watch how Trend Lines script works (that was made for RSI)
s3.tradingview.com
If you still didn't see Trend Lines v2 then visit:
All Comments are welcome..
Enjoy!