Support Resistance - Aging [Example]Hello All,
First all of Thanks to Pine Team for adding Arrays to Pine!
In this script I tried to make example for
1. Finding S/R lines using highest/lowest function
2. Using 1D array as 2D (we keep S/R levels and age)
3. "Age" usage for S/R levels, getting older on each candle and changing colors by their age (maximum age is 127 then it disappears)
You can use "Close"/Open " or " High/Low " as source.
There is an option for the background color, by default it's Black, do not forget to set it accordingly :)
Enjoy!
Trendtrading
Ehlers 2 Pole Super Smoother Filter V2 [CC]The 2 Pole Super Smoother Filter was created by John Ehlers (Cycle Analytics For Traders pg 32) and this follows the price very closely and very useful because it is consistent with uptrends and falls sharply during a sudden downtrend so it should be able to help you stay more profitable. Buy when the indicator line turns green and sell when it turns red.
Let me know if there are other indicators you would like to see me publish or if you want something custom done!
Cumulative Delta VolumeHello Traders,
This is Cumulative Delta Volume script. Delta refers to the difference between buying and selling volume at each price level. Cumulative Delta builds upon this concept by recording a cumulative tally of these differences in buying vs selling volume. The Cumulative Delta indicator plots as candlesticks or line. One of the main uses of Cumulative Delta is to confirm or deny market trends. you may need to search it for yourself ;)
You have option to see it as Candles or a Line. also there are options to show 2 SMAs and 2 EMAs with different Lengths, you can set the lengths as you wish.
By default it shows CDV as Heikin Ashi Candles, it can also show it as normal candles:
It can show CDV as a line:
Also you may need to check divergence:
Enjoy!
Support Resistance - Dynamic v2Hello Traders!
After the addition of "Arrays" to the Pine, I developed new and improved version of Support Resistance - Dynamic script as version 2. In this script Arrays were used. This can be used as Support Resistance tool, also it will be an example for the people who want to learn Array usage in Pine. Many thanks to Pine Team for adding Arrays!
The script finds the Pivot Points and check them in channels if there can be S/R or not, and draws mid line of the channel as S/R line. you can set number of PPs and channel width in the options. Each channel width is optimized dynamically according to Pivot Points. Also you can choose " High/Low " or " Close/Open " as source for Pivot Points.
There is an option for maximum number of S/R levels. S/R levels are found and sorted dynamically and number of S/R lines with enough strength changes dynamically.
Some other options for coloring and line width. (Solid, Dashed or Dotted)
S/R levels are shown in the Labels and Label colors are changed automatically, if S/R line is below the closing price then it's color is Green (as Support), otherwise its color is Red (as Resistance).
Examples:
Enjoy!
Smoothed CandlesHello Traders,
This is " Smoothed Candles " script to get rid of noises and to get a smoothed chart to figure out breakouts and price movements easily.
There are three scaling methods: User Defined, Dynamic (ATR) and Percentage
Optionally you can add 2 Simple Moving Averages and 2 Exponential Moving Averages
Optionally you can hide the Wicks, example:
You can add moving averages:
Easily find breakouts:
Enjoy!
Higher Timeframe Trend Indicator V3.0What is it?
An indicator that depicts the trend of up to 5 higher timeframes on the same chart without needing to context-switch between charts.
Features
- Supports up to 5 timeframes
- Trends indicated by 5 colored buttons: one for each timeframe
- Varying shades of green: uptrend
- Varying shades of red: downtrend
- White/silver: sideways/neutral
- Configurable length (time period) for each timeframe
- Increase length to capture long term trends; decrease it to capture only short term ones
- Configurable sensitivity for each timeframe
- Sensitivity determines what angle is considered trending and what is not
- Increase sensitivity to capture weak trends
- Decrease sensitivity to filter out weak trends and capture only strong/steep ones
- Sensitivity ranges from 1 (least sensitive) to 3 (most sensitive)
- Move the labels around vertically for better visibility by changing the "Location" and "Offset" parameters
How should one use it?
Use it to quickly browse through charts to understand the context across timeframes, and zero in on only those that have trends aligning on the higher and lower timeframes as per your strategy. For e.g., a chart that is trending up strongly on the 15min and 60min (indicated by dark green colored buttons), and trending down on the 1 and/or 5 min (indicated by red-colored buttons), can be shortlisted for a potential pullback trade. Use your favorite pullback strategy (Supply/Demand, Support/Resistance, Moving Averages, etc.) to hop in on the trend.
How are trends determined?
The indicator uses normalized %change in price of the linear regression line segment of the chosen price sources (close, high, low, MA, etc.) over a specified length to determine trend direction and intensity
Known Issues
Will indicate the trend correctly only for timeframes *higher* than the current (visible) resolution/timeframe of the chart. Might not indicate it correctly for lower timeframes ( i.e., lower than the current (visible) resolution/timeframe of the chart). For this reason, all timeframes lower than the current resolution will be hidden in the present release.
Future releases
- I am still experimenting with various sensitivity levels and the corresponding trend shades to make the tool as accurate and intuitive as possible. These modifications might come in
- Sensitivity levels might be increased.
- Bug fixes, if any
Trend Following with Moving AveragesHello Traders,
With the info "Trend is Your Friend ", you should not take position against the trend. This script checks multipte moving averages if they are above/below the closing price and try to find trend. The moving averages with the length 8, 13, 21, 34, 55, 89, 144, 233, 377 used. these are fibonacci numbers, but optionally you can change the lengths of each moving averages. while it's green you better take long positions, while it's red you better take short positions according to other indcators or tools.
Optionally you have "smoothing" option to get rid of whipsaws. it's enabled by default.
You have option to use following moving average types: EMA, SMA, RMA, WMA, VWMA. by default it's EMA
Also the script has "Resolution" option. with this option you can get the trend for other time frames, in following example 1h was set as for higher time frame on 15m chart:
This should not be used as buy/sell signal indicators as it's tries to find trend but not entry points, you should use other indicators (such RSI, Momentum) or other tools to find buy/sell signals.
Enjoy!
Ehlers Hurst Coefficient [CC]The Hurst Coefficient was created by John Ehlers (Cycle Analytics For Traders pgs 67-68) and this is a very useful indicator to tell you if the stock is in a uptrend or downtrend. Feel free to change the length to experiment and to adjust to your needs. Buy when the indicator line is green and sell when it is red.
Let me know if there are other indicators you would like to see me publish or if you want something custom done!
Ehlers 2 Pole Butterworth Filter V1 [CC]The 2 Pole Butterworth Filter was created by John Ehlers (Cybernetic Analysis For Stocks And Futures pg 192) and this is one of his many filters that cuts out the noise and follows the price very closely. I recommend combining a 2 pole and 3 pole system of the same type of filter. Buy when the indicator line is green and sell when it is red.
Let me know if there are other indicators you would like to see or if you want something custom done!
Inverse Fisher Transform of SMI and sto. RSI, MTF confirmedThe system uses 1 hour and 15 min timeframe data. Signals coming from 15 min Inverse Fisher Transform of SMI and stochastic RSI are confirmed by 1 hour Inverse Fisher Transform SMI, according to the following rules:
long cond.: 15 min IFTSMI crosses ABOVE -0.5 or SRSI k-line crosses ABOVE 50 while 1-hour IFTSMI is already ABOVE -0.5
short cond.:15 min IFTSMI crosses BELOW 0.5 or SRSI k-line crosses BELOW 50 while 1-hour IFTSMI is already BELOW 0.5
SMI and Inverse Fisher Transform of SMI codes belong to @kivancozbilgic.
MACD_trendtrader v2 (picte)This is an upgraded version of my MACD_trendtrader indicator.
UPGRADES:
- Histogram slope changes colors according to the direction of the slope.
- Panel that displays volatility of the asset. The volatility is measured from 0 to 100. Zero being the lowest and 100 the highest volatility. I also included different text colors for a certain volatility value (white= very low volatility, blue = low volatility, purple= high volatility, green= very high volatility)
It works well on all time-frames but i found it particularly useful on the lower time-frames for identifying pullbacks in a trending market.
It has been tested in the Forex and Traditional market.
Ehlers Laguerre Filter [CC]The Laguerre Filter was created by John Ehlers (Cybernetic Analysis For Stocks And Futures pg 216) and this indicator works well with letting you know both the short and long term trend as well as a pretty good moving average. If the indicator line is above the black line then it is a long term uptrend and below the black line is a long term downtrend. Buy when the indicator line is green and sell when it turns red.
Let me know if there are other scripts you would like to see me publish or if you want something custom done!
Sto RSI and kijun-sen line to determine and follow the trend This script uses 25-75 treshold of stochastic RSI with the help of kijun-sen as confirmation, to find entry points to any trend either newly developed or an established one. I just realized it on the 1 hour SPX chart. Sure it can be used on other symbols. Crossing above/below 25/75 line of sto RSI is considered as buy/sell signal. Signals are evaluated whether price be above/below kijun-sen line. If a sell signal below kijun-sen is generated it is a continuation signal for downtrend, otherwise it is a countertrend signal (maybe a signal for a new downtrend). A countertrend signal must be evaluated carefully and only accepted in the right side of kijun-sen. e.g entering a sell signal generated above kijun-sen should be accepted only below the kijun-sen, vice-versa.
Consolidation Zones - LiveHello Traders!
This is the script that finds Consolidation Zones in Realtime.
How it works?
- The script finds highest/lowest bars by using "Loopback Period"
- Then it calculates direction
- By using the direction and highest/lowest bar info it calculates consolidation zones in realtime
- If the length of consolidation area is equal/greater than user-defined min length then this area is shown as consolidation zone
- Then Consolidation Zone extends automatically if there is no breakout
if you increase the Loopback Length then you get bigger consolidation zones:
You have option to "Paint Consolidation Area" or not:
Enjoy!
Ehlers Decycler Oscillator [CC]The Decycler Oscillator was created by John Ehlers (Cycle Analytics For Traders pgs 43-44) and it is used to show transitions between uptrends and downtrends. If it rises above the 0 line then this means it has transitioned to an uptrend and it falls below the 0 line then it is in a downtrend. Buy if the indicator line is green and sell when it is red.
This was a custom request so let me know if you would like to see more scripts from me or if you want something custom done!
Ehlers Decycler [CC]The Decycler was created by John Ehlers (Cycle Analytics For Traders pgs 40-41) and this is a moving average that has an extremely low lag even though it uses a fairly high length to calculate everything. This can also work well as a trendline. Buy when the indicator line is green and sell when it is red.
Let me know if there are other scripts you would like to see me publish or if you want something custom done!
Ehlers Even Better Sinewave Indicator [CC]The Even Better Sinewave Indicator was created by John Ehlers (Cycle Analytics For Traders pgs 161-162) and this indicator works well when the stock is in a trend mode. It will let you know how long to stay with a trade and it works best with a trend confirmation but it can also work on it's own fairly well. Buy when the indicator line is green and sell when it is red.
Let me know if there are other scripts you would like me to do or if you want something custom done!
Ehlers Market State Indicator [CC]The Market State Indicator was created by John Ehlers (Stocks & Commodities V. 38:06 (8–15)) and this is technically part of three indicators in one so I'm splitting each one to a separate script. This particular indicator was designed for the market state which acts as a trend direction and tells you whether the trend is strong in either direction. Keep in mind that when the indicator rapidly switches then the market is choppy and when it is a steady line then it is a very strong trend. Essentially buy when the indicator line is green and sell when it is red.
Let me know if you would like me to publish other scripts or if you want something custom done!
Note: I'm republishing this because the original script couldn't be found in searches so this will fix that.
End Point Moving Average [CC]The End Point Moving Average was created by Patrick E. Lafferty (Stocks & Commodities V13 (413-417)) and it is essentially a variation of the weighted moving average but the weight system is different. Feel free to change the offset and length amounts to adjust to your needs but I'm using the default amounts in my script. This hugs the price very closely and I think you will enjoy this script as much as I had making it. As always buy when the indicator line is green and sell when it is red!
Let me know if you would like me to publish other scripts or if you want something custom done!
Note: I'm republishing this because the original script couldn't be found in searches so this will fix that.
Jsa Moving Average [CC]The Jsa Moving Average was created by George R. Arrington, Ph .D. (Stocks & Commodities V. 11:10 (427-431)) and it is an extremely simple formula but has very many great uses. For one thing it acts as support and resistance levels and it also acts like a trailing stop. It gives a wide enough berth during extended up or down trends to let you ride the wave up or down and when it gets close to the price it means that it is a choppy market. Buy when the indicator line is green and sell when it turns red.
Let me know if you would like to see me publish other indicators or if you want something custom done!
Note: I'm republishing this because the original script couldn't be found in searches so this will fix that.
Rex Oscillator [CC]The Rex Oscillator measures market behavior based on the relationship of the close to the open, high and low values of the same bar. A big difference between the high and close on a bar indicates weakness, and wide disparity between the low and close indicates strength. The difference between open and close also indicates market performance. Buy when the indicator is green and sell when it turns red.
Let me know if you would like me to publish other scripts or if you want something custom done!
Trend Follow with 8/34 EMA and Stoch RSI for 1 Hour SPX
The script determines and plots entry points for 1 hour S&P index using 8/34 emas and stochastic RSI. When 8 ema above/below 34 ema up/down crosses of stochastic RSI are considered as long/short entries. Entry prices should be above/below high/low of the signal bars accordingly. Ichimoku cloud can be used as extra filtering.
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!