Volume Profile / Fixed RangeHello All,
This script calculates and shows Volume Profile for the fixed range . Recently we have box.new() feature in Pine Language and it's used in this script as an example. Thanks to Pine Team and Tradingview!..
Sell/Buy volumes are calculated approximately!.
Options:
"Number of Bars" : Number of the bars that volume profile will be calculated/shown
"Row Size" : Number of the Rows
"Value Area Volume % " : the percent for Value Area
and there are other options for coloring and POC line style
Enjoy!
Hỗ trợ và kháng cự
Ultimate Moving Average support&resistance [CC+RedK+LM]Hey traders,
I would like to introduce you my new script that is based on amazing script Ultimate Moving Average from @cheatcountry and @RedKTrader so shout out to them
The idea is the same like in my other S/R script to look for areas of potencial reversals
You can either use it as moving average as cheatcountry intended or you can add S/R lines. If you want to look at more detailed, please visit cheatcountry's script where explains idea behind his moving average.
Thank you and I hope you will enjoy it.
Margin Buying Pressure Zones Longs & ShortsShows the Margin Pressure Zones for longs and shorts Longs & Shorts based on 2 Base prices to be configured by you.
For definition of "Margin Pressure Zones" see: www.investopedia.com
Multi Pivot Points - All in One IndicatorThis multi pivot indicator allows you to plot and overlay different types of pivot points:
-Fibonacci
-Floor Traders
-Camarilla
In addition to this, you can plot pivots from two different timeframes of your choice, for example the daily & weekly pivots, monthly & yearly, etc.
-You can select the linestyle, width and color of each pivot type for easy recognition of levels.
-You can choose to show only the current set of pivots or you can show the historical levels too.
This indicator allows traders to search for high probability targets or support and resistance zones via the confluence of both different pivot types and timeframes. These levels can work for either day traders or longer terms traders.
In the case of Fibonacci levels these can be chosen in the menu.
Enjoy!!
candle countsmall script for count bar ...it count bar from open of day till end of day ...
in lower time its deleting candle count because of tradingview label limit 50
. bar counting it help me to teach trader bar by bar ...some of bar in all world chart are very important ..in al brook sir book and his website he marked many imortant bar no
for reference al brook sir said about bar counting method
the highest probability trade was the one that I said. When bar 62 was happening, I said, “Traders are buying,” you know, “I’m buying, it’s going up,” right? So 62 is the highest probability trade, but that does not mean it’s the easiest trade. It just means the probability that we’re going to get some kind of a measured move out of 62 is very high, probably 70 percent.
thanks to stack overflow that code is ans there
in this script many people help me thanks to @HappyBaby86 and @Kjaerbye#7503
sorry my english is not good.my native language is Hindi ..
Decision point boxes [LM]Hello traders,
I would like to introduce you decision point boxes study. The idea is the same as the pivots looking left and right some count of candles that has to be either up or down candle the only difference from pivots is that I'm only looking for consecutive up or down candle and in between them one candle that is oposite stance than surounding also candle has to have by default 50% or greater of wicks than body which mean market has done some decission at this candle.
Example of up candles and decision down candle:
Example of down candles a decision up candle:
Hope you will enjoy it
Support and Resistance by CainKellyeCheck out my automatic support and resistance indicator that uses the EMA of price change * relative volume as the bases of pivot search.
It also tells the strength of the support and resistance lines calculated using a 4 times quicker EMA and using its distance from the slower one.
The strongest plotted line has the maximum opacity and the weakest has the minimum opacity inside the given range.
This calculation results in an organic detection of the support and resistance prices.
You can set the distance range in percentage you want to have lines calculated around the current price.
You can set the lines gravity distance inside which they are snapped together: the stronger line pulls the weaker to it by using strength weighted average for the new price value.
You can increase the minimum opacity value in case you only see few lines (but the maximum is 15)
You can change the used price for the lines to Close or High/Low but recommended is to use the average of those two (default)
The distances multiplier helps to get a birds eye view easily when using 4H (or higher) chart and a separate one to use on Daily / Weekly / Monthly for even broader view.
Lines and labels are drawn near the candles so you are still able to zoom in.
Labels are not drawn when their line is barely visible (transparency >= 80)
This indicator has been refined on the 15 minute and 1 hour charts of BTC and other cryptos but it works well in smaller volatility markets as well if the distances are adjusted accordingly.
Support and ResistanceThis indicator shows three types of support and resistance lines: Horizontal, Parallel (using linear regression) and Fibonacci Retracement. Lines can be adjusted or turned on and off in settings. A great tool for setting up entries, exits and locating pivot points.
High Low POCGet centre point of highest high and lowest low from defined number of bar .
if POC above sma and price above POC then enter long .
if POC below sma and price below POC then enter short .
Zig Zag Channels [LuxAlgo]The Zig Zag indicator is a useful indicator when it comes to visualizing past underlying trends in the price and can make the process of using drawing tools easier. The indicator consists of a series of lines connecting points where the price deviates more than a specific percentage from a maximum/minimum point ultimately connecting local peaks and troughs.
This indicator by its very nature backpaints by default, meaning that the displayed components are offset in the past.
🔶 USAGE
The Zig Zag indicator is commonly used to returns points of references for the usage of specific drawing tools, such as Fibonacci retracements, fans, squares...etc.
The proposed indicator estimates peaks and troughs by using rolling maximums/minimums with a window size determining their significance. This window size approach allows us to have an indicator that works with a certain regularity no matter the scale of the price, something the percentage-based approach struggles with. Additionally, one upper and lower extremity are displayed, highlighting the price point that deviates the most from the Zig Zag lines.
A common usage also includes the easy determination of Elliot wave patterns in the price.
The Zig Zag indicator above highlights a downtrending motive wave.
🔹 Extremities
The novel approach taken by this Zig Zag indicator is the addition of two extremities derived from the distance between the price and the Zig Zag line, thus returning channels. It is uncommon seeing extremities in Zig Zag indicators since the line connecting peaks and troughs has rarely any other utility than seeing trend variations with more clarity and is not meant to provide an accurate estimate of underlying local trends in the price.
This channel can be useful to study the potential relationship between underlying trends and the Zig Zag line. A low width between the Zig Zag and the upper extremity indicates price variations mostly located below the Zig Zag while equal width indicates more linear trends.
When the indicator is extended to the last line, the extremities provide potential support and resistances, thus making this indicator able to forecast price variations.
🔶 SETTINGS
Length: Determines the significance of the detected peaks and troughs.
Extend To Last Bar: Extend the most recent line to the most recent closing price value.
Show Extremities: Displays the extremities.
Show Labels: Display labels highlighting the high/low prices located at peaks and troughs.
🔹 Style
Upper Extremity Color: Color of the upper extremity displayed by the indicator.
Zig Zag Color: Color of the ZigZag lines.
Lower Extremity Color: Color of the lower extremity displayed by the indicator.
Monthly, Weekly, Daily Lines by NB(ENG)
It is helpful to check the daily changing chart's price individually to find resistance and support lines,
but when there are too many lines, you can quickly check only the high, low, and closing prices of the
previous day, previous week, and previous month data and use it as a reference for trading.
So, I made an indicator displays only the previous day, week, and month's high, low and close prices.
There's nothing very complicated, and I publishing this after confirming with the correct value is derived.
Hope this helps with your trade. :)
(KOR)
매일 변화하는 차트의 금액을 일일이 확인하는 것이 저항선과 지지선을 찾는데 도움이 되지만
너무 많은 선들로 복잡할 때에는 빠르게 전날, 전주, 전달의 고가, 저가, 종가만을 확인하여
거래에 참고하는 방법을 쓰기도 합니다.
이에 바로 전날, 전주, 전달의 고가, 저가, 종가만 골라 표시하는 인디케이터를 만들어 보았습니다.
크게 복잡할 것은 없고, 정확한 값이 도출되는지 확인 후 배포합니다.
거래에 도움이 되길 바랍니다. :)
Three Bar ReversalA three bar (3 bar) reversal strategy.
A down candles tick
The next candlestick has its low below the first candlestick and will be the lowest low of the pattern
The third candle closes above the middle candlestick
--> reverse logic for short
Ichimoku all signalsIchimoku Cloud All Signals!
This indicator shows all Ichimoku Cloud signals for (entering/exiting/confirming/or even staying) in a position.
you can choose a signal related to your strategy and use it.
you can choose which signals to be shown on the chart by changing the settings.
here are some examples of signals that you can get from this indicator:
Crossover/under conversion line & base line
Crossover/under lead line1 & lead line2
Crossover/under conversion line & lead line1
Crossover/under base line & lead line1
Crossover/under conversion line & lead line2
Crossover/under base line & lead line2
Crossover/under close & base line
Cloud Breakouts in both directions!
and 74 signals more !!!!
Center Of Gravity OscillatorThe COG Oscillator (center of gravity) is an indicator based on statistics and the Fibonacci golden ratio. It uses ALMA as a trigger and LSMA as "zero line". The trigger is set tight by default but can be tweaked by adjusting the window size and sigma in settings. This is a great indicator for setting up trades and spotting reversals. There are 2 main strategies that come with this indicator:
Strategy 1: Long positions are entered when current low point is higher than previous low. Short positions are entered as current high is lower than previous high. (Shown in image above)
Strategy 2 : If market is bullish long trades are entered as COG line crosses over red LSMA line. Traders have the option of scalping the first crossover or even scaling out of trade to close on second exit. This works the opposite for shorts when market is bearish.
Above shows different configurations of the indicator. Top shows length of 50, Middle has length of 21 and bottom is default 9.
Trend Key PointsEach trend has its high and low key points that are important in the next prices. Sometimes it's hard to find out the keys with a naked eye, so I tried to code a simple indicator to marking these points also, as a bonus, to draw support and resistance lines from previous critical pivot points.
Let me explain the details with a downtrend. If we consider the previous trend, each downtrend starts with a HH and end with a LL. There are always many tries between that HH and LL to turn the trend up. This indicator counts that inner attempts. The higher the number of attempts, the more important move has been started from the beginning (HH). These numbers take their final form when the trend ends and are included in the label at the beginning of each trend.
Key points with 3 and more inner tries are consider as critical point by default but It's alterable and you can change it as you want. The indicator draws lines from critical points too, so you can use that lines as support and resistance in next candles.
Likewise, there are marks below inner LLs and above inner HHs.
This indicator idea is entirely my own and is a product I've really thought about, AND you have allowed to use and share it anywhere to anyone. I did my best to make it useful, even so I am open to any improvement. If you have an idea or a suggestion, don't forget to leave a comment.
FullPac4Trader (I.Denis)The script combines the three most important indicators on the chart.
1. A set of six moving averages ( EMA and SMA ), which can be turned on and adjusted at your discretion.
2. Indication of support and resistance levels, calculated according to the Bollinger scheme.
3. Pivot Point and the nearest goals using the Floor method with the possibility of selecting a time period.
The script version is v.1 (beta)
The development of this script will continue. Feedback and suggestions are welcome.
Welkin Advanced Volume Study (for VSA)This is a translation of Welkin's Advanced Volume Study Indicator originally written for ThinkOrSwim. This version is simpler than Welkin's and attempts to streamline that basic functionality for beginners to Volume Spread Analysis.
This can be used to replace the built-in volume bar with a more advanced version that is designed to facilitate Volume Spread Analysis. The basic idea is to clearly call out areas of high and low volume that help a trader determine where to "Smart Money" may be attempting to move the market. Volume is an incredible powerful tool for the retail trader; learn how to use it.
Grey bar are Below Average volume .
Blue bars are Average Volume , from a 20sma of volume .
Orange bars are 2-sigma (or 2 standard deviations) above average.
Magenta bars are 3-sigma (3 standard deviations) above average.
The plotted lines represent these levels.
Yellow bars have relatively higher volume compared to the previous bar.
The study can also apply these same colors to the price candles themselves, as well as showing buying and selling pressure of the volume bars.
Welkin Advanced Volume Overlay (for VSA)This is a PineScript translation of Welkin's Advanced Volume Indicator Overlay, originally written for ThinkOrSwim. This tool is designed to facilitate Volume Spread Analysis (VSA) by highlighting areas of above average volume alongside price movement.
This indicator does two things:
1. Plots lines that extend from candles of above average, high, and very high volume.
2. Colors in candles with colors indicating volume levels (when "Paint Candles With Volume Colors" is enabled).
Blue lines mark candles with Average volume, based on a 20 SMA.
Orange lines mark 2-sigma (2 times standard deviations higher) volume.
Magenta lines mark 3-sigma (3 times standard deviations higher) volume.
When enabled, gray colored candles indicate below average volume.
Yellow candles indicate volume that is relatively higher than the previous candle, default is 1.25x.
Martyv Auto Fib Retracement with Logarithmic SupportSimple & easy auto-fib levels. Took the out-of-the-box version provided by TradingView and added Logarithmic support and a nicer palette, and made the controls a bit nicer to use (in my opinion lol). Enjoy.
QFL single TF with alertsBacktesting compatible QFL pine script w/alerts
This version of QFL was made based on this one:
From author:
www.tradingview.com
I made the following additions according to my requirements:
- I need to use pine script 4
- I needed to avoid repainting issues so I'm not calling directly security, I'm using the wrapper function.
- There might be still repainting issues when you use "max base age" which uses the function "barssince" so be careful, you can disable it by setting its value to zero.
- Alerts so I can use it for automated trading and bots
- In order to make this signal compatible with the backtest script there's an option provided in the settings. If you enable this option this indicator will plot 1 whenever there's a BUY signal. This will allow the backtest to pick the "QFL Buy" from external indicator so it can perform the backtest.
I recommend some of these settings to start playing with the chart in 15 min / QFL in 1, 2 or 4 hours.
The higher the TF the more conservative.
QFL with 3.5% is pretty popular but you can try higher QFL percentage settings for a more conservative approach.
QFL 13 BasesThis version of QFL is based on a script from ralphhorkup:
Author:
www.tradingview.com
I made a few adjustments:
1) no issues with repainting caused by calling security function.
2) migrated to pine script 4
Everything else is the same.
I'll be adding alerts soon.
SL Hunter Tracker SL Hunter Tracker
coded by Bogdan Vaida
SL Hunter Tracker is a meticulous hunter that tracks SL hunters.
First it plots the fractals on the chart, then it draws lines from them
to the last wick that touched that height. You can add sweep alerts, once
per bar close, so that you get notified when a wick was touched.
Tested on: EURUSD 30'
Stronger Classical Support/Resistance + Round LevelsI wrote some Support/Resistance scripts before this. In this new script, I implemented the logic of the code from the scratch, so it's very different from my previous S/R indicators and I think it's more advanced, accurate and efficient.
As the result it could do the followings for now:
- Draw more strong classical resistance/support levels by checking previous direction changes of the chart as far as Pine technically allows
- Colorize the levels based on the counted points of retracement/pullback (The darker the color is, the stronger the level is.)
- Show the number of reactions to each level
- Change the color of each level based on its main role as support, resistance or both
- Draw close round levels to current price for Forex pairs
I suggest all users of my previous S/R indicators to try this one.
Feel free to send me any issue or opinion!