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!
Trendtrading
TBS - Trend Buy and Sell IndicatorTrend Buy and Sell Indicator
TBS identifies trend based on price cross-over/cross-under to a moving average. Confirmed Up-trend is displayed in green and Down-trend in red backgrounds. Before a trend is confirmed price cross-over is displayed in blue and cross-under in orange backgrounds. Once an uptrend is confirmed, TBS suggest buys based on touch downs to a Support moving average by a green arrow under the candle . A sell is suggested by TBS by a red arrow on top of the candle when the price reaches a certain percentage above support moving average. Motivation and Tolerance levels are provided to fine tune buying and selling signals.
Example : Default settings for BTC Weekly charts are Trend Moving Average = 50, Support Moving Average = 21, Motivation Buy = 10, Tolerance Buy = 5, Motivation Sell = 50 and Tolerance Sell = 90. That means in uptrend identified by green background every time the closing price touches 10% higher than 21 week moving average value TBS suggests buy, so a trader can choose to buy 80% of intended position at this level. If the price continues to drop down and touches 5% below 21 week moving average, a trader may choose to buy another 20% at this level. In the likely scenarios of price hike from here a trader may choose to sell 80% at the Motivation Sell level 50% higher than 21 week moving average. If the price reaches Tolerance Sell level at 90% higher than 21 week moving average a trader may choose to sell remaining 20% of the position.
Note 1 : TBS suggest Buys and sells but the execution of buy and sell is up to trader's discretion for example using Stop Buy order or Limit Buy order etc.
Note 2 : TBS is designed to be a medium to long term indicator for example weekly and monthly timescales. Traders might find it useful on shorter term time-frames but its not designed for short term time frame in mind.
Note 3 : Most of the parameters in TBS indicator are configurable as Trend Moving Average and Support Moving Average vary significantly across assets. Default parameters are set for Bitcoin Weekly time frame. Traders should play around with parameters to find best fit for Trend Moving Average and Support Moving Average for the asset of interest. For example TBS is very relevant and useful for Gold Weekly time frame with Trend Moving Average = 100, Support Moving Average = 30, Motivation Buy = 1, Tolerance Buy = 0, Motivation Sell = 11 and Tolerance Sell = 20.
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!
Nerd Dip Buying for StocksThis script is intended to generate BUY signals during pullbacks in stocks which are in the midst of mid to long-term uptrends. The ideal timeframe is Daily.
Signals should be acted upon at or near the close, or at open next bar.
I use 2 simple moving averages (SMA1 and SMA2) to determine whether the stock is currently in an uptrend. The default parameters are:
SMA1 = 120
SMA2 = 160
Buy signals are only produced when SMA1 is above SMA2.
As an additional filter I also use the Adaptive Moving Average (AMA) developed by Perry Kaufman. The settings are (10, 10, 30). Buy signals are allowed only when the bar closes above the AMA.
Lastly, the Buy signal itself is computed utilizing the Greatest Swing Value, a concept pioneered by Larry Williams in his book Long-Term Secrets To Short-Term Trading . You can control how often BUY signals appear by tweaking the parameter GSV Buy Factor . The smaller the number, the more often BUY signals appear. By default,
GSV Buy Factor = 1.8
This indicator has been developed with stocks trading in mind only, in particular US stocks. Feel free to apply it to other markets or asset classes and let me know the results. Thank you very much.
TREND +SIDEWAYS OPTIMIZED algo signalsThis indicator will try to capture maximum trend of a stock
it will keep trailing stoploss to capture maximum trend
Works best in trendy markets
FEATURES:
Done and backtested on indian stocks.
Trade session and exit session can be specified as inputs.
Optional Stoploss
Specially developed for intraday trading
It would be good to use on normal candlesticks and time frame between (3 to 15 min)
INPUTS:
TRADE FREQUENCY: it can be an integer from from 1 to 5 , Frequency denotes the trading frequency,
low frequency will take less number of trades and will have HIGHER risk rewads (to use lowest frequency 1 )
High freqency it will take more trades and with less profits good for scalpers , it will have low risk and low reward)
Frequency requirement can be given between 1 to 5 , 1 is the lowest and 5 is the Highest frequency
Sideways Bias:
This is an extra filter to reduce the loss in sideways movement,
Your sideways bias can be given between 0 to 3
0 if No bias on sideways
3 if biased on sideways
Reduce the risk filter:
This would try to bok profit quickly and begginers can use this
Optional stoploss:
you can define your risk in points
Trade Quantity:This is quantity you want to trade on particular day, it is used to plot buy or sell quantity on chart (quantity is not taken into consideration in backtest)
Trade session: Session for entries can be specified
Exit session: session for exit can be specified
Custom Bactesting:
This is to provide backtesting results of a stock in given range of dates
Trend Lines ProHello Traders!
We need to make things better & better to solve the puzzle and I try to do my best on this way. now I am here with my new Trend Lines Pro script.
As you know, Trend Lines is very subjective and many people (even professionals) draw different Trend Lines on the same chart. This is confusing and there must be an automation to make the life easer. with this tool I tried to automate it.
The idea in this script is different from my previous trend lines scripts. In this, I use channel idea so it can check number of pivot points it contains, it checks H/L/C in the channels as well. it also checks the angle while choosing trend lines. then we get stronger and useful Trend Lines automatically.
There are some option in the script, let see one by one:
Pivot Period: The Length to calculate Pivot Highs/Lows
Source : Option to use "High/Low" or "Close" as the source for Pivot Points
Threshold Rate : This rate is used for channel width. it you give bigger numbers then you get bigger channels. it's 4 by default
Minimum Angle Rate for new Trendline: if there are different trend lines, there must be an angle between them to choose best trend lines. you can set the angle with this option.
Minimum Strength: there can be many trend lines but we need to choose/use stronger ones. with this option you can set the number of pivot points a trend channel have to contains.
Maximum Loopback Length: by default the script can check 40 pivot highs and 40 pivot lows but to make the script faster and useful I needed to add a limitation for the number of bars that the script can go back.
Show Trendlines as: you can see trend lines as "Trendline", "Channel", "Trend Channel". you can see examples below.
Enable Weak Trend Lines: if there is no trend lines strong enough (as defined in "Minimum Strength" option) you have option to see a weak trend line. that is useful sometimes. if you enable this option weak lines are shown as dotted lines.
Show Price Labels on Trendlines: the script can show the price levels to break trend lines. the examples are below
Line Style: trend lines can be Solid or Dashed as you wish
Color theme: colors of the Up/Down Trend lines can be set. 'Red', Lime, Blue, White, Black, Olive, Gray
you can see the Trend Lines as channels:
you can see Trend Channels to see the big picture.also there is dotted trend line as weak trend line defined above.
you can set color/width of trend lines as you wish.
the script is fast enough to run on 1sec chart:
you can use this script on any chart, fx pairs, stocks, indices etc
I made a short video to explain how to use it and some options:
Please PM for access.
Enjoy!
DISCLAIMER: No sharing, copying, reselling, modifying, or any other forms of use are authorized for our documents, script / strategy, and the information published with them. This informational planning script / strategy is strictly for individual use and educational purposes only. This is not financial or investment advice. Investments are always made at your own risk and are based on your personal judgement. I am not responsible for any losses you may incur. Please invest wisely.
LazyX2We released LazyTrader all the way back in Aug of 2018, and it's still popular to this day among members, especially for those setting up trend trading bots.
LazyX2 uses the same algorithm, but has evolved into an alternative version with a second copy built in so that one is used as the long term trend and the other as the short term trend.
There are a couple of entry strategies to choose from, but over all LazyX2 allows you to fine tune even further than the original and reduce your strategies drawdown.
A couple of us have been testing this for a little while now so I'm happy to be able to finally release it to the world!
As always, for information on how to gain access please check the links below or on our profile page.
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!
Tradespot Quant - Strategy & AlertsTradespot - Quant is an extensive trading algorithm, signal generator and technicals screener packed into one beautifully designed, functional indicator. The script is very customisable to not limit the trader using it but does have some very respectable default settings for BTCUSD on the 4H and 15M charts that we run in an automated fashion here a Tradespot round the clock on Binance Futures.
What does Tradespot Quant do?
Trade following signals generated via our bespoke algorithm
Full customisation to allow a deeper use of the indicator across different assets
Full risk management with take profit and stop loss levels (configurable) built in
Presets for BTCUSD & ETHUSD on the 4H/15M timeframes avaliable instantly for your use.
Innovative trade panel that illustrates key information such as what trade the algorithm is looking for next
More features being added all the time, we have great ideas and our only limitation is how fast we can program it!
Cornix compatible alerts - with the easiest of configurations you can automate this execution of this strategy.
Do you do a free trial?
Yes! Get in touch for a complimentary 48 hour free trial to the indicator, no strings attached.
Who are you?
Tradespot has been creating scripts for years on TradingView that we use to leverage our social trading and signal group offerings. We currently have over $200K in assets trading with our strategies across over 300 users.
You can learn more about us on our website. Please reach out to me or see the link on our profile.
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!
TurboTrend-TTThis indicator shows the main trends of the instruments. Users will automatically see the bottom and peak of trends.
(Bu indikatör enstrumanların ana trendlerini göstermektedir. Kullanıcılar trendlerin dip ve tepe noktalarını otomatik olarak görecektir.)
Volatility DMBefore anything, take notes of the script limitations :
1) The script has the setting : "Max_bars_back" set to 390. This is required to use dynamic length and an "internal clock"
*390 is the normal number of bars in a typical stock trading day.
2) The script requires volume data to work correctly
* I use a way to represent volatility that requires ( volume + price movement + time, no sma , no stdev)
Why ? Because:
HIGH-LOW = Fail to get gap information, fail to get volume information
TR/ATR = Fail to get volume information
STDEV = Not very good with dynamic length as it use SMA and fails when length <2
Conclusion: this script is basically limited to stock trading.
If I could set Max_bars_back to 23 400 this would even work better with a 1 second time frame as more data would be entered in the system.
The idea behind the script is that volatility exists in two different formats depending on how you observe the situation.
Remember your physics class? Light can be a wave or a particle depending of the situation.
Volatility seems to share a strange similar property.
Format 1) Instant volatility . (Ex. High - Low, TR )
Format 2) Systemic volatility (Ex. Dynamic ATR with variable length)
I then speculate 3 lines. (on both directions, + or -)
What if all transaction were 50% directional according to the instant volatility
What if all transaction were 100% directional according to the instant volatility
What if all transaction were 200% directional according to the instant volatility
sum(0,5*instant volatility , dynamic time)
sum(instant volatility , dynamic time)
sum(2*instant volatility , dynamic time)
This give you potential signals lines and support/resistance .
I then calculate the real price movement
sum(price movement, dynamic time)
Then you need to compare the real price movement VS if all transaction were 100% directional following the system volatility
dif=(sum price movement/sum volatility )*dynamic time
Voila.
If the movement is directional then it follows the system volatility .
If the movement is not directional then it goes back toward the Zero.
Inspirational image :
en.wikipedia.org
Trend Candlestick (Expo)Trading with the Trend!
Trend Candlestick (Expo) identifies the direction of the trend and Zones are displayed where the trend changes. The user has the ability to adjust the settings so that long term, as well as short term trend direction and trend changes, can be visualized.
The indicator is visual and easy to use.
HOW TO USE
1. Use the indicator to identify the direction of the trend.
2. Use the indicator to identify trend changes.
3. Use the indicator to find support and resistance levels.
--> Visual Order should be set to "Bring to Front" in order to see the color of the candles.
INDICATOR IN ACTION
15 min chart
The indicator work on Heikin Ashi, Candles, Bars, Renko, Line Break, Kagi, and Point & Figure chart.
I hope you find this indicator useful , and please comment or contact me if you like the script or have any questions/suggestions for future improvements. Thanks!
I will continually work on this indicator, so please share your experience and feedback as it will enable me to make even better improvements. Thanks to everyone that has already contacted me regarding my scripts. Your feedback is valuable for future developments!
ACCESS THE INDICATOR
• Contact me on TradingView or use the links below
-----------------
Disclaimer
Copyright by Zeiierman.
The information contained in my scripts/indicators/ideas does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, or individual’s trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My scripts/indicators/ideas are only for educational purposes
GMS: The Gummy WormThis will help to identify trends within markets on any time frame. It's based on moving averages thus you can select the moving average which you want to use and obviously it's length as well. The gummy worm will get a little fatter during times of higher volatility which helps avoid false signals.
The blue indicates an uptrend and pink indicates a downtrend. The dots you see mark the bar of which the trend flips. The trend flips the close of the bar. The indicator repaints on every tick so you will see it change colors when it is close to changing trend. Price needs to close above the upper part of the channel to flip up (blue) and conversely it needs to close below the lower part to flip down (pink).
I hope this helps!
Andre
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!
MTF-RSI+Candles [VK]This is the strategy where we buy when RSI is above 51 line and sell below 49 line
Ability to change RSI TF
Ability to change default value of RSI/upline/lowline/oversold/overbought lines
Ability to switch show/hide backgrount color
Ability to switch on/off candle colors when RSI crosses up/upline down/lowline
Ability to plot B/S signals when RSI crosses up/upline down/lowline
alerts added
can also be used as standard RSI