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!
Cup FinderHello All,
This script finds the Cups and you can use it while analysing the symbols. it creates circle and channel for the potential Cups and checks the number of bars included by the channel, if included bars is equal or greater than the value you set then it shows the cup.
The Options:
"Number for Bars to search" : Maximum length of a Cup
"Channel Width of the Cup" : Tate by the channel width of highest/lowest levels in last 300 bars, by default it's 5%
"Check for Breakout" : if there is Cup then it checks Close or High/Low is used a source for breaokuts, usuful while cheking historical bars
"Contained Bar Rate %" : after channel is created the script checks number of bars included by the channel of the Cup, you can set rate of included bars by this option
"S how Channels of Cups ": if you enable this option then you can see the channels around the Cups and set it as you wish
and there are some other options for labeling/removing old Cups and for coloring
Here you can see how channel looks like:
Cup with different colors:
P.S. This is an experimental work and sorry for no explanation in the script.
in the future if I have time I will try to write a script for Cup&Handle
This script is also an example to calculate and draw circles :)
Enjoy!
Wide BarsSimple scripts show the wide range bars within in the look back period, visualizing the bigger momentum.
Added four exponential moving averages which define the trend of the instrument.
Wide range candles in the direction of overall trend on higher timeframes; give confluence of higher participation in the same direction.
Note : Decent volume above the average volume with wide range candle adds more value.
Ichimoku breakoutIf you use Ichimoku Cloud strategies, this indicator is very useful for you!
This code indicates the candles that break the ichimoku cloud in both directions!
conversion line, base line and lagging span are disable by default, you can enable it from settings window.
green triangles under the candles with green backgrounds show break out the red clouds.
red triangles at the top of the candles with red backgrounds show break out the red clouds.
you can set alerts to be notified when an Ichimoku Cloud is broken.
Magnum PivotsThis script will automatically plot levels for ES and the NQ, which this script is ONLY meant for. It will take the overnight highs and lows, from 6pm to 6am EST, and subtract/add 110 for NQ and 33 for ES, add a middle line that is the average of those two lines, and then deviations inbetween, built in support for up to 7, of deviation lines (13.75 point difference for each value on the NQ, and 4 for the ES). This lines become support/resistance depending on price action.
Swing Failure Pattern Inquisitor SFP Inquisitor
v0.2a
coded by Bogdan Vaida
Code for Swing High, Swing Low and Swing Failure Pattern.
Note that we're still in the alpha version, bugs may appear.
Note that the number you set in your Swing History variable
will also be the minimum delay you see until the apples appear.
This is because we're checking the forward "history" too.
The SFP will only check for these conditions:
- high above Swing History high and close below it
- low below Swing History high and close above it
In some cases you may see an apple before the SFP that "doesn't fit"
with the SFP conditions. That's because that apple was drawn later and
the SFP actually appeared because of the previous apple .
20 candles later.
Legend:
🍏 - swing high
🍎 - swing low
🧺 - candle where the last swing was driven from
🍌 - swing failure pattern
🍎🍌 - hungry scenario: swing low but also a SFP compared to the last swing
Support Resistance ZonesSupport and resistance zones are used across all markets by traders and bots alike to identify liquidity and possible bounce areas. This script automates the drawing of those zones based on a number of variables, such as lookback period, channel width, number of touch confirmations and more.
This script also implements a some useful alerts so you can rest easy until the market hits a point of interest:
Enter SR Zone
Exit SR Zone
Break Upper Resistance
Break Lower Resistance
Breakout FinderHelo All,
I got many requests for a Breakout script and here it's. This script searches the breakouts/breakdowns and draw square if there is one.
The options:
"Period" is used to find Pivot Points
"Max Breakout Length" is the maximum length to search breakouts
"Threshold Rate %" is channel width of the breakout area. calculated using highest/lowest of last 300 bars.
"Minimum Number of Tests" is the minimum number of tests that the Price tried to break the S/R level
and some options for coloring and linestyle
Lets see some examples:
in this example "Minimum Number of Tests" is 2 so the Price must have tested to break resistance area 2 times and then it breaks it as seen in the screenshot:
in following example Threshold rate is %10, so the channel width is very big:
as you can see in followinf screenshot you can choose different colors and line styles:
Alerts added ;)
Enjoy!
Gridimus MaximusGridimus Maximus draws N grid lines stepping by price or percent in chosen direction from set price, or draws N grid lines stepping by pivots.
The queue function method used is adapted from an example provided on the PineCoders website, much gratitude to LucF for this gem!
To prevent grid lines out of range from causing chart to rescale right click on chart's price column and enable Scale Price Chart Only.
Pictured example above is using Type Of Increment: Steps By Pivot, Number Of Steps: 5.
Pictured example below is using Type Of Increment: Steps By Price, Number Of Steps: 6, Starts From Price: $10k, Steps By Percent Or Price: $10k.
Pictured example below is using Type Of Increment: Steps By Percent, Number Of Steps: 7, Starts From Price: $10k, Steps By Percent Or Price: 33%.
NOTICE: This is an example script and not meant to be used as an actual strategy. By using this script or any portion thereof, you acknowledge that you have read and understood that this is for research purposes only and I am not responsible for any financial losses you may incur by using this script!