VWAP-ATR-SSLThis is an experimental idea to transform the original script created by @Fleite28 in a kind of SSL with volatility bands.
@Fleite28 has made all script and he have all credits, I just give him this idea.
I'm using this indicator to confirm:
1-potential bull trend (when you have 2x green lines with support)
2-potential bear trend (2x lines red - resistance)
3-consolidations (inside green support and red resistance).
Try to use this with a Market Profile Volume and some trend lines.
ATR
HalfTrendA popular trend indicator based on ATR. Similar to the SuperTrend but uses a different trend's identification logic.
I am publishing a disclosed code without license. Remember that in the future you may see a lot of paid IO scripts called BuySellScalper, Trend Trader Karan, Trend Trader and etc (by other authors) which will be based on this script. I found the same script on Ebay for $10 with a free shipping. Beware, always check and follow one Russian wisdom: "Do not pay for something you can get for free".
Renovation-10 (Including 10 Traditional Indicators)This idea is not rare. It is just a combination of 10 most well know and traditional Indicators to form one renovated indicator. There are Moving Average (MA), Volume (V), Bollinger Band (BB), Relative Strength Index ( RSI ), Stochastic RSI, Modified Stochastic RSI, Moving Average Convergence Divergence ( MACD ), Average directional index ( ADX ), Average True Range (ATR) and Parabolic Stop and Reverse (PSAR). These indicators most I found was just showing entering position strategic alone. I just want to know how well them work together when combination. I modified many times and thinking for the strategic enter and exist position with the choice of these 10 indicators to maximize the profitability which shows in strategic tester in every stock and conditions.
THEORY:
Fluctuation of price is like a Wave which I categorized it into four period. They are Sideway, Breakout Positive and Negative, Retracement and Consolidation. Breakout is rare to happen, either go up or go down. After a breakout usually will have small retracement, then trend will go for sideway. After long period of sideway, the wave is starting to run out of energy and there will be consolidation period.
STRATEGIC OPTION:
S: Sideway Period
B: Breakout Period
R: Retracement Period
(+): Buy
(-): Sell
PROBLEM:
1. Not performing very well at very penny stock which the graph looks like barcode.
Suggesting can change daily graph to weekly graph to avoid.
2. Be careful with Sideway entry signal because sometimes price may continue go down. You will stuck at middle if you enter without confirmation.
Confirm the price is stable at support by current low is higher or equal to past three to five day low before entry.
3.Always remember Breakout is rare, do not push for luck
Always make profit at Sideway and Retracement trend. Can Sell half only at BB when breakout buying signal is available, to avoid losing chance of chasing breakout.
4. Breakout selling signal 2 may delay
After breakout, make sure sell all when 2-3 red candle appeared or When BB is squeezing.
5. Other tools may required to confirm entry position.
These combination strategic is more to personal experiences and knowledges, it hard to adjust in coding for strategic position.
This is my first publication and I just do it for fun, having fun in reading the script and creating own ideas.
Information provided is only educational and sharing , should not be used to take action in the markets.
MM AverageTrueRangehUllFeatures:
- Powerful 2 calculation used in one. Average True Range Multiplier & Sensitivity.
- Clearly shows trend direction, volatility , momentum & sentiment of any financial market.
- Dynamic stop loss levels formed by the help of average true range calculation which are produce right from the long or short signal and does stretch until the opposite directional signal appears.
- Generates potential long and short trade signals using complex formula of volatility , momentum and trend following.
- ATR calculation method can be changed from normal (ATR) to SMA version true range inside setting by ticking or unticking the input function named “Change ATR Calculation Method?”.
- Long and short signals labels can be turn off/on using “Reveal Long/Short Signals?”. - Background color can be shown/hidden using “Signal-light Show/Hide?”.
- Alert feature available for long and short signals.
Important two main settings of ATRH indicator:
1. ATR Multiplier
o A retail trader should adjust the setting depending on the financial market, instrument and timeframe as per required.
o Basically, higher timeframe has more range in price so ATR multiplier can be set higher.
o ATR multiplier value lower can produce more signals which will be as more trades opportunities but it can also lead to fake signals. 3-5 value is producing reasonable signals in any timeframe either it be lower or it be higher. If a trader by mistake doesn’t set a proper input value then the whole indicator could even function poorly so this setting must be used wisely.
2. Sensitivity
o Sensitivity can be from 0 to 1. It can be also integer or floating-point number example: 0.1, 0.3, 0.8 etc.
o It is used to control the signal generation speed by 3 to 5 candle bars before (if the value is set higher) or after (if the value is set lower) during the time of condition meeting for either long or short signals.
o Depending on any financial market or instrument sensitivity value should be managed well by a trader for his/her needs taking consideration on the nature of that particular financial market or instrument & timeframe.
Use link below or PM us for access you this indicator. Happy Trading
Running Bound based on ATR multiplierThis script basically uses default ATR and then
Multiplies with ATR multiplier (3 for crypto and 2 for forex) - you can change the values from the settings if you like
Adds/subtracts from the current price
And tries to find a bound on both side of price
VBand StrategyVBand Strategy is simply used Vwap funcation and atr 14 for find the entry and exit points. This simple Strategy.
ATR Compression/expansionThe indicator is used to gauge the short term volatility of the instrument relative to its long term volatility.
The green columns of histogram represent lower short term volatility relative to long term, whereas Red columns of histogram represent Higher short term volatility relative to long term.
Higher the bar higher the strength of the signal.
This indicator is inspired by Matt Caruso's(Canslim Champion investor) chat on Richard Moglen's(Champion trading youtuber) podcast.
Phoenix085-Strategies==>MTF - Average True Range + MovAvgFIRSTLY, Here are a few who have influenced my pinescripting immensely recently:
@JustUncleL
@BigBitsIO
@TheArtofTrading
@QuantNomad
@SquigglesNiggles and many many many more.
Overview:
> This indicator is a simple crossover of Moving Averages.
> In addition I am using ATR rising as an indication for Trending Price.
> The entry is made once the smaller moving average crosses the bigger moving average, and also the Closes above the Smaller moving average.
> but the only twist here is,
- the ATR source is One timeframe Higher(In this case same as the session).whereas the source for the Moving averages is one Timeframe Lower.
>i.e., if the Session is 1D, the Indicator checks if the ATR is rising in the DAILY TIMEFRAME,
*_* the trade entry is made once the MOVING AVERAGE crossover happens on ONE TIME FRAME lower, as per example, ATR --> 1D = MA -->4H.
> Moving Average ->
- Thick -> Bigger MA,
- Thin and Transparent -> Smaller MA,
> Also, the Color of the Thicker MOVING AVERAGE Changes as Below:
- When LongCondition is satisfied --> Color=Lime
- When ShortCondition is satisfied --> Color=Red
- When neither condition is satisfied --> Color=Gray
NOTE:
1) There is a limitation in using the Securities function for FREE USERS --> Only 500 bars are allowed. So to use the indicators with more data, you need an upgraded TV account.
2) Strategy still needs Fine tuning, but for now, use the Thicker moving average color LIME FOR LONG ENTRIES and RED FOR SHORT ENTRIES.
This is Free for Use and share
ATR Volatility Bars 1.0This script will be featured in upcoming video ideas about catching liquidations spikes in cryptocurrencies.
The script measures the unique size of each bar compared to the Average True Range (ATR) of the evaluation period. The evaluation period can be set in the inputs. The desired benchmark for what will be highlighted is also set in the inputs as a percentage. The default settings are to evaluate the last 26 bars for ATR and highlight bars that are 300% or larger than ATR.
When a bar meets the criteria of the indicator it will show a label and highlight the bar accordingly. The user may select the indicator to only show Buy or Sell opportunities. The indicator has alert functionality.
Elder Force Index With ATR ChannelsInspired by the new version of the "Force Index" announced by Dr. Alexander Elder a few years ago - "Elder Force Index With ATR Channels".
Unfortunately original version of script only works on MetaTrader platforms, so this is an attempt to
implement this great idea on TradingView too.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Here is original script explanation by Dr. Elder himself
-------------------------------------------------------------------
Adding Average True Range (ATR) channels to Force Index had been suggested by Kerry Lovvorn.
Adding these channels turns Force Index into an excellent tool for identifying intermediate tops and bottoms.
Force Index with ATR channels does not catch all turns, but the ones it identifies deserve very serious attention.
Note: the word “true” in Average True Range refers to dealing with price gaps. Since there are no gaps in Force Index, here ATR is the same as the Average Range.
Whenever the Force Index rises above or falls below its 3-ATR channel, it signals that the ticker has reached an area of an unsustainable extreme.
That’s where rallies and declines become exhausted and prices tend to reverse. This is one of very few tools that are equally efficient in calling both top and bottom areas.
In our experience, these signals work especially well on the weekly charts.
Of course, users are welcome to experiment with them in any timeframe.
One possible option is to use the new Force Index with ATR Channels on your weekly charts and the original Force Index on your daily chart.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- The Force Index is drawn in blue with a thick line.
- The Averaged Force is a solid red line.
- The upper and lower bands at 1 ATR are drawn in dotted lines.
- The upper and lower bands at 2 ATR use dashed lines.
- The upper and lower bands at 3 ATR are solid gray lines.
- Red dots placed above the plot when the EMA of Force Index rises above the 3-ATR channel.
- Green dots placed underneath the plot when that EMA declines below the 3-ATR channel.
***** Original script programmed to truncate values at the 4-ATR level to prevent any extreme value from flattening the rest of the plot -
- I'm not yet implemented this feature here - hopefully coming soon.
[JRL] ATR Pivot PointsThis indicator plots pivot points with support and resistance lines based on average true range (ATR). ATR is one of the best volatility and trading range predictors, so it can be very useful for finding confluence in any strategy.
Indicator - ATR Profit Loss - DGHi Traders,
This is an on chart indicator that can be used for setting take profit and stop losses very easily using the Average True Range Indicator (ATR). Using a volatility adjusted TP and SL will allow you to set your targets and losses based on market conditions. In the settings, you are able to adjust how much of a multiplier you require depending on your risk tolerance and strategy. For those that follow the NNFX method, the defult settings are preset to 1xATR TP and 1.5xATR SL.
How to use:
- For longs, 'isLong' box must be ticked, for shorts, this box is unticked
- For longs, green line is TP, red line is SL
- For shorts, red line is TP, green line is SL
Regards,
Dillon Grech
EMA ATR Engulfing CandlesThis is good old EMA (Exponential Moving Average) with a twist. The EMA line is surrounded by ATR on either side giving you visibility on how market breadth is working out.
The icing on this cake is in the form of engulfing candle indications. Whenever the engulfing candle happens to be inside the size (that's upper and low ATR area limits around EMA) and the engulfing candle has closed in the appropriate direction, the signal triangle comes up. To understand this...
The signal appears only if one of OHLC price point of engulfed and/or engulfing candles are within upper and lower ATR areas around EMA
When there is a bullish engulfing candle, and the close of the candle is above EMA, a green triangle comes up below the candle
When there is a bearish engulfing candle and the close of the candle is below EMA, a red triangle comes up above the candle
The settings enable you to set the following
Length of EMA (default is 200)
Length of ATR (default is 12)
Resolution of EMA independent of the chart timeframe (default is Daily)
Price type (default is hlc3)
Trade zone width in number of ATRs on either side of EMA (default is 1)
Other settings to adjust display
I have been using this in different timeframes to generate signals and found that it generates pretty good alpha.
Feel free to write to me if you have any ideas that can improve this further or if you wish to discuss how to properly use this.
ATR Stop (Adaptive and Advanced)Hi everyone I am excited to share with you all a tool that has been in a lot of my research lately I and think would greatly benefit everyone.
In the last years I have fallen in love with ATR stoplosses/ stop and reverses. However all the ones offered in the community lacked the features that I wanted to have, so I built them all myself and want to share them with you all today!!!
Assuming that you are already familiar with ATR stops, here is what is new and improved with this version:
1. This script takes anything as an input! As you can see in the chart above I have used an EMA as an input into this script and this greatly smoothed out the results while still allowing for phenomenal entries with minimal whiplash. You can use this tool on anything now, from moving averages to oscillators.
2. Previous scripts were not adaptive, you can now choose how adaptive this script is! Increasing this number allows this ATR stop to follow price when it is running away so you don't have to give back much profit. Likewise it makes sure that the ATR stop slows down when the market is ranging so you wont get randomly stopped out.
3. You can now get it to start at the exact moment you enter your trade! Previous scripts had the ATR stop running forever which wasn't helpful if you only needed it for your own trades. You can now set it to start at the exact time of your trade if that is the only time you need it!
4. Now you can easily get alerts when the ATR stop gets hit.
Hope this helps you all!
ATR Stop [COFUTrading]ATR excluding price spikes for a more correct calculation of average volatility and setting a stop loss.
DTR vs ATR w RVolDTR vs ART along with Relative Volume in Percentage. So if you see RVol as 200% with input length of 10 days, today's volume is 2x compared to past 10 days. It helps if today's volume is already reached 20% or 30% within 30mins of market open, etc.
ALMA PPO with Volume Weighted ATR BandsAlma PPO with a percentile eq and atr bands using volume weighted alma. Volume weighted alma idea from rumpypumpydumpy. All code is from the open source library.
PMax on RSI with Tillson T3Profit Maximizer Indicator on RSI with Tillson T3 Moving Average:
PMax uses ATR calculation inside, for this reason users couldn't manage to use PMax on RSI because RSI indicator doesn't have High and Low values in bars, but ATR needs that values. So I personally calculate RSI in a different way to have High and Low values of RSI wrt price bars.
IMPORTANT:
Because of the sudden movements and divergences on RSI, this indicator must firstly optimized for the charts before using. Optimization can be held by users for the meaningful parameters for each chart.
3 parameters are critical when optimizing:
First: Multiplier
Second: Tillson T3 Length
Third: T3 Volume Factor
Here are some information about Profit Maximizer:
PMax Indicator:
PMax Screener and Strategy:
MACD Strategy with trailing ATR stopThis is a trend based strategy that uses EMA and SMA intersection for determining the direction of the trend and MACD for the entry signal. At the same time, the strategy uses ATR, which is working as a trailing stop.
The strategy entry will work when the Trend ribbon will turn green and MACD line will crossover the signal line. This strategy also takes into account the pyramiding and allows to enter the second time if the signal will repeat itself.
There are 3 exit points. The first 10% of the position will be closed when the price will increase by 1%. The second portion of 50% will be closed when the price reaches 5% Take profit target. The remaining 40 % of the position will wait for the exit signal which will occur when the price closes below the ATR line.
The strategy is using a fixed amount in dollars, each time the entry occurs the strategy will enter with 100$ in the order.
The strategy can be applied to other crypto assets. However, they will require input changes.
Best of luck with your trading.
Institutional PivotsToday I propose a novel idea of plotting pivots, this can be also considered as Value areas/Noise areas.
*What is it?
Its a simple concept of gauging price action with respect to its most time spent in a particular range, this is usually denoted as Value area in the Market profile concept, where that "most" word is represented by 70% of the price action.
*What's different from the Market Profile?
Market profile is dependent on real time price movement to complete to see the value area or noise area to plot a static area, there is always a possibility of it shifting as price may move outside of it, and hence its called "developing value area", till of course session is closed and plot is finalized.
While that method is solid indication of "actual price profile" development, it lacks when it comes to offering traders a more stable view to enable them to make decisions. And therefor, when traders trade MP they are usually limited by the number of trades they can take.
This is the main reason as to why traders prefer to use other methods like Pivots/ORB/Range-breakouts over pure MP charts, even though latter reduces the possibility of wrong estimations of "support/resistance working/holding".
*Why the name Institutional Pivots?
In my research I've found that these Pivots/Value area/Noise area ranges are often the areas watched by the big players who trade breakouts or mean reversion strategies, so while that name may sound dubiously clickbaity, it is indeed intended to represent an observation. I know how that sounds, but you can choose to ignore it if you do not agree or see good results after using it. After all, its free to use for everyone.
*Nomenclature/colors and settings?
Noise area/Value area/Central Pivot area - Designated with Yellow labels, in which NU represents the Upper level and ND represents the Lower level
Targets - Target calculation mechanism is based on " today's price action" and today's Open, D1 and D2 represent down targets for the day and U1 and U2 represent upper targets. Please note that this is independent of the "Noise area/Value area/Central Pivot area", so overlap of levels is possible. AND if overlap happens, that's an indication of more strength at S/R line/area for the price.
One more thing to note here is that if there is formation of the new low or new high in the day, those levels will change as their calculation gets influenced by the same. This is NOT a repaint issue, this is SHIFT/FORMATION OF THE NEW levels and it's an "intended" behavior.
Open and POpen - Open represents open of the time-frame selected and POpen represents previous open of the time-frame.
Lable's starting with "H" are indicating higher Timeframe levels, levels which are same as above.
ATR based targets - When you enable this in settings, you will get target calculation based on ATR (self explanatory)
Full ATR mode - When you enable this option, you will get both Noise area as well as targets based on ATR, please don't forgot to turn off the ATR based targets when you enable this, as they conflict with each other.
I've not kept lines, area plots or even price levels as I feel it's just noise and takes away from the indicators main focus, please don't ask to add them, I'll not.
This is meant as purely educational idea, if you use this to trade, it is at your discretion and responsibility will be yours alone.
Past performance is not assurance of the future performance.
More example chart/s
DTR vs ATRThis script shows DTR vs ATR (Today's True Range vs 14 days Avg True Range) along with percentage. The label automatically changes color based on percent value. <=70 is GREEN, >=90 is RED and between 70 & 90 is ORANGE.
The location of the script not stick to one place. There is no such a functionality to keep it static at one location (like top right corner). But I think that feature is coming soon. I may be wrong.
VWMA_withATRstops_strategyThis strategy follows the trend when price is above VWMA indicator. I have modified entry and exit rules to get most out of it.
Instead of entering LONG when price crosses above VWMA, I have used RSI(14) of VWMA . that way it skips the false signals. (some extent)
ENTRY
========
1. VWMA setting is 33
2. When RSIofVwma is above 30 enter Long ( and also checks if price already broke the ATR Stop above line )
Stop Loss and Exits
==================
1. Exit is when price breaks the ATR stop loss
2. ATR setting is set as same VWMA Length and multiplier is 3.5
3. STOP Loss that I mentioned in the settings is being used to calculate the how many units can be purchased based on risk of capital value.
Note: There is NO hard stop loss. having above ATR stop loss works as Trailing stop loss
Warning
=======
For the educational purposes only
Daily GAP StatsI did not write the script from scratch but rather started editing code of an existing one. The original code came from a script called GAP DETECTOR by @Asch-
First up: I am a trader, not a programmer and therefore my code most likely is inefficient. If someone with more expertise would like to help and optimize it - feel free to get in touch, I am always happy to learn some new tricks. :)
This script does 2 things:
- It shows daily gaps stats based on user inputs
- It shows color coded labels on gap days with additional information in tooltips ( important: make sure to read 'known issues/limitations' at the end )
User Inputs
==========
Although the input dialog is pretty straight forward, I do a quick rundown:
- Length: max lookback time
- Gap Direction: self explanatory
- Show All Gaps | Cont Only | Reversal Only | Off:
This refers to the way labels are displayed on gap days (again: make sure to read known issues/limitations!)
- Show All Gaps: does what it says
- Cont Only: only shows gaps where price continued in the gap direction. If you filter for gap ups and chose 'Cont only' you will only see labels on gap days where price closed above the open (and vice versa if you scan for gap downs).
- Reversal Only: you will only see labels for closes below the open on gap up days (and the opposite on gap down days)
- Off: self explanatory
- Gap Measure in ATR/PCT: self explanatory, ATR is calculated over a 10d period
- Gap Size (Abs Values): no negative values allowed here. If you filter for gap downs and enter 3 it means it will show gaps where the stock fell more than 3 ATR/PCT on the open.
- RVOL Factor: along with significant gaps should come significant volume. RVOL = volume of the gap day / 20d average volume
- Viewing Options: Placing the stats label in the window is a bit tricky (see knonw issues/limitations) and I was not sure which way I liked better. See for yourself what works best for you.
Known Isusses/Limitations:
=======================
- Positioning of the stats table:
As to my knowledge, Tradingview only allows label positioning relative to price and not relative to the chart window. I tried to always display the gap stats table in the upper right corner, using 52wk high as y-coordinate. This works ok most of the time, but is not pretty. If anybody has some fancy way to tag the label in a fixed position, please get in touch.
- Max number of labels per script:
TradingView has a limitation that allows a maxium of ~50 labels per script. If there are more labels, TradingView will automatically cut the oldest ones, without any notification. I have found this behaviour to be rather inconsistent - sometimes it'll dump labels even if there are a lot fewer than 50. Hopefully TradingView will drop this limitation at one point in the future.
Important: The inconsistent display of the gap day labels has NO INFLUENCE on the calculations in the gap stats table - the count and the calculations are complete and correct!