Strongholds - Objective & Accurate Reference Points / StructuresVery early in my trading career, I came across Pivot Points only to find out that there are as many calculations as one pleases. It was hard to find out which ones work. Most of them probably did only out of randomness, so I ditched the strategy and looked for something else.
I previously used my Oracle Eye and Reference Points scripts but it is time for an upgrade.
Stronghold is a script I have used for quite some time now. I ditched daily and weekly closing prices as not that important. Instead, Strongholds are equipped with:
►Daily High & Low • Azure color
►Weekly High & Low • Dark blue
►Weekly old High & Low • Semi-transparent dark circles
►Monthly High & Low • Wizardly purple
There is an option to print:
►4h High & Low • Semi-transparent red
►VWAP • Lovely purple
►Weekly VWAP • Black
All of the levels and lines are set for 1m, 5m, 10m, 15m, 30m, 1h, 4h, 1D timeframes. If you use any alien timeframe, you may need to enter the code.
You can opt-in and out for certain timeframes. For example, daily levels are visible from 15m or 30, so the indicator won't draw them unless you want to. However, they will not be seen on higher timeframes as there is no reason to show them and oversaturate the chart with lines.
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Remember that if you use this script with auto-scale, you need to tick Scale Price Chart Only . Otherwise, your chart will fly to the moon!
Good luck & have fun!
Search in scripts for "vwap"
RSI-VWAP Indicator %█ OVERALL
Simple and effective script that, as you already know, uses vwap as source of the rsi, and with good results as long as the market has no long-term downtrend.
RsiVwap = rsi (vwap (close), Length)
The default settings are for BTC in a 30 minute time frame. For other pairs and time frames you just have to play with the settings.
█ FEATURES
• The option to start trading from a certain date has been added.
• To make the profit more progressive, a percentage of your equity is used for entries and a percentage of your position is used for closings.
• The option to trade in Spot mode has been added, since, for the TradingView backtest, the money is infinite and if you do not limit it somehow,
it would offer you much better profits than the live trading.
QuantityOnLong = Spot ? (EquityPercent / 100) * ((strategy.equity / close) - strategy.position_size) : (EquityPercent / 100) * (strategy.equity / close)
• The option to stop the system when the drawdown exceeds the fixed limit has been added.
Drawdown, as you already know, is a very important measure of risk in trading systems.
The maximum drawdown will tell us what the maximum loss of a trading system has been during a period. This maximum loss is determined by:
strategy.risk.max_drawdown(Risk, strategy.percent_of_equity)
• Leverage plotted on labels added.
█ ALERTS
To enjoy the benefits of automatic trading, TradingView alerts can be used as direct buy-sell orders on spot, or long-close orders with leverage.
Currently there are Chrome extensions that act as a bridge between TradingView and your Exchange or Broker.
This is an example of syntax for this type of extensions. Copy and paste a message like this into the alert window:
{{strategy.order.action}} @ {{strategy.order.price}} | e = {{exchange}} a = account s = {{ticker}} b = {{strategy.order.action}} {{strategy.order.alert_message}}
█ NOTE
Certain Risks of Live Algorithmic Trading You Should Know:
• Backtesting cannot assure actual results.
• The relevant market might fail or behave unexpectedly.
• Your broker may experience failures in its infrastructure, fail to execute your orders in a correct or timely fashion or reject your orders.
• The system you use for generating trading orders, communicating those orders to your broker, and receiving queries and trading results from your broker may fail.
• Time lag at various point in live trading might cause unexpected behavior.
• The systems of third parties in addition to those of the provider from which we obtain various services, your broker, and the applicable securities market may fail or malfunction.
█ THANKS
Thanks to TradingView, its Pine code, its community and especially those Pine wizards who post their ideas that helps us to learn.
If the world is heading toward a equitable new world economic order, let's get rich first ...
Happy trading!
Dynamic Sigma VWAP and Volume Sigma LevelsEver Wondered How can you confidently Identify Reversals / and Trend Direction with Volume ?
So this Script will help you out with that!
What I am talking About?
1. Volume Standard Deviations Spikes being Projected Over the Price
2. Dynamic VWAP being Calculated from the Points of extremities in Volume Action {estimated using Standard Deviation Sigma Level}
So,
This is how sigma levels of 1sigma, 2sigma and 3sigma will look over the volume
Whenever Volume Spikes through these Sigma Levels,
Price Projections are Formed by this Indicator, both on Current Timeframes and Higher Timeframes Prices
So,
This is what price projection of Volume Sigma Levels (1,2,3sigmas crosses) will look if projected on Same Timeframe period
And This is how they look on chart using Higher Timeframe Period, (Default Higher Time Frame is 60mins, You can tweak as per your convenience)
Once All the Sigmas are projected Over the Price,
Dynamic VWAP is calculated from the points where volume crosses current Time Frame 2sigma and 3sigma Levels
see,
This helps out in figuring a lot of things in the price volume action!
Play with it, and Enjoy!
Long only strategy VWAP with BB and Golden Cross EMA50/200
This is strategy, mainly designed for stock markets
It makes uses of the EMA 50/ 200 ( Golden cross) and VWAP and Bollinger bands.
It only takes long positions. It can be adapted to all time frames, but preferably to be used with longer timeframes 1h +
The rules for entry are the next ones :
1. EMA50 > EMA 200
2. if current close > vwap session value
3. check if price dipped BB lower band for any of last 10 candles
EXIT RULE
1. price closes above BB upper
STOP LOSS EXIT
1. As configured --- default is set to 1%
Stock Market Strategy : VWAP, MACD, EMA, Breakout, BBHello there,
Today I bring you a stock market strategy, specialized in NASDAQ stocks.
Its a daytrading strategy, that can only do a max of 1 trade per day. In this case it only trades the first 2 opening hours of the market.
The rules are simple :
We follow the trend based on a big EMA, in this case 200, after that, we check for VWAP direction , then, we check histogram from MACD. This is the simple logic of the strategy.
Inside there is another strategy, that not just do the above, but also uses Bollinger bands, and checks for breakout of bottom or top line. Also it uses Average directional Index, for even a bigger criteria .
So for example a long condition it would be : candle is above the ema, and candle is above vwap, and histogram is positive, and candle break the top bb level and ADI < 40 -> long signal . The opposite works for short(ADI > 20).
In this case all this criterias are between the first 2 hours of market. So we enter between the first hour, and exit in the next hour. For this we need to use very short time frames.
Hope you enjoy it.
Let me know if you have any questions
[CP]VWAP + 9 Moving Averages + 3 Jurik MA9 Adjustable EMAs with offsets, with two of them having the option of adjustable 'bands' around them.
VWAP line along with an offset and adjustable 'band'.
Incredible 3 Jurik Moving Averages!
A single indicator giving you infinite options to play around with EMAs, VWAP and the amazing JMA.
Note: The bands look best in dark mode.
BNF VWAP & MAThe script picks up Bank nifty stocks with their current respective weights and plots a Volume Weighted Average Price ( VWAP ) line along with 2 EMAs of your choice and an alert when the EMAs cross over and also when price crosses VWAP .
You can customize the script for MA type and lengths and to remove alert. Basic utility of the script is to analyse volumes driving the Bank Nifty index.
Credits to @daytraderph and his script (Custom Volume ) who's code I used to build this script. Also thanks to my friend @Varun who helped me code it.
WOMBO COMBO: EMA & VWAP & MACD & BB & STCHello my fellow investors,
After hours of reading, backtesting, and YouTube video watching I discovered that EMA, VWAP, BB, MACD, and STC produce the most consistent results for investment planning. This strategy allows you to pick between the aforementioned indicators or layer them together.
It works on the pricipal of:
1) Always follow the market trend - buy/sell above/below 200EMA
2) Follow corporate investing trends - buy/sell above/below VWAP
3) Apply MACD check - buy--> MACD line above signal line and corssover below histogram \\ sell --> MACD line below signal line and crossover above histogram.
4) Check volitility with price against BB limits upper/Sell or lower/buy
5) When STC crosses about 10 buy and when it drops below 90 sell
6) Exit position when stop loss is triggered or profit target is hit. BB also provides a parameter to exit positions.
This code is the product of many hours of hard work on the part of the greater tradingview community. The credit goes to everyone in the community who has put code out there for the greater good.
Hikkake PatternLifted description from web:
Hikkake means to trap, trick, or ensnare. Primarily, this price pattern seeks to identify inside bar breakouts and profit from their failures.
An inside bar is a price bar that is entirely within the range of the preceding price bar. Inside bars are typical on price charts of most timeframes.
While you’ll often find inside bars in congested markets, they also offer a low-risk entry point for price action traders. The contracted range of an inside bar offers a natural tight stop-loss.
Hence, inside bar breakouts seem attractive. However, if you are patient and focus on identifying false breakouts, you might be able to find more reliable trading setups in the form of Hikkakes.
In a nutshell, the Hikkake pattern offers a systematic approach to trading false inside bar breakouts.
As a filter I incorporated VWAP into the code to only trigger Bullish / Bearish signals when price is Above/Below VWAP respectively. The ATR is used to create a Stop buffer (red cross) for the Entry signal ( green dot ). The R1 and R2 (orange squares) are two possible profit targets that are customizable to different Risk multiples based upon the difference between Entry and Stop.
BAT Multi Anchored VWAPMulti Anchored VWAP which includes:
BTC Key Pivots
SPX Key Pivots
Yearly Opens
5 Adjustable Dates
Works on all assets, unlike some VWAP calculations.
Colored Volume Weighted Average PriceSimple addition to the standard VWAP indicator.
If price is above VWAP the plot is colored green. If below plot is colored red.
Colors are configurable.
You can also choose the source for price (i.e. open/low/high etc)
Dynamic VWAP StrategyThis powerful Pine Script indicator integrates the principles of stochastic control and dynamic risk management to optimize futures trading strategies. Combining VWAP bands, Gaussian moving averages, stochastic oscillators, and ADX-based trend filtering, this tool empowers traders with a multifactor approach to identify high-probability entries and exits. Built for adaptability, the strategy dynamically adjusts to trending and range-bound markets, while ATR-based stop-losses ensure precise risk control. Perfect for traders aiming to align with advanced concepts from modern quantitative finance.
Mazhar ema+vwap v6Here we can use 6 Ema's along with vwap and Bollinger band in just one indicator. Try it and edit as per your need
CPR - EMA 21/64/100/200/300 VWAP 3 ST NagaCPR 5 EMA 3 ST VWP -- NAGA
TIS is having cpr with 3 s1 s2 s3 and r1 r2 r3 and vwap and 3 super trends and 5 emas ema 21 ema 64 ema 100 ema 200 ema300
Bollinger Bands+ VWAP+Super trend by Prashant MohiteBollinger Bands 3 types plus VWAP plus 2 super trends Super trend
Trading TimesThis script is based on the 9 and 20 EMA Strategy and combines Fibonacci Levels for added confluence.
When the price retests after breaking the EMAs, we take the trade in the same direction. That is on breakup, we take a long and on a breakdown we take a short.
VWAP can be enabled from settings for more data. institutions use it to average out their trades for both buy and sell orders.
Custom VWAP + ATR (D.Kh)Линии VWAP и ATR на выбранном инструменте ATR (Average True Range) — это индикатор, измеряющий среднюю волатильность цены за определенный период. Он используется для установки стоп-лоссов, определения рыночной волатильности и создания торговых стратегий. Рассмотрим, как его реализовать и использовать.
Moonhub IndexMoonhub Index combines several popular technical indicators to create an aggregated index that aims to give a clearer overall picture of the market. The index takes into account the current market condition (trending, ranging, or volatile) to adjust its calculations accordingly.
The indicators used in this composite index are:
Hull Moving Average (HMA)
Fisher Transform (FT)
Williams Alligator
Moving Average Convergence Divergence (MACD)
Average True Range (ATR)
On-Balance Volume (OBV)
Money Flow Index (MFI)
Accumulation/Distribution (AD)
Pivot Points
True Strength Index (TSI)
Volume-Weighted Average Price (VWAP)
The script calculates the values of each indicator and then normalizes and weighs them according to predefined weights. The composite index is formed by summing the weighted values of each indicator. The final Moon Index is plotted on the chart, along with several other related lines like the exponential moving averages (EMA) and simple moving averages (SMA) of the index.
This custom index can be used by traders to get a more comprehensive view of the market and make better-informed trading decisions based on the combined insights of multiple indicators.
ZenBot Signals - Trend StrengthI developed this indicator as a "regime detection" for my algo trading bot. It uses the ADX +/- values with a few twists.
- If ADX DI+ is over 30 and DI- is below 20 and falling (inverse for shorts)
- Price action rising/falling thru various VWAP standard deviations indicates a strong trend break
- Some other custom juju (open source so have fun).
I use this primarily to monitor the SPY index as a backdrop for my long and short trades. If the colored line below price bars is red or green, a strong trend is present and there is a decent trade environment.
Bollinger BandsThis is the combination of three indicators (BOLLINGE BAND+VWAP+EMA200)
CREATED BY ANKR SINGH