Volume Weighted Exponential Moving AverageThis is a volume weighted exponential moving average. uses exponential weighting and considers volume in the consideration of the average price. This makes for a more accurate "average" than a standard moving average.
Average
Multiple Daily SMA EMA on Intra 1min 5min 15min ChartsThis script is helping you auto plot daily SMA EMA and extensions when you are looking at intraday charts. The script is customizable where user can select which ever levels they are interested in viewing. These daily lines act as support and resistance levels for intraday
The green line represent 20 EMA Daily
The yellow line represent 50 SMA Daily
The olive line represent 200 SMA Daily
The red line is upper Bollinger Band Daily
The black line is lower Bollinger Band Daily
To help you understand which lines are what I would recommend you add this indicator and select "D" timeframe and then see which lines you would like to view for your 1min chart or 5 min chart you can customize from the setting options which plot color you would like to view.
Reverse Ehler Instantaneous Trendline - TraderHalaiThis script uses a reverse function of the famous Ehler Instantaneous Trendline to calculate the source price required in order to change from Bullish to bearish
From my analysis, the reverse price does appear to be rather choppy, though it is 100% accurate. This is because Ehler's Instantaneous Trendline tends to remain trending for longer periods of time with above average hold periods.
The main suitability for this would be higher level timeframes, such as Weekly, 5 daily, 3 daily. From my findings Smoothed Heikin Ashi Trend, tends to provide better risk-adjusted returns across most timeframes (Higher return to drawdown ratio)
As I have spent a bit of time getting the reverse function mathematics to work, I decided to publish this as open source for the benefit, scrutiny and for further development by the TradingView community anyways.
Enjoy!
Average Daily Range (ADR) (Multi Timeframe, Multi Period)Average Daily Range (ADR)
(Multi Timeframe, Multi Period, Extended Levels)
Tips
• Narrow Zones are an indication of breakouts. It can be a very tight range as well.
• Wider Zones can be Sideways or Volatile.
What is this Indicator?
• This is Average Daily Range (ADR) Zones or Pivots.
• This have Multi Timeframe, Multi Period (Up to 3 Levels) and Extended Target Levels.
Advantages of this Indicator
• This is a Leading indicator, not Dynamic or Repaint.
• Helps to identify the reversal points.
• The levels are more accurate and not like the old formulas.
• Can practically follow the Buy Low and Sell High principle.
• Helps to keep minimum Stop Loss.
Who to use?
• Highly beneficial for Day Traders
• It can be used for Swing and Positions as well.
What timeframe to use?
• Any timeframe.
When to use?
• Any market conditions.
How to use?
Entry
• Long entry when the Price reach at or closer to the Green Support zone.
• Long entry when the Price retrace to the Red Resistance zone.
• Short entry when the Price reach at or closer to the Red Resistance zone.
• Short entry when the Price retrace to the Green Support zone.
• Long or Short at the Pivot line.
Exit
• Use past ADR levels as targets.
• Or use the Target levels in the indicator for breakouts.
• Use the Pivot line as target.
• Use Support or Resistance Zones as targets in reversal method.
What are the Lines?
Gray Line:
• It the day Open or can be considered as Pivot.
Red & Green ADR Zones:
• Red Zone is Resistance.
• Green Zone is Support.
• Mostly price can reverse from this Zones.
• Multiple Red and Green Lines forms a Zone.
• These lines are average levels of past days which helps to figure out the maximum and minimum price range that can be moved in that day.
• The default number of days are 5, 7 and 14. This can be customized.
Red & Green Target Lines:
• These are Target levels.
What are the Labels?
• First Number: Price of that level.
• Numbers in (): Percentage change and Change of price from LTP (Last Traded Price) to that Level.
General Tips
• It is good if Stock trend is same as that of the Index trend.
• Lots of indicators creates lots of confusion.
• Keep the chart simple and clean.
• Buy Low and Sell High.
• Master averages or 50%.
Mark MinerviniHi everyone,
Just sharing a script that I made when I began to be interested in Mark Minervini, Wiliam O'Neil, Nicolas Darvas,.. trading style.
This script displays :
- 10 EMA (orange)
- 20 EMA (blue light)
- 50 SMA (blue)
-150 SMA (green)
-200 SMA (red)
- Shows when the stock is "extended" from EMA10 to high of the candle (Works in Daily, you can adjust the % to make it match with the stock's volatility)
(Shows a red area between price and 10 EMA)
- Shows when Mark Minervini's trend template is respected by highlighting green between 150 & 200 SMA.
I Although added bollinger bands and 5 EMA for very strong stocks. (I never use them)
Have fun
Average Price LineThis was published in substitute of the original AVG price line that was already implemented into TradingVIew.
Get the average price in the desired range you want.
Carrey's Velocity and AccelerationThis is initially based on the MA Speed indicator from TradeStation () and expanded upon greatly. This implements 3 different variable MAs and calculates and plots both speed and acceleration of each. Also, a single line composite option is included for both speed and acceleration that changes color based on directional confluence of each MA's speed/acceleration. Additionally, optional labels are included to show where the 3 MAs are clustered, and a volatile move is expected, and where they are more distributed, expecting a temporary reversal.
The additional acceleration concept comes from kinematics in physics. Utilizing time-based derivatives, we can calculate the velocity and acceleration of the moving averages, which can help us identify momentum of price action and locate reversals sooner.
10yr, 20yr, 30yr Averages: Month/Month % Change; SeasonalityCalculates 10yr, 20yr and 30yr averages for month/month % change
~shows seasonal tendencies in assets (best in commodities). In above chart: August is a seasonally bullish month for Gold: All the averages agree. And January is the most seasonally bullish month.
~averages represent current month/previous month. i.e. Jan22 average % change represents whole of jan22 / whole of dec21
~designed for daily timeframe only: I found calling monthly data too buggy to work with, and I thought weekly basis may be less precise (though it would certainly reduce calculation time!)
~choose input year, and see the previous 10yrs of monthly % change readings, and previous 10yrs Average, 20yr Average, 30yr Average for the respective month. Labels table is always anchored to input year.
~user inputs: colors | label sizes | decimal places | source expression for averages | year | show/hide various sections
~multi-yr averges always print, i.e if only 10yrs history => 10yr Av = 20yr Av = 30yr Av. 'History Available' label helps here.
Based on my previously publised script: "Month/Month Percentage % Change, Historical; Seasonal Tendency"
Publishing this as seperate indicator because:
~significantly slower to load (around 13 seconds)
~non-premium users may not have the historical bars available to use 20yr or 30yr averages =>> prefer the lite/speedier version
~~tips~~
~after loading, touch the new right scale; then can drag the table as you like and seperate it from price chart
##Debugging/tweaking##
Comment-in the block at the end:
~test/verifify specific array elements elements.
~see the script calculation/load time
~~other ideas ~~
~could tweak the array.slice values in lines 313 - 355 to show the last 3 consecutive 10yr averages instead (i.e. change 0, 10 | 0,20 | 0, 30 to 0, 10 | 10, 20 | 20,30)
~add 40yr average by adding another block to each of the array functions, and tweaking the respective labels after line 313 (though this would likely add another 5 seconds to the load time)
~use alternative method for getting obtaining multi-year values from individual month elements. I used array.avg. You could try array.median, array.mode, array.variance, array.max, array.min (lines 313-355)
VWAP With EMA Overlay (Adjustable Anchor)For those who want the classic Volume Weighted Average Price and Ema on the same overlay.
This script utilizes the same protocols as the VWAP and EMA you currently use. Just frees up an indicator space.
KEEP UP TO DATE
Are you a college student or graduate?
Join College Town Trade discord for helpful community specializing in trading stocks, options, and crypto.
Our staff consists of a group of college students with 10+ years of combined experience. Collectively we have profited and made well above an average yearly salary while being in college. The community aspect is everything and the team always listens and appreciates feedback. We all earn and learn together. There are free trials in place in order for you to see what it’s all about. These are in place so we can gain your trust and show transparency!
I look forward to seeing you in the community
advBtBjDhk
Average, Median, Mode, Biggest: Pip Range Measures & LabelsApply various simple statistical measures to series of full candle ranges over user input length (in bars).
Choose between AVERAGE, MEDIAN, MODE, BIGGEST.
All calculations derive from the high-low range of a candle.
Default length = 260, the number of daily candles in a year.
MODE is calculated from pip ranges rounded to reasonable increments (to nearest 10pips foreign currencies; to nearest 100 pips for DXY ; nearest $10 for other assets). Best only use MODE for the major FX pairs encoded, and on Daily timeframe .
User input 'unit multiplier' only applies when asset is NOT a major Forex pair (unit and multiplier is auto applied for for major FX pairs).
© twingall
ln(close/20 sma) adjusted for time (BTC)(This indicator was designed for the BTC index chart)
Designed for Bitcoin. Plots the log of the close/20W SMA with a linear offset m*t, where m is the gradient I've chosen and t is the candle index. Anything above 1 is a mania phase/market cycle top. If it peaks around 0.92 and rolls over, it could be a local/market cycle top.
This will obviously not work at all in the long term as Bitcoin will not continue following the trend line on the log plot (you can even see it start to deviate in the Jan-Feb 2021 peaks where the indicator went to 1.15).
It identifies the 2011, 2013 (both of them), 2017 tops as being just above 1. It also identifies the 2019 local peak and 2021 market cycle top at ~0.94.
Feel free to change the gradient or even add a function to curve the straight line eventually. I made this for fun, feel free to use it as you wish.
Distance From Moving AverageThis indicator shows the distance between the current price and the Moving Average price.
Key Features:
Show the distance between price and Moving Average (Read Distance Calculation for more information)
Show Historic Highs and Lows
Show Highest High and Lowest Low
Show current Highest High, current Lowest Low and current distance
Key Indicator Settings:
1. Distance Calculation
There are two ways to calculate the distance:
Spread - Calculate the difference between the price and the moving average
Percentage - Calculate the percentage change between the price and the moving average
2. Moving Average Types
There are 5 different Moving Averages:
EMA
SMA
WMA
VWMA
HMA
3. Highest High and Lowest Low
You can show or hide the Highest High and the Lowest Low plots of the series
4. Historic Highs and Lows
You can show or hide past Highs and Lows of the series
Lookback Length - Let's you adjust the frequency of local highs and lows of the series
5. Current Values
You can show or hide current value labels
SMA RegimeProvides a color coded indicator based upon both the slope of a moving average of choice, and the asset's position in relation to that moving average. If the specified moving average is downward sloping and the asset closes below the moving average the indicator will be red. If the specified moving average is upward sloping and the asset closes above the moving average the indicator will be green. Any other combination of these two factors will color the indicator yellow indicating indecision.
Smoothed Heikin Ashi Trend on Chart - TraderHalaiThis indicator is a predictive tool using Heikinashi to calculate shifts in trade direction.
It works by reverse-engineering the regular candle stick closing price required, to flip the Heiken Ashi candle from Red to Green and vice-versa.
Below, is an earlier indicator that I released and created. This plots this price as an oscillator, which allows traders to get a predictive indicator of a trend change.
This indicator extends upon this functionality by adding a smoothing function to the reverse-engineered regular candle stick closing price, to reduce the choppiness of signals. It also plots the indicator on the chart to allow for easier visual confirmation.
How to use
1) As a directional bias - Bullish or bearish
2) Volatility expansion/contraction - further distance from line means volatility expansion - am planning to release an oscillator version also
3) Trailing stop loss - once you are in a trade
Other Features
Select a moving average period and smoothing calculation method (e.g. SMA / EMA)
Non-repaint mode for backtesting and use/integration with higher timeframes
Final note - Open Source
I am releasing this as open-source for the benefit of the community and to allow further development, scrutiny and criticism. Please feel free to use this indicator as you see fit. If you do use this indicator to create another script, feel free to drop me a note, as I would be highly interested in your idea.
Thanks, and Enjoy!
Hull MA HLCThis Indicator calculates and plots 3 Hull Moving Averages with the same period based on the High, Low & Close price.
The color of plot changes to indicate positive or negative slope.
Original Hull MA code written by mohamed982 | Original Triple Hull MA code written by CMKirkham
This triple Hull MA HLC (High Low Close) Pine v5 code written by MaxDecimus 2022
Adaptive EnvelopeI bring to your attention a dynamic indicator Adaptive Envelope .
The main qualitative characteristic of the technical indicator is adaptability. This means that it does not need to be adjusted for each tool. The adaptive envelope itself dynamically adjusts to the volatility of each individual instrument, or even timeframe.
And thanks to a wide range of settings, the indicator can be adjusted to your needs. Let's consider an example of the use of the indicator in trading.
Option #1. The envelope shows the "stretch" of the market - that is, the price of the asset beyond normal volatility. And it is at such moments that the probability of returning to the average is highest. That is, for such a signal, we wait for the exit to the moving average, and when returning with a stop order, we enter the averaging direction.
Option #2. Another option for trading is to buy at the lower level, as well as additional purchases along the lines of the envelope. Exit - on the middle line of the envelope (for shorts on the contrary) - so we have a full adaptability of the strategy. I repeat that due to adaptability, there will be no need to reconfigure when changing market characteristics.
Thank you for attention. Sincerely, Oleksandr Yanchak. Capitalizator.UA
Moving Average Multipliers MTF (Mescu)Includes 4 customizable Moving Average with multipliers and multi-timeframe (MTF).
Tweaks the parameters to your liking, it should be pretty simple to understand
Used here with BTC/USD (1W) to identify good sell and buy zone for Bitcoin.
Got the idea from the 2-year MA Multiplier indicator, but didn't find something of my liking on TradingView, so I made my own.
Drop me a comment if you have any questions, suggestions, improvements.
Mescu
www.tradingview.com
VWAP OscilatorVWAP Oscillator - Awesome Oscillator but using different period Volume Weighted Average Price values instead of moving averages. Used to get an idea of the momentum of price movements and when momentum might be reversing.
Risk Management & Position Size DashboardRisk Management and Position Size Calculator
This indicator is designed to assist traders by instantly providing the necessary information to execute orders based on defined risk parameters. This is not an indicator that tells you WHEN to buy or sell, but HOW MUCH to buy or sell based on your risk appetite. The indicator is compatible with any strategy and any instrument
The indicator uses some great pinescript features, allowing you to drag and drop your levels directly on the chart for instant feedback from the risk management dashboard. Huge timesaver.
Instructions:
1. The first time you add the indicator to your chart, you will be asked to identify your Entry, Stop and Target levels by clicking on them directly on the chart. You can at any point adjust these levels directly on the chart, or you can manually enter them in settings
2. Setup your risk profile in the indicator settings:
(a) Current Capital: Enter the current value of your trading account
(b) Max Risk Per Trade: Enter the maximum % of your Capital you want to risk per trade
(c) Max Leverage: Enter the maximum leverage you want applied to your account. This comes in handy when you trade on very low timeframes where position sizes can become very large. No matter what you enter here, position size will never exceed Max Risk Per Trade
(d) Stop Ticks: Number of ticks to use above/below the identified high/low for stops
(e) Use Current Price as Entry (Market Orders): By default, the system will use the entry level you have selected for limit orders. If you want to use the system to display data based on current price for market orders, select “Use Current Price as Entry (Market Orders)”
3. Based on your stop and target levels, the system will automatically display the dashboard for Longs (bottom of screen) or Shorts (top of screen). The levels will also be displayed to the right of the current price bar
4. Display Free Trade Level: toggle this on to display the level you should exit 50% of your position to make the trade risk free
5. Dashboard / Text size and level colours and positions are customisable
The Dashboard displays the following information at all times:
1. Entry
2. Stop
3. Trade Risk (%): Percentage price difference between Entry and Stop
4. Max Risk ($): Currency value of loss if the trade is stopped out
5. Size: Position Size to execute your trade based on your risk profile/appetite
6. Size($): Position Size in currency value
7. P&L($): Potential profit to your Capital in currency value
8. P&L(%): Potential profit to your Capital in %
9. R:R: Risk to Reward Ratio
10. % to Target: Percent price needs to move to achieve your target
Hope this helps you with your trading. I built this as I was tired of wasting time opening up spreadsheets or calculators to execute trades - especially on lower timeframes. Making the code open source so if you do make improvements to this I'd love to hear from you. Also open to suggestions.
Happy Trading!
Greedy MA & Greedy Bollinger Bands This moving average takes all of the moving averages between 1 and 700 and takes the average of them all. It also takes the min/max average (donchian) of every one of those averages. Also included is Bollinger Bands calculated in the same way. One nice feature I have added is the option to use geometric calculations for. I also added regular bb calculations because this can be a major hog. Use this default setting on 1d or 1w. Enjoy!
ps, I call it greedy because the default settings wont work on lower time frames
Dashed Line Moving AveragesHere's a simple script which i concocted using ideas from various authors with the goal of creating a slightly better Moving Average dashed line script imo...I think i managed to do just that and a bit more.. =)
Features:
- Contains one of each VWMA SMA EMA. You can set the input length.
- Ability to set spacing between characters of the plotted moving average line
- Horizontal offset of the moving average lines (just in case)
- Can add any fancy characters that suits your taste e.g ( . , _ , -, !, *, rocket, lava, etc) to the moving average
- If you duplicate the script and modify the "Size" parameter of the plotchar() function's variables with the choices provided in the commented-out code; you can have some fun!
This script is for entertainment & educational purposes only.
MTF RSI & STOCH Strategy by kziThis script is a teaml job with Indicator-Johns.
First he used my script, then i transform his code.
The origine:
The first transformation:
www.tradingview.com
Funny moment together, thanks for that. :)
This sharing is an indicator where you can see the average of different time frames.
The RSI is the blue line
The Stock is the yellow line
You can manage the timeframe in the parameters.
The strategy is to take position when the two lines get overbought or oversold and close when the stoch and RSI goes to the middle.
Aggregated Moving AveragesUsers can display moving averages from higher time frame charts and display them on their current chart. This script supports up to 4 moving averages aggregated from a selected time frame. Each plot can be toggled if the user does not wish to have all 4 plots displayed.
Inputs allow user to edit:
Moving average length
Average type
Color
Timeframe input allows user to select which timeframe the moving averages are calculated from.
If you wish to have multiple timeframes across different moving averages, it is recommended you add a separate copies of the indicator for each timeframe you wish to display. Toggle visibility of which plots which you don't need.