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!
Example - Custom Defined Dual-State SessionThis script example aims to cover the following:
defining custom timeframe / session windows
gather a price range from the custom period ( high/low values )
create a secondary "holding" period through which to display the data collected from the initial session
simple method to shift times to re-align to preferred timezone
Articles and further reading:
www.investopedia.com - trading session
Reason for Study:
Educational purposes only.
Before considering writing this example I had seen multiple similar questions
asking how to go about creating custom timeframes or sessions, so it seemed
this might be a good topic to attempt to create a relatively generic example.
SMA 200 Ribbon MTF - Support and ResistanceThe SMA 200 is one of the most important and strongest support/resistance lines on any timeframe. This script pulls the SMA 200 line from multiple timeframes so traders can visually see price action bounce between support and resistance . The current timeframes SMA 200 is displayed in white and turns yellow to signify "pressure". Can be used on higher timeframes to find bull action. This indicator can also be used to filter out pumps and dumps as shown in example 3 and 4.
Example of indicator on 5 min timeframe. Candles bounce along SMA200 lines.
Example of indicator on daily timeframe . Lines turn green and price action pumps. Lines turn red and price action dumps.
Example 3: A clean crossover of lines usually signals a bullish pump.
Example 4: Tangled or messy lines tend to result in a dump as price action struggles to cross resistance. A pullback is required to "clean" the lines.
EMA Band can be turned on using "tickbox" in settings menu.
Point and Figure on Candlestick ChartLive plotting of Point and Figure chart on a candlestick chart. With its own construction engine, it plot "X" and "O" column using a line chart. It plots the "X" column with green color and the "O" column with red color. Color of the line chart change from green to red when the column reversed from "X" to "O". It plot "Double Top Buy" and "Double Bottom Sell" level which help to do candlestick pattern analysis along with Point and Figure chart. Works on all timeframes with given parameters.
Options :
Box Size Assignment Method : Select a method to construct Point and Figure chart. There are two options "Fix" and "Percentage". The default value is "Percentage".
Box Size : The size of box. Minimum price movement to plot a new box. Smaller box size shows greater price movement and Bigger box size shows more filtered price movement compare to smaller box size. The default value is "0.25%"
Reversal Size : Minimum boxes required for column reversal. The default value is "3".
Stoploss Size In Box : To get affordable trade give the number of boxes for stop loss.
NYSE extended session backgroundThis script adds background to the chart to highlight different time areas in any chart.
The time areas are in relation to the open/close time of NYSE , both regular and extended session.
The background colors are the following by default:
NO COLOR : NYSE is open
DARK BLUE : NYSE is closed
LIGHT BLUE : NYSE post market session
ORANGE : NYSE pre market session
In addition, previous day close price line is shown during extended and closed sessions (orange line).
This script is useful to visualize any chart in relation to the NYSE timetable.
MTF Trend WidgetThis indicator identifies trends in multiple higher timeframes (D, W, M) and shows them in a widget off to the right of the chart.
It's meant to be used as an alternative filter for "trading with the trend." Typically people use moving averages of varying lengths for this (i.e. if over 200 MA it's an uptrend, etc.), but I wanted to see if it might be more effective to see if the higher timeframes were actually trending or not in a certain direction.
For the purposes of this indicator, an uptrend is defined as higher highs and higher lows. So if currently in a downtrend and the highs are broken, the indicator will flip to an uptrend because now we have a higher high. Vice versa for downtrends.
The user can choose the lookback period for defining these highs/lows (the pivot points). A smaller lookback number will give you more frequent pivot points.
The user can toggle on visibility of all historical pivot points to make sure the frequency and placement of the swing highs/lows is to their liking.
The user can show the support/resistance lines of those most recent swing high/low points on the multiple timeframes as well.
When these lines are breached, that is when the trends change, so you can see if you are close to changing any longer term trends.
My hope is that this gives people a quick glance at the overall trend without having to cycle through different timeframes.
The Strat info boxThis indicator is an all in one indicator for the "The strat" method by Rob Smith. This indicator DOES NOT provide trading advice or trade entry signals!
What is included:
* Candle Type 1 - Inside Candle
* Candle Type 2- Up or Down Candle
* Candle Type 3 - Engulfing Candle
* Strat signal:
- 2-1-2 setup
- 3-2-2 setup
* Full Timeframe Continuity:
- from a 5min timeframe to a yearly timeframe. Green gives you an uptrend, Red a downtrend.
* middle of day and week
- this give you a support and resistance level at the middle of the day or week. This is a good indicator if the stock goes up or down
* extra info like:
- ATR of 14 days
- DTR of current day
- Volume info
- Float info
NASDAQ:FB
Auto Fib Extension and RetracementsThis script is used for plotting the Fibonacci support and resistance levels. Compared to other ones, the changes to this script are that you can choose what color should all the lines be and that it doesn't change the chart's size, meaning that it won't shrink the chart so that all the levels can be seen. If you have any suggestions, I'm open to anything.
Also, if you could give a like/comment or if you could follow me, that would do my day. Thank you all and enjoy!
EMA 730 Ribbon MTF - Support and ReistanceThe EMA 730 line is a great way to show dynamic support and resistance . Price action travels "through" this line on each timeframe. This script pulls the EMA 730 Line from multiple timeframes so a trader can visually see price action bounce between support and resistance lines. Lower bands (white lines) can be turned off using "tickbox" in settings. EMA length can also be adjusted in settings. Some charts may work better with a length of 750.
Example of EMA Bands on lower timeframe.
Example - HTF Step InterpolationAbout this script:
This example aims to highlight an alternative way to view HTF data by providing basic interpolation functionality.
This script does not aim to provide use in itself as an indicator or strategy.
Reason for study:
Educational Purposes Only
Quantumvest - Auto LevelsAuthor: Arthur Wayne
Description: This script automatically plots levels according to Primetime Trading Academy guidelines.
Directions:
On the monthly chart, you should select two significant monthly support/resistance levels and input them into the script. It is recommended to mark these levels with the price label tool.
The script will then automatically plot 2 monthly 'wings' or additional monthly support/resistance levels above and below the original monthly high and low that are the same distance apart. Located half way in between the monthly levels, there will be weekly support/resistance levels. None of the values will go below 0. These levels should then be used on lower time-frames for technical analysis.
There is the option to customize the number of monthly wings, the width of the box surrounds the monthly s/r levels, the x-position of the level labels, as well as the colors for everything.
The biggest drawback is that levels will not save in between charts. This is a limitation of Pine Script and how TradingView does not offer the ability to create custom drawing tools, only indicators and strategies. This is why it is recommended to use the price label tool to keep track in between charts for different assets. Regardless, this script should make the process of drawing levels manually far more efficient than it was before.
Margin selling pressure levelsPredicts local bottoms and support levels. Simply enter a strong resistance level (Settings > Liquidation Resistance Level), and this indicator shows you levels where margin selling pressure is likely to drop off. This is based off of the assumption that leveraged traders will likely want their liquidation point protected above a strong resistance level.
2x - blue
3x - green
4x - yellow
5x - orange
10x - red
Margin buying pressure levelsPredicts local tops and resistance levels. Simply enter a strong support level (Settings > Liquidation Support Level), and this indicator shows you levels where margin buying pressure is likely to drop off. This is based off of the assumption that leveraged traders will likely want their liquidation point protected below a strong support level.
2x - blue
3x - green
4x - yellow
5x - orange
10x - red
Qullamaggie BreakoutThe intent of this strategy is to buy breakouts with a tight stop on smaller timeframes in the direction of the longer term trend. Default longer term trend is the daily, but the user can choose any timeframe to use for the SMAs (which act as filters and trailing stops).
Exit the trade using a trailing stop of a close below either the 10 MA or 20 MA (user choice) on that larger timeframe as the position moves in your favor (i.e. whenever position price rises above the MA). This is one area where this script could use a little work or some human intervention - when the trade is entered right in the vicinity of the moving averages, you get some whipsaw. Not sure how to avoid that at this point though if you want to look at those longer term moving averages as your exit criteria.
Option of using daily ATR as a measure of finding contracting ranges and ensuring a decent risk/reward. (If the difference between the breakout point and your stop level is below a certain % of ATR, it could possibly find those consolidating periods.)
MultiPrice AlertThis is an alert script using Pinescript version 4. This enables one to set 5 alerts (1 StopLoss, 4 Targets), on 3 different symbols, at using a single alert in the UI.
Every visible line will only appear on the symbols that are selected. After setting targets when making an alert, select this indicator as a condition. Change the name to whatever you want, usually the names of the set of tickers.
The Alert message is dyanmic showing which Symbol with each type of alert, at whatever price.
Ability to disable the targets + symbols.
Alerts work by Stop Loss crossing under price and Targets Cross Over. Enabling the "Short" Targets reverses this.
The line that is being displayed is actually the price of the asset being moved over x number of bars. I have not found a way to plot a traditional horizontal line, as the code for it uses a fixed price.
As it being a user input, it is a variable. Any help with this would be appreicated.
Alerts are set to once per bar.
Known bug that sometimes if the prices that you set are inside the current candle stick, then your alert will immeaditally fire, either change the timeframe or let it fire and wait fo
After a target is hit, I reccomend setting the alert to 0 and REMAKING the alert. You MUST REMAKE THE ALERT AFTER ANY CHANGES. This script WILL NOT CHANGE ALERTS AS YOU CHANGE SETTINGS.
TradingView Alerts are not this smart , at least I haven't found a way to do this yet.
RexDog Hour Close LinesThe RexDog Hour Close Lines plots the last 4 previous hour (60 minute) closes. Extremely helpful indicator for traders who trade on lower timeframes below the 60.
The plotted lines are also offset to represent that hours close location on the chart-- but keep the below in mind.
The offset is set for a default resolution of 5 minutes. In that chart timeframe, the offset is correct as to the close location. Changing the timeframe to 3m for instance the offset is not accurate to that particular bar. I am sure there is a simple way to do this but maybe I'm just not smart enough to figure it out. Either way, the offset in any timeframe is easy to distinguish the oldest hour close to the newest.
This indicator has the following options:
You can enable or disable any previous 4 hour close line
You can change all line sizes
You can change all line colors. I do apologize if it's inconvenient that I've defaulted the lines to different colors.
I've limited the visibility to only periods below 60 minutes-- but and maybe there is a better way to do this (if so please share). The limit is based on the most common periods below 60: 1, 2, 3, 5, 10, 12, 15, and 30.
Will most likely release the 240 and 30-minute version of this I have on a few charts.
Beam Bands + Fibonacci LevelsThis indicator calculates the Fibonacci retracement levels based on beam bands. As you can see the price very often reacts to these levels.