Trend Direction Helper (ZigZag and S/R and HH/LL labels)Hey everyone
First of all, I'd like to thank Ricardo Santos, Backtest Rookies for the inspiration for this script.
Actually, most of it is coming from them and I only mixed them up (and added my secret sauce ^^). If some of you are not thinking about a trading secret sauce, please get serious for a moment :)
Some of you asked me how I do to set the trend direction. You all understood that if you get an UP label, then the price should go up and vice-versa for down.
But it's not so easy to define the good signals for each asset and each timeframe. I'm going to repeat what I said yesterday because ... well... that's what trading is about
So quoting myself here "The inputs set by default will have to be changed for your asset/timeframe and can't be generic for everything. You have to play with the inputs until the signals will make sense to you
The indicator/strategy with a unique configuration that you'll never check or update according to the market condition DOES NOT exit. "
BUT... a bit of patience and practice and you might do wonders.
The Method
I never realized until now but by connecting the higher highs/lower lows, I was drawing zigzag lines.
The Zig Zag Master is Ricardo Santos . Please give him a follow, he's awesome
For those who don't want to draw on the chart or (my preferred choice) need some inspiration to define your trend directions, this script is for YOU (and your family, your pet, your girlfriend/boyfriend, ...)
I think that each asset/timeframe chart has its own history. What worked in a post could work in the future.
In that regard, if a trend direction worked in the past, that's the parameter that I'll use to trade with it in a demo account and make sure it's relevant. If not then I will adjust
If you're trading with new indicators or a new method right away on your real trading account, you're gonna have a bad time imgflip.com
Lines EVERYWHERE
The script draws the classical horizontal pivots + the zig zag lines + the Higher Highs/Lower Lows label in just 1 script. I'm very excited to share a script (on which I coded 100 lines out of 500) but no one else did it
The horizontal pivots part are coming from Backtest Rookies
For more security, you can add a pullback on a moving average after getting a signal. Pullbacks are necessary to limit any eventual loss or maximize your gains by getting in the trend sooner.
I really give you a solid method and a great script in my opinion. 6 years of experience given away for FREE :p (when Dave will start thinking as a business man instead :O)
Does it repaint ?
Getting this question twice a day. You guys are obsessed with the repainting :)
Short answer, yes because it will calculate the pivots and zig zags whenever new higher highs/lower lows will be formed.
However, the trend direction code is based on the candle close so it shouldn't repaint. If it does, please let me know
See you all on Monday
Love you all
Dave
____________________________________________________________
Be sure to hit the thumbs up. Building those indicators take a lot of time and likes are always rewarding for me :) (tips are accepted too)
- If you want to suggest some indicators that I can develop and share with the community, please use my personal TRELLO board
- I'm an officially approved PineEditor/LUA/MT4 approved mentor on codementor. You can request a coaching with me if you want and I'll teach you how to build kick-ass indicators and strategies
Jump on a 1 to 1 coaching with me
- You can also hire for a custom dev of your indicator/strategy/bot/chrome extension/python
Disclaimer:
Trading involves a high level of financial risk, and may not be appropriate because you may experience losses greater than your deposit. Leverage can be against you.
Do not trade with capital that you can not afford to lose. You must be aware and have a complete understanding of all the risks associated with the market and trading. We can not be held responsible for any loss you incur.
Trading also involves risks of gambling addiction.
Please notice I do not provide financial advice - my indicators, strategies, educational ideas are intended to provide only some source code for anyone interested in improving their trading
The proprietary indicators and strategies developed by Best Trading Indicator, the object of intellectual property rights are and remain the exclusive property of Best Trading Indicator, at the exclusion of images and videos and texts free of rights or provided by the Company or external legal or physical person.
No assignment of intellectual property rights is carried out through these Terms and Conditions.
Any total or partial reproduction, modification or use of these properties for any reason whatsoever is strictly prohibited without the express written authorization of the Company.
خطوط اتجاه
QuantNomad - SuperTrend - XBTUSD - 1mInteresting performance for Super Trend strategy for XBTUSD 1m chart.
Params: ST Mult: 2, ST Period 14.
Performance: 144% profit, 1988 trades, only 41% prof, 2.04% dd , 2.51 Sharpe.
On its own, it might be not a very good strategy, but the big amount of trades allows you to add more filters and improve it.
And remember:
Past performance does not guarantee future results.
QuantNomad - SuperTrend - TSLA - 1mInteresting performance for Super Trend strategy for Tesla ( TSLA ) 1m chart.
Params: ST Mult: 3, ST Period 120.
Performance:61% profit, 637 trades, only 33% prof, 4.84% dd , 0.4 Sharpe.
On its own, it might be not a very good strategy, but the big amount of trades allows you to add more filters and improve it.
The strategy is not bad both with "when" params when strategy executed on open of next bar and with stop orders when strategy enters on exact Super Trend level.
You can comment/uncomment lines in the code and switch from one approach to another.
And remember:
Past performance does not guarantee future results.
LoveGunfire 自動趨勢線LoveGunfire 自動趨勢線
在選項上填上相應的數值, 可以幫忙大家了解基本的趨勢線。
基本使用方法
1.當價格升穿綠色趨勢線上時,這是好的位置造好。
2.當價格跌穿紅色趨勢線下時,這是好的位置造淡。
進階使用方法
1.當價格反彈綠色趨勢線下時,這是好的位置造淡。
2.當價格回吐紅色趨勢線上時,這是好的位置造好。
想今天獲取此指標 !
請聯絡 : Love.Gunfire
指標的示範
HKEX:HSI1!
FX:US30
FX:XAUUSD
BITSTAMP:BTCUSD
HKEX:700 騰訊
想今天獲取此指標 !
請聯絡 : Love.Gunfire
ENJOY !
Higher High Lower Low Strategy (With Source Code)This script finds pivot highs and pivot lows then calculates higher highs & lower lows. And also it calculates support/resistance by using HH-HL-LL-LH points.
Generally HH and HL shows up-trend, LL and LH shows down-trend.
If price breaks resistance levels it means the trend is up or if price breaks support level it means the trend is down, so the script changes bar color blue or black. if there is up-trend then bar color is blue, or if down-trend then bar color is black. also as you can see support and resistance levels change dynamically.
If you use smaller numbers for left/right bars then it will be more sensitive.
source code of :
BOSS Automatic Trendlines and Support Zones IndicatorTHE BEST FOREX, BINARY OPTIONS, STOCK AND CRYPTO INDICATORS FOR TRADINGVIEW.COM
Our auto-trendlines indicator and our support and resistance zones indicator with Fast and Slow EMA's all combined in one!
TrendLines
Trendlines when drawn properly make an excellent tool for traders. Used improperly though, they become ineffective and even counterproductive, resulting in a belief that prices have made a reversal when they really haven't, or that a trend has strength when price action suggests it doesn't.
The Boss Auto Trendline Indicator draws the trendlines automatically, and now you can effectively use trendlines as part of your trading strategy.
Trendlines highlight a trend or range (sideways movement). A trendline connects swing lows, where the low is lower than the surrounding prices, and swing highs in price. When the price rises, the swing lows rise.
Red Lines & Dots.
Connecting these lows with a line results in an ascending trendline , showing you that the trend is up. A trendline can also be drawn along the swing highs. This shows the angle of ascent, and the strength of the price move, whether strongly higher or not.
Green Lines & Dots
When the price falls, the swing highs fall. Connecting these highs with a line results in a descending trendline , illustrating the downward trend. A trendline can also be drawn along the swing lows. This shows the angle of descent and the strength of the downward price movement.
Support & Resistance Zones
Green = Support Zones
Red = Resistance Zones
The basic trading method for using support and resistance is to buy/long near support in uptrends, and to sell/short near resistance in downtrends.
Fast & Slow EMA's
Trend Following - you essentially use the EMA to track the primary trend. If a trading pair does not close beyond the average - you stay in the trade.
Moving Average Crosses - by using two different exponential moving average crosses you can generate buy and/or sell signals. For example, you can have a fast average cross a slow average to trigger a trade signal.
Dynamic Support and Resistance - EMA periods like the 21 or 55 can act as support and resistance zones.
Supertrend collectorHello traders
This is an example of how you can add multiple indicators into a unique one
In this instance, I added two supertrend multitimeframes and draw them on a different timeframe chart
Enjoy
David
BOSS Automatic TrendlinesTHE BEST FOREX, BINARY OPTIONS, AND CRYPTO INDICATORS FOR TRADINGVIEW.COM
Trendlines when drawn properly make an excellent tool for traders. Used improperly though, they become ineffective and even counterproductive, resulting in a belief that prices have made a reversal when they really haven't, or that a trend has strength when price action suggests it doesn't.
The Boss Auto Trendline Indicator draws the trendlines automatically, and now you can effectively use trendlines as part of your trading strategy.
Trendlines highlight a trend or range (sideways movement). A trendline connects swing lows, where the low is lower than the surrounding prices, and swing highs in price. When the price rises, the swing lows rise.
Red Lines & Dots.
Connecting these lows with a line results in an ascending trendline, showing you that the trend is up. A trendline can also be drawn along the swing highs. This shows the angle of ascent, and the strength of the price move, whether strongly higher or not.
Green Lines & Dots
When the price falls, the swing highs fall. Connecting these highs with a line results in a descending trendline, illustrating the downward trend. A trendline can also be drawn along the swing lows. This shows the angle of descent and the strength of the downward price movement.
Available at bosscripts.com
Website bosscripts.com
MACD Enhanced Strategy MTF with Stop Loss [LTB]I developed this script to analyse MACD, MACD Signal, MACD Histogram movements by using current and higher time frame. Script calculates higher time frame automatically, no manuel entry. I also added trailing stop loss line. You can change the parameters as you wish ;)
btw. you should know that MACD is more successful when there is trend.
If you like it please comment and check out my other scripts.
Ultimate Trend Analyzer by HypesterTrading is not all about scalping/day trading. To have a healthy and diversified portfolio, you should always have some trending long term assets to mitigate risks and keep your wallet always on the green side.
That's why Hypester once again innovates with the Ultimate Trend Analyzer. With the UTA you can check the trend's health with one glance.
Do not fool yourself, the Ultimate Trend Analyzer offers different trading profiles, so it doesn't matter what kind of trading you are doing, from long positions to intraday scalping - UTA can quickly adapt with one click. UTA offers Swing/Longterm, Day Trading and Scalping profile.
It also has two correlation methods, volume, and price. So you can decide what you want to prioritize most.
Not only that, there are two smoothing methods, linear regression and symmetrical averaging so you can remove noises from your indicator line.
The UTA offers you insight about the trend's health, just by looking at the background color, the stronger the color, stronger the trend. So higher up it is, stronger the uptrend is. The lower it is, stronger the downtrend.
Nevertheless, the UTA also gives you insight within trend corrections and peaks and bottoms with the indicator line color. So if you have a bullish trend and you see an orange line color, it means that direction is changing and you will observe a line color change, which means the course is now bearish even though the overall trend is going up. This feature is great for swing/scalp trading looking at the big picture.
Auto Trendline with Alert [TORYS]plot trendline
display trendline break
alert : trendline break
detail => my website
Multi-period Simple Moving Average trenderA plot of 6 SMA's grouped by 3's for short and long views of trading patterns.
SPY TrendlineThis indicator helps to see the SPY trendline in all stock charts without opening the SPY chart explicitly.
Hope this helps many of you to be more efficient in your chart analysis - have fun!
Bear vs Bull Trend indicator by Atilla YurtsevenHi Traders,
Bear vs Bull Trend indicator helps you to determine the trend direction easily. Using this indicator, you will not need to look for the cross-over anymore. You can simply choose your favorite Trend detection indicator from the properties (sma, wma, ema, linear). I usually use Linear trends.
Disclaimer: All the information in this article, including the algorithm & indicator, was provided and published for informational purposes only and should not be considered legal or financial advice.
PS: Please leave some comments and remember to follow me. I share only the indicators that i use.
Happy trading :)
Atilla Yurtseven
Auto Bull/Bear TrendlinesAutomated trendlines for easily identifying market trend continuation or reversals
Jeddingen Divergence v4Momentum vs. price divergence. Sell signals on bearish divergence, buy signals on bullish divergence .
Indicator includes an RSI filter, alert-conditions and lots of other configuration options.
There is also a TradingView strategy available to backtest everything!
MA ExtensionThis indicator measures the vertical distance form the current close to the MA of your choice. I find that it does not work best as an oscillator, but it works well for providing early signals for taking profits when trend continuating. For example, if you go short due to a retracement to the MA (of your choice) take profits when a bearish trendline is broken (signalling the start of a bullish correction) that corresponds to the highs of the chart. The logic behind this indicator is that the breakouts of trendlines of an assets difference from an MA will precede corresponding breakouts of trendlines drawn on raw price. Kind of like Momentum, except it takes trend into account. Momentum has the same leading feature when it comes to drawing trendlines , but trendlines will be harder to draw due to the Momentum indicators oscillatory behavior.
MA ExtensionThis indicator measures the vertical distance form the current close to the MA of your choice. I find that it does not work best as an oscillator, but it works well for providing early signals for taking profits when trend continuating. For example, if you go short due to a retracement to the MA (of your choice) take profits when a bearish trendline is broken (signalling the start of a bullish correction) that corresponds to the highs of the chart. The logic behind this indicator is that the breakouts of trendlines of an assets difference from an MA will precede corresponding breakouts of trendlines drawn on raw price. Kind of like Momentum, except it takes trend into account. Momentum has the same leading feature when it comes to drawing trendlines , but trendlines will be harder to draw due to the Momentum indicators oscillatory behavior.
[ST] Trend Line Finder 9000Made a script that connects and extrapolates low points and high points. Can adjust local and distance range for extremes searching. Can add script multiple times for various ranges.
I like tips :D
Stealthy7 Technical Analysis Trend Line StudyThe closing price has broken the upper trend line when the color is green. The closing price has broken the lower trend line when the color goes red. In the event of a mixed trend the color is brown.
Support me by purchasing my bots at Cryptotrader.
Volume Pressure Composite Average with Bands by @XeL_ArjonaVOLUME PRESSURE COMPOSITE AVERAGE WITH BANDS
Ver. 1.0.beta.10.08.2015
By Ricardo M Arjona @XeL_Arjona
DISCLAIMER:
The Following indicator/code IS NOT intended to be a formal investment advice or recommendation by the author, nor should be construed as such. Users will be fully responsible by their use regarding their own trading vehicles/assets.
The embedded code and ideas within this work are FREELY AND PUBLICLY available on the Web for NON LUCRATIVE ACTIVITIES and must remain as is.
Pine Script code MOD's and adaptations by @XeL_Arjona with special mention in regard of:
Buy (Bull) and Sell (Bear) "Power Balance Algorithm" by :
Stocks & Commodities V. 21:10 (68-72):
"Bull And Bear Balance Indicator by Vadim Gimelfarb"
Adjusted Exponential Adaptation from original Volume Weighted Moving Average (VEMA) by @XeL_Arjona with help given at the @pinescript chat room with special mention to @RicardoSantos
Color Cloud Fill Condition algorithm by @ChrisMoody
WHAT IS THIS?
The following indicators try to acknowledge in a K-I-S-S approach to the eye (Keep-It-Simple-Stupid), the two most important aspects of nearly every trading vehicle: -- PRICE ACTION IN RELATION BY IT'S VOLUME --
A) My approach is to make this indicator both as a "Trend Follower" as well as a Volatility expressed in the Bands which are the weighting basis of the trend given their "Cross Signal" given by the Buy & Sell Volume Pressures algorithm. >
B) Please experiment with lookback periods against different timeframes. Given the nature of the Volume Mathematical Monster this kind of study is and in concordance with Price Action; at first glance I've noted that both in short as in long term periods, the indicator tends to adapt quite well to general price action conditions. BE ADVICED THIS IS EXPERIMENTAL!
C) ALL NEW IDEAS OR MODIFICATIONS to these indicator(s) are Welcome in favor to deploy a better and more accurate readings. I will be very glad to be notified at Twitter or TradingVew accounts at: @XeL_Arjona
Any important addition to this work MUST REMAIN PUBLIC by means of CreativeCommons CC & TradingView. --- All Authorship Rights RESERVED 2015 ---
Ehlers Instantaneous Trend [LazyBear]One more to add to the Ehlers collection.
Ehlers Instantaneous Trendline, by John Ehlers, identifies the market trend by doing removing cycle component. I think, this simplicity is what makes it attractive :) To understand Ehlers's thought process behind this, refer to the PDF linked below.
There are atleast 6 variations of this ITrend. This version is from his early presentations.
Is this better than a simple HMA? May be, May be not. I will leave it to you to decide :)
I have added options to show this as a ribbon, and to color bars based on ITrend. Check out the options page.
More info:
- ITrend: www.mesasoftware.com
List of my public indicators: bit.ly
List of my app-store indicators: blog.tradingview.com