MWDX AverageThis is a variation of an exponential moving average which follows the price pretty smoothly. Feel free to change the factor to adjust how closely it follows the price. I set the default to 0.2
Let me know if you want me to write code for any other indicators!
Trendtrading
Price Change Rate by Pivot Points - DynamicHi Everyone
Usually I need Price Change info and I believe most of you need this info too. I want to see how it increased/decreased. I automate this by using Pivot Points.
it works dynamically and it uses Pivot Highs and Pivot Lows accordingly. That means it calculates which one to use.
Please watch following video:
Enjoy!
MichaelIndicator «Michael»
Class : trend indicator
Trading type : intraday trading / mid-term trading
Time frame : 15 min -1 day
Purpose : trend trading, reversal points identification,
Level of aggressiveness : standard
Indicator “ Michael ” indicator is designed to identify a local trend and generate signals for trading in the direction of the current trend. It can be used to trade at time intervals from 15 minutes to 1 day. The frequency of the signals depends on the selected time interval, as well as the indicator settings. For example, on an interval of 15 minutes and standard settings, the number of trades will be about 5-10 per day.
The indicator combines the advantages of average analysis, as well as regression analysis, which allow you to decrease unnecessary noise in price dynamics and concentrate on the overall picture of price movement.
The main feature of the Michael indicator is an attempt to partially offset the main drawback of the analysis of averages - the delay of signals. Averages, by their nature, show what was, and not what will be. As a result, often the predicative abilities of this method of technical analysis are questioned. In order to improve the quality of the signals, auto-regression model is used in the indicator. As the result “Michael” shows not what was, but what will be. That is, the delayed signals of the moving averages are balanced by the auto-regression model. Overall, a trader gets a picture that optimally describes the current reality.
In “ Michael ”, two autoregressive models with different lags are used, which allows monitoring not only general, but also current moods in the market.
Indicator “ Michael ” checks for the presence of price deviations from equilibrium values. If such deviations are detected, the indicator generates signals in the direction of the local trend.
Structure of indicator
The indicator consists of the following elements:
- trend line (center line) - shows the current trend in the market using a special color display. Red is a downward trend, blue is an upward trend, green is a flat;
- volatility lines - black channel lines that monitor the level of volatility in the market. Their divergence is a signal of an increase in market volatility. Convergence - decrease in volatility;
- stop lines - show the calculated value of the stop / profit value for the position in case of signal generation at a specific moment in time.
Parameters of the indicator
To configure the indicator, the following parameters are provided:
- periodFAR (default value is 13) - period for determining a short-term trend. The higher it is, the more conservative will be the perception of an indicator of a trend.
- periodSAR (default value is 34) - period for determining the current trend. Responsible for the level of trade aggressiveness. The lower the value of this parameter, the more signals the indicator will generate and vice versa.
- Stop_period (default value is 21) - period for calculating stop lines.
- Stop_agressor (default value is 1) - the parameter responsible for the aggressiveness of stop losses. The higher it is, the wider the lines of stops are.
Rules of trading
The main purpose of the indicator is to determine the prevailing market sentiments: bullish (the trend line is colored blue), bearish (the trend line is colored red) or neutral (the trend line is colored green). Accordingly, with dominance in the bull market, only buy transactions are allowed, and in a bear market, sells are allowed.
Signals to enter positions are displayed on the chart. Stops are set below (for purchases) or above (for sales) the red lines.
Trend Following Moving AveragesWhile analysing a chart, one of the biggest problem is to see if there is trend or not. While thinking about it, I found the idea to analyse moving averages in channel and their momentum according to channel width. I already published it as Trend Following Bar as you see at bottom of the chart.
How it Works?
On each bar it creates a channel by highest/lowest point of a MA. highest point is upper line and lowest point is lower line of the MA channel,
It gets highest and lowest point of last 300 bars, (say Price Channel )
If the width of MA channel is greater than certain rate of price channel then it decides there is trend
After it decided there is trend, it calculates the rate between channel and MA. Bigger result means stronger trend.
According to rate of MA channel and the price channel , MA Line becomes lighter/darker. so when you look at the MA Line's color you can see the trend strength.
Some details about my idea:
Options:
You can choose following MA types as source: EMA, SMA , RMA, WMA , VWMA
"Period to Check Trend" is the period to create MA channel. Bigger period cause more sensitivity.
"Trend Channel Rate %" is rate of price channel . Price channel created by using highest/lowest of last 300 bars. I did this to make the script works on all time frames correctly.
"Use Linear Regression" is used to get rid of noise. it may cause 1-2 bars latency.
Trend Following Bar script:
All comments are welcome!.
Enjoy!
Trend Lines v2Hello Everyone. After working on new and better trend lines script for couple of weeks, finally I am proud to publish Trend Lines v2.
How it works?
- On each bar it finds last 10 higher and lower Pivot Points (PP).
- from first bar to 10. PP it search if a trend line is possible
- for each it starts searching from the last PP.
- it check if drawing a trend line possible or not and also it's broken or not
- if it's broken then optionally it shows broken trend lines as dotted
- if it finds a continues trend line and stop searhing more and draw trend line (I did this to make the script faster, otherwise you may get error because of it needs time more than .2sec)
- the script makes this process for each PP
optionally trend lines may be Solid or Dashed
optionally you may get rid of broken trend lines if you think it's crowded
and sometimes you may not see any trend line on the chart. this means you need to adjust the period for Pivot Points accordingly
also I made a video. if you watch this video you can see how the script works.
Important! after you add this tool to the chart you may need zoom-in and zoom-out to see all lines!
I thought a lot to make it free or not then I decided make it free and open source. you should know there is a lot of effort for this script, so if you think this is usefull please consider a donation ;)
Enjoy!
Trend analysis - Take Profit (Expo)Trend analysis - Take Profit (Expo)
DESCRIPTION
Trend analysis - Take Profit (Expo) indicator is developed to visualize ‘Lock In Profits -points' in trends. It’s a necessity for a professional trader to continuously ‘Lock In Profit’ in order to grow their balance and to reduce their risk. In fact, research shows that exits have more impact on the results than any other factor (Tharp, 2006). So when the indicator shows a ‘TP’ - point, start to lock in some of your profit and continuously do so on every TP - point and exit the trade when a circle is shown.
The indicator does also visualizes the current trend by the color of the cloud. Green color = positive trend. Red color = negative trend.
The professional trader will have the possibility to adjust the sensitivity of the TP - point as well as the length of the trend calculation.
HOW TO USE
1. Use this indicator to identify when to Lock In Profits in trends.
2. Use the indicator to identify trends.
3. Use the indicator to identify a trend shift.
INDICATOR IN ACTION
BTCUSD
BTCUSD
EURUSD
BRENT
EURGBP
The indicator works with RENKO, HEIKIN ASHI and with KAGI charts as well.
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 continue to work on this indicator, so please share your experience and feedback with me so that I can continuously improve it. Thanks to everyone that have 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 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!
TAI - Trend Agreement IndexThe TAI is an experimental indicator we created to begin working on a automated trading algorithm. It takes five signals from our indicators and gives a +1 or -1 for each signal depending on if the signal is bullish or bearish.
This indicator should not be used for direct signals, but for confluence in trend. Long periods of flatness at 5 or -5 will indicate a very strong trend in that direction.
The TAI gives 4 different arrows depending on what the trend is doing.
Blue = Uptrend
Red = Uptrend Lost
Orange = Downtrend
Green = Downtrend Lost
This is a free add-on indicator for traders with access to the DBT MoMo and the Oasis Trading Suite and Bundle Package.
For Access or Questions: Private message us. Thank you.
RSI of MAsRSI of MAs is designed to calculate the moving average for a specific period, and then take the RSI of that value. This script allows the user to select which moving average they would like to utilize for the calculation, as well as customizing how the Signal Line is calculated. There are many combinations available and you will need to tune the indicator to fit your trading style. The Signal Line is designed to indicate when there is a potential change in price action. If the Signal Line is below RSIoMA, price is bullish. If the Signal Line is above RSIoMA, price is bearish.
MA Period is the length/period the moving average is calculated with
RSI Period is the length/period the RSI is calculated with
RSI MA Mode determines which moving average is applied to the MA period
Signal Line determines which moving average or QQE is used to calculate the signal line
Signal Line Period is the length/period the Signal Line is calculated with
As always, trade at your own risk.
Multiple MA Options Credits to @Fractured
Signal Line Options Credits to @lejmer
Bits and Pieces from @AlexGrover, @Montyjus, and @Jiehonglim
VQZL Z-ScoreVolatility Qaulity Zero Line attempts to keep a trader out of ranging markets, but the original calculation on TradingView had to be adjusted for each instrument. To avoid this issue, I have applied a z-score calculation to the VQZL so the result is standardized for all instruments. A Z-Score is simply a value's relationship to the mean (average) of a group of values, measured in terms of standard deviations from the mean.
This calculation allows us to compare current volatility to the mean (moving average) of the population (Z-Length). The closer the VQZL Z-Score is to the mean, the closer it will be to the Zero Line and therefore price is likely consolidating and choppy. The farther VQZL Z-Score is from the mean, the more likely price is trending.
The MA Mode determines the Moving Average used to calculate VQZL itself. The Z-Score is ALWAYS calculated with a simple moving average (as that is the standard calculation for Z-Score).
The Threshold Levels are the levels at which VQZL Z-Score will change from gray to yellow, orange, green (bullish), or red (bearish). These levels can be adjusted but you should adjust the Threshold Lines as well (in the style section), so they line up with your adjusted values.
Statistically speaking, confidence levels in relation to Z-Score are noted below. The built in Threshold Levels are the positive and negative values for 90%, 95%, and 99%. This would indicate when volatility is greater than these values they are out of the ordinary from the standard range. You may wish to adjust these levels for VQZL Z-Score to be more responsive to your trading need
80% :: 1.28
85% :: 1.44
90% :: 1.64
95% :: 1.96
99% :: 2.58
As always, trade at your own risk.
VQZL Created by Investo And Adapted From @sarangab
Multiple MA Options Credits to @Fractured
Bits and Pieces from @AlexGrover and @Montyjus
Supertrend MTF Heikin AshiThis is non-repaiting Supertrend Multi Time Frame script, uses Heikin Ashi Candles as source on normal chart
There is an option for Higher Time Frame. if you choose "Auto" then Higher Time Frame calculation is made by the script. If you choose "User Defined" option and then you can select Time Frame.
You better use this script with other indicators such as RSI, Momentum etc.
Enjoy!
GMS: Moving Average Crossover StrategyThis is a moving average crossover system built the way I would want it to be.
- The moving averages included are SMA, EMA, WMA, VWMA.
- You can select either for the first moving average or the second moving average.
- You can also select to see the Long trades, Short trades, or both at the same time.
- There is also a simple moving average trend filter. When this is selected, it only applies to the entries of a trade and not the exit. There are situations where the entry is above the trend filter and the exit is below.
The source code should be open so feel free to adapt it, make it more efficient, or take some part for your own project!
I hope it helps,
Andre
GMS: RSI & ROC StrategyThis is a basic strategy like the RSI one I posted. This one adds in the Rate of Change indicator as well.
You can separate the two for RSI only and ROC only. Everything else is the same as the RSI strategy.
- Simple moving average trend filter.
- Simple moving average trade exit.
- Both long and short or each on it's own.
The source code should be open if you want to see it or modify it for your own project. I hope it helps!
Andre
Global Market Signals
EMA Trend MeterThis is a useful trend analysis tool that I've seen others sell for high monthly subscription fees. I'm giving my version away for free.
The script consists of 3 EMAs, all weighted against the same baseline moving average to give you an overview of the trend. My meter shows the status of each EMA; either up (green) or down (red). When you see two of the same colour vertically aligned then the trade will most likely go in that direction. When all three are the same colour then it's a certainty.
The top row represents the stochastic RSI direction to further validate the EMA signals. Grey is up, black is down.
Default values for the EMAs are 7, 14 and 21 but please tweak to fit your chart.
Alerts are built in for longs and shorts when either 2 or 3 EMAs are the same colour and the stochastic indicator agrees. They'll fire only in the first instance (long/short) so you won't receive repeat alerts on each candle.
NOTE: This is a metered indicator and you get only the bottom portion of what's shown here. The signals overlaid on the chart are merely to demonstrate when the meter alerts would fire.
Haos Visual DivergencesThe Haos Visual is a trend indicator consisting of two WIlliams % indicators.
I have added divergences to spot trend reversals within assets, divergences have no repaint and require single candle confirmation.
www.prorealcode.com
Gann Trend OscillatorDeveloped by Robert Krausz, the Gann Trend Oscillator is a trend-following indicator used to determine the financial instruments long-term price direction.
ZigZag++Hey Awesome Traders
I noticed people were so happy with my ZigZag lucemanb script and so I made one that is more user-friendly and customizable
Please note the original one is dedicated to developers, The code is very minimal for fast understanding when anyone wants to use it in their development
In this script, I have included several features like multi-timeframe and alerts. Do take a look and enjoy
If you are using the indicator, please comment down the link to your script
If you would love to support my work through donations, Am so happy to receive them
ADDITIONAL FEATURES
Do u have an idea or a feature that you want to be added,
You can ping me or ask about it here, I can always update
Check out some of the best works i have done with this script
1. Angle trading
2. Harmonic Patterns
Swing Trade Pros - Wave Trend IndicatorThe STP Wave Trend Indicator allows you to catch big trends before they start by confirming the direction and momentum in real-time. This indicator can be used across all assets on any timeframe. When the oscillator (white area) crosses down the signal (green area), it is a good SELL signal. Similarly, when the oscillator crosses above the signal it is a good BUY signal. Another strategy is to buy when the oscillator crosses the oversold area and sell when it crosses the overbought area
Divergence for many indicator v3Hello Everyone. Almost one year later, with Pine version 4, I developed new version of the Divergence for many Indicator.
It analyses divergences for 10 predefined indicators and then draws line on the graph. Red for negatif divergence (means prices may go down or trend reversal), Lime for positive divergences (means prices may go up or trend reversal)
Divergences version 2 has latency because it waits higher time frame completion. in this new version the script uses Pivot Points and on every bar it checks divergence between last Pivot point and current bar and if it finds any then immediately draws line and removes old one. so there is no latency with this version.
There are predefined 10 indicators in the script, you have option to choose which indicators the script would analyse for divergence. (RSI , MACD , MACD Histogram, Stochastic , CCI , Momentum, OBV, Diosc, VWMACD and CMF)
In replay mode you can see how the script puts new divergence line and removes old one. you better see it for yourself by using replay mode.
Hope you Enjoy!
Trend LinesHello Everyone! This is my new trend lines script (after beta version that was published almost one year ago)
The idea is to find Pivot Highs (PH) and Pivot Lows(PL) first.
Then, If current PH is smaller then previous PH (means no new higher high and possible downtrend) then draw trend line using them. and also it checks previous trend line (if exits) and if current angle is smaller then don't extend previous one.
Same idea when using Pivot Lows, If current PL is higher then previous PL (means no new lower low and possible uptrend) then draw trend line using them. and also it checks previous trend line (if exits) and if current angle is smaller then don't extend previous one.
Optionally style of old trend lines drawn as dashed.
Hope you enjoy it!
[astropark] Trend Is Your Friend V3 [alarms]Dear Followers,
today another awesome Swing and Scalping Trading Strategy indicator, runnable on a bot , which works great on High Timeframes (1D is suggested) but also on lower ones (just write me in order to help you find correct settings) and even better on 1m Renko chart!
If you are a scalper, you will love suggested entries for fast profit. You can run it on 1h timeframe (below is not suggested, there is "no-trend" below 1h!) if you are used to scalp trading and close each trade whenever you feel happy (a proper trailing stop strategy is suggested anyway).
This is not an evolution of "Trend Is Your Friend V1" or V2 , but a twin sister or the "Trend Is Your Friend V1" indicator you can see here below
and twin sister or the "Trend Is Your Friend V2" indicator you can see here below
This strategy differs for the engine used as basis, but has the same usage settings:
enable/disable signals on chart
enable/disable showing trend cloud
enable/disable bar coloring based on trend
enable/disable background coloring based on trend
edit trend period length (direct message me in order to help you fine best settings)
edit a smart variant option to enhance the trend cloud on your chart
enable/disable an option to smart enter trade
This strategy only trigger 1 buy or 1 sell. In order to get notified when a signal is triggered, you need to use the "alarms" version of this indicator.
Strategy results are calculated on the timeframe from December 2012 to now, so on 8 years, using 10000$ as initial capital and working at 1x leverage (so no leverage at all! If you like to use leverage, be sure to use a safe option, like 3x or 5x at most in order to have liquidation price very far).
This is not the "Holy Grail", so use a proper risk management strategy.
This script will let you set all notifications you may need in order to be alerted on each triggered signals.
The one for backtesting purpose can be found by searching for the astropark's "trend is your friend v3" and then choosing the indicator with "strategy" suffix in the name, or you can find here below
This is a premium indicator , so send me a private message in order to get access to this script.
[astropark] Trend Is Your Friend V3 [strategy]Dear Followers,
today another awesome Swing and Scalping Trading Strategy indicator, runnable on a bot , which works great on High Timeframes (1D is suggested) but also on lower ones (just write me in order to help you find correct settings) and even better on 1m Renko chart!
If you are a scalper, you will love suggested entries for fast profit. You can run it on 1h timeframe (below is not suggested, there is "no-trend" below 1h!) if you are used to scalp trading and close each trade whenever you feel happy (a proper trailing stop strategy is suggested anyway).
This is not an evolution of "Trend Is Your Friend V1" or V2 , but a twin sister or the "Trend Is Your Friend V1" indicator you can see here below
and twin sister or the "Trend Is Your Friend V2" indicator you can see here below
This strategy differs for the engine used as basis, but has the same usage settings:
enable/disable signals on chart
enable/disable showing trend cloud
enable/disable bar coloring based on trend
enable/disable background coloring based on trend
edit trend period length (direct message me in order to help you fine best settings)
edit a smart variant option to enhance the trend cloud on your chart
enable/disable an option to smart enter trade
This strategy only trigger 1 buy or 1 sell. In order to get notified when a signal is triggered, you need to use the "alarms" version of this indicator.
Strategy results are calculated on the timeframe from December 2012 to now, so on 8 years, using 10000$ as initial capital and working at 1x leverage (so no leverage at all! If you like to use leverage, be sure to use a safe option, like 3x or 5x at most in order to have liquidation price very far).
This is not the "Holy Grail", so use a proper risk management strategy.
This script will let you backtest how the indicator will perform on any chart you may test. Of course results will be very different depending on the chart and timeframe you will open. I tested a lot of charts and always you can find a combination that keep this strategy in profit on swing trading style (and this means that if you can have a daily look at the chart you can always manage to maximize your profit on each trade!)
The alarms version of this indicator, which will let you set all notifications you may need in order to be alerted on each triggered signals, can be found by searching for the astropark's "trend is your friend v3" and then choosing the indicator with "alarms" suffix in the name.
This is a premium indicator , so send me a private message in order to get access to this script.
[astropark] Trend Is Your Friend V2 [alarms]Dear Followers,
today another awesome Swing and Scalping Trading Strategy indicator, runnable on a bot , which works great on High Timeframes (1D is suggested) but also on lower ones (just write me in order to help you find correct settings) and even better on 1m Renko chart!
If you are a scalper, you will love suggested entries for fast profit. You can run it on 1h timeframe (below is not suggested, there is "no-trend" below 1h!) if you are used to scalp trading and close each trade whenever you feel happy (a proper trailing stop strategy is suggested anyway).
This is a twin sister or the "Trend Is Your Friend V1" indicator you can see here below
This strategy differs for the engine used as basis, but has the same usage settings:
enable/disable signals on chart
enable/disable showing trend cloud
enable/disable bar coloring based on trend
enable/disable background coloring based on trend
edit trend period length (you have to increase it if you go on lower timeframes or you go on FOREX/Stocks market, direct message me in order to help you fine best settings)
This strategy only trigger 1 buy or 1 sell. In order to get notified when a signal is triggered, you need to use the "alarms" version of this indicator.
Strategy results are calculated on the timeframe from January 2015 to now, so on 5 years, using 10000$ as initial capital and working at 1x leverage (so no leverage at all! If you like to use leverage, be sure to use a safe option, like 3x or 5x at most in order to have liquidation price very far).
This is not the "Holy Grail", so use a proper risk management strategy.
This script will let you set all notifications you may need in order to be alerted on each triggered signals.
The one for backtesting purpose can be found by searching for the astropark's "trend is your friend" and then choosing the indicator with "strategy" suffix in the name, or you can find here below
This is a premium indicator , so send me a private message in order to get access to this script.
[astropark] Trend Is Your Friend V1 [strategy]Dear Followers,
today another awesome Swing and Scalping Trading Strategy indicator, runnable on a bot , which works great on High Timeframes (1D is suggested) but also on lower ones (just write me in order to help you find correct settings) and even better on 1m Renko chart!
If you are a scalper, you will love suggested entries for fast profit. You can run it on 1h timeframe (below is not suggested, there is "no-trend" below 1h!) if you are used to scalp trading and close each trade whenever you feel happy (a proper trailing stop strategy is suggested anyway).
This strategy let's you edit following settings:
enable/disable signals on chart
enable/disable showing trend cloud
enable/disable bar coloring based on trend
enable/disable background coloring based on trend
enable a special option to enhance trend cloud on FOREX/Stocks charts (optional)
edit trend period length (you have to increase it if you go on lower timeframes, like 1h)
This strategy only trigger 1 buy or 1 sell. In order to get notified when a signal is triggered, you need to use the "alarms" version of this indicator.
Strategy results are calculated on the timeframe from August 2017 to now, so on almost 2 years and half, using 10000$ as initial capital and working at 1x leverage (so no leverage at all! If you like to use leverage, be sure to use a safe option, like 3x or 5x at most in order to have liquidation price very far).
This is not the "Holy Grail", so use a proper risk management strategy.
This script will let you backtest how the indicator will perform on any chart you may test. Of course results will be very different depending on the chart and timeframe you will open. I tested a lot of charts and always you can find a combination that keep this strategy in profit on swing trading style (and this means that if you can have a daily look at the chart you can always manage to maximize your profit on each trade!)
The alarms version of this indicator, which will let you set all notifications you may need in order to be alerted on each triggered signals, can be found by searching for the astropark's "trend is your friend" and then choosing the indicator with "alarms" suffix in the name.
This is a premium indicator , so send me a private message in order to get access to this script.
Trend Following or Mean RevertingThe strategy checks nature of the instruments. It Buys if the close is greater than yesterday's high, reverse the position if the close is lower than yesterday's low and repeat the process.
1. If it is trend following then the equity curve will be in uptrend
2. If it is mean reverting then the equity curve will be downtrend
Thanks to Rayner Teo.