ATR + PSAR Trailing Stop (Expo)This ATR + PSAR Trailing Stop indicator is unique. It comes with new ways of calculating ATR and PSAR to enhance performance and accuracy as well as give clarity in trends. The indicator can be used standalone or as a part of your current trading strategy.
ATR + PSAR Trailing Stop (Expo) is a trailing stop indicator that combines ATR and PSAR to enhance the calculation of the trailing stop. This indicator works well in all types of markets, for example, in a trading range or in a trending market, etc.
The user can choose between the following ATR Settings:
Quick ATR
Adaptive ATR
Follow the price closely - ATR
Standard ATR
Trend ATR
The user can enable Trend ATR which displays the overall market structure. If the Trend ATR line is above the price we have a negative market structure, and if the Trend ATR line is below the price we have a positive market structure.
Real-time
No repainting
Works on any market and in any timeframe
HOW TO USE
- Use the ATR + PSAR Trailing Stop as a stop-loss.
- Use the indicator for taking a position when price crosses the ATR trailing line or taking a position when price crosses the PSAR circles.
- Use the indicator to identify the current market structure and trend.
The indicator can be used standalone or as a part of your current trading strategy.
INDICATOR IN ACTION
1-hour chart
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 continually work on this indicator, so please share your experience and feedback as it will enable me to make even better improvements. Thanks to everyone that has already contacted me regarding my scripts. Your feedback is valuable for future developments!
-----------------
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 the 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!
ACCESS THE INDICATOR
• Contact me on TradingView or use the links below
ATR
CC - ATP (Auto-Trendline Projection)I created this script with a simple goal in mind: Automatically plot trend-lines for a given interval with a resolution that fits the period chosen.
To accomplish this I used a combination of the following:
Ichimoku Spans and Ichimoku Span Width.
ATR and standard deviation from the ATR of the Ichimoku width.
Rolling MACD with directional RSI for coloration based on acceleration.
I then combined all of these pieces of data into a single label and line plotter, so that you can see the assumed trend-lines for the current period based on the interval selected. It attempts to avoid using look-ahead logic by resolving using security, and plotting based on the suggested methodologies.
Inputs:
n (this must be the smallest number). - This is usually 7,14 or 26 depending on the resolution you're going for.
m (must be m > n and m < o). - This is usually something close to 14,26 or 52.
o (must be o > m and o < p). - This is usually something close to 26,52 or 180.
p (must be p > o). - This is usually just o * 2 or 52, 180 or 360.
Show historical data - Keeps some of the lagging trend-lines at intervals of m, o and p.
Precision - The decimal precision to round to, useful if you need this for BTC or penny stocks.
Common Inputs I use:
n=7, m=14, o=26, p=52
n=14, m=26, o=52, p=180
n=26, m=52, o=180, p=360
You can use any numbers, but roughly you want:
m = n*2, o = m*2, p = o*2.
The labels contain the following information:
Expected Support/Resistance levels
The first level is assumed to be heading to the second level.
For instance, if you have S1 down to R2, that means a support is likely to become a resist.
If you have, instead, R1 up to R2 that means the resistance is moving up, but is still resist.
S1 down to S2 is similar in that it means the support level is moving lower but is still sup.
R1 up to S2 is the one that you want to look for as it indicates potential swings.
More-overly, R1-->S2 or S1-->R1 indicate pivotal moments.
MACD / RSI for the given period.
Pretty simple, it's given to the number of decimal places offered by the inputs.
Price Targets.
If it's above the price target area, that means the swing already probably happened.
If it's in the price target area, you're at a pivotal moment; it could go up or down.
If you're below the price target area, watch for catalysts that force price target entry.
WARNING:
Please note, all of this is trend analysis and can be completely demolished in an instant by a catalyst. If there is a huge retracement event, you MUST WAIT A MINIMUM OF THE INPUT PERIOD OF TIME FOR THE STOCK TO SETTLE. If you have a retracement within n-m periods for instance, the short data will be inaccurate. If you have a retracement from m-o the mid data may be inaccurate until it triggers retracement. Same with o-p on the long level. The higher numbers you use, the less reactive the script, but the more historical data it will consume. For instance high numbers may be good for amazon, so you have less reaction to big dips, as you are not afraid because it is a strong company. While this is good on strong companies, it is suicidal for unknown ones.
DISCLAIMER:
I do NOT state anywhere that the data provided by this indicator is valid, forward looking, or guaranteed. If you make a trade based on this indicator I am in no way responsible for the outcome. All trades should be backed by personal due diligence and not rely directly on the indicators of others, as they may contain unfound bugs, incorrect math or look-ahead logic that is potentially dangerous. One final disclaimer, I am a programmer at heart, and am new to this field of study. While I have found a group of supportive friends, do realize I have been at this for less time than most others, more notably I started on 8/16/2020. Please shower me with constructive criticism and other thoughts you have.
Please take this script and view it as a learning experience not a tool for money as of this moment, if you have further questions about me or my scripts, please feel free to message me.
PT TMA BandsVersion 1.0 of our TMA Bands is a visual of areas of interest. The purpose of this indicator is to determine where the price will likely bounce or reject. When an asset is ranging, it very well respects the neutral (middle) zone. The highest RR trade setups are when the price goes from one end of the bands to another.
The bands included are of an ATR multiplier based on multiple moving averages. Each moving average has a unique feature that offers a high probability reaction when price gravitates towards it. We have color-coordinated the bands into three zones. The Main zone being the middle area where the asset tends to play ping pong & range, Top zone, which offers the best RR for shorts & the bottom zone, which provides the best RR for longs.
Strategy:
When scalping or swinging, always look for shorts close to the red zone as possible with a stop loss above the red band. When longing, always look for longs close to the green zone area with a stop loss below the green band. Anything in orange is a neutral zone, which will confirm the asset is more than likely ranging. I don’t advise taking trades in that zone unless you have solid risk management. When playing the macros, H12+ always look for price to find support at the orange (middle) band before deciding on a shift in trend. If the asset breaks down from the orange (middle) band, you usually get a retest of that band before further downside. Also, something to consider, if you punt longs at the green zone, you want to target the orange (middle) band. If you punt shorts at the red zone, you want to target the orange (middle) band. I usually take 70% off at the middle band & let the rest run if ultimately end up in the opposite zone.
This Oscillator is best with the buy/sell signals we provide. It offers extra confluence with stop loss & targets. I enjoy using it on all time frames for swinging & scalping. It is included as part of the library. Just message us for access!
Daily Average True RangeThis script should give you a quick idea how far your stock has moved intraday compared to the ATR.
Rolling ATR Channel (Expo)Rolling ATR Channel (Expo) is a sophisticated indicator that identifies the underlying trend as well as identifies ATR based trading ranges. In a trending market, the price will be within the Upper or Lower band. If the market is in a trading range , the price will bounce between the upper and lower ATR zones, until the price breaks through and creates a new trend. The user will no longer have to guess in which state the market is in, the indicator displays it clearly.
So, the indicator displays real-time Range (ATR based) support and resistance zones as well as if the market is in a trend.
If you know the current market state, you have the ability to choose the most applicable market strategy.
Real-time
No repainting
Works on any market and in any timeframe
HOW TO USE
- Use the indicator to identify trading range support and resistance zones.
- Use the indicator to identify when the price breaks through the trading range.
- Use the indicator to identify if the market is in a trend.
INDICATOR IN ACTION
4 Hour chart
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 continually work on this indicator, so please share your experience and feedback as it will enable me to make even better improvements. Thanks to everyone that has already contacted me regarding my scripts. Your feedback is valuable for future developments!
-----------------
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 the 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!
-----------------
ACCESS THE INDICATOR
• Contact me on TradingView or use the links below
ATR Trailing Stop Strategy by ceyhunSame coding only coloring and strategy version added
//Barcolor
Green = Trail1 > Trail2 and close > Trail2 and low > Trail2
Blue = Trail1 > Trail2 and close > Trail2 and low < Trail2
Red = Trail2 > Trail1 and close < Trail2 and high < Trail2
Yellow = Trail2 > Trail1 and close < Trail2 and high > Trail2
//It gives White color where there is deterioration.
Let's not use InfoPanel in strategy, it would be wrong as it signals the next day.
ATR Trailing Stoploss StrategyI am sharing the strategy version of the indicator used before. It is very simple to use.
These are the settings I use, you can change, test and use as you wish.
Atr Period 5
Highest High Period 10
Multiplier 2.5
It can generate more signals in shorter time frames.
The success rate will be higher in longer time frames.
Supertrend Screener LABELThis screens for Supertrend reversal's in 10 different securities. The main logic for the screener is taken from "Simple Custom Screener in Pinescript" by QuantNomad with his permission. If the label color is not visible due to the text in it being white colored, then choose a different color from settings. Also added a simple supertrend to it.
Terminology explanation:
Confirmed Reversal: Supertrend reversal that happened in the last bar and cannot be repainted.
Potential Reversal: Supertrend reversal that might happen in the current bar but can also not happen depending upon the timeframe closing price.
Uptrend/Downtrend : Shows all the tickers that are either currently in uptrend or downtrend.
Dual Volatility StopThis merges Volatility Stop & its MTF version both published by u/TradingView . Background is colored green or red when both the current timeframe Vstop and higher timeframe Vstop point in same direction. Aim is to take the standard Vstop script which differentiates market from only uptrend/downtrend to uptrend/downtrend/sideways. There is a tradeoff with this, that there is no need for the Vstop to be always in a position which reduces trade time & frees up capital. However this leads to situations where it takes slightly more time to catch on to a trend after a reversal.
Green Background = Buy
Red Background = Sell
No Background = Flat
Average True Range %This is a modification to the Built-In Average True Range Indicator that uses the last close to calculate the range as a percentage.
ATR Daily LevelsPlots the daily ATR on the chart as upper and lower levels.
It can be use to adapt your trading in high and low periods of market volatility, determine reasonable target or take profit, entry at likely mean reversion, stop loss beyond normal flows etc...
More on the script behavior:
- Daily ATR upper/lower levels are applied on the current day low/high;
- The ATR value is defined by the last D1 bar;
- Shows up to D1 timeframe;
- Configuration for the indicator's period (default: 20 period ATR);
- Configuration for plotting the indicator on the the x axis with an offset/at begining of the day (default: offset);
ATR Limits | Custom Timeframe | Day | Week | Month | H4 | H1Marks out the ATR limits for your own custom selected timeframe
Allows you to set an "Exact Distance" for the ATR.
Note:
If the "Exact Distance" is set = 0
then an ATR will be calculated for you based on an average of the "ATR Periods"
i.e. By Default: atr(20)
Otherwise if "Exact Distance" is not = 0
then ATR limits will be calculated using your specified distance
E.g. Exact Distance = 0.5
Low of Day = 1.0
High of Day = 1.1
ATR Limit Low = 1.1 - 0.5 = 0.6
ATR Limit High = 1.0 + 0.5 = 1.5
Enjoy!
ATRCD, Average True Range Convergence DivergenceATRCD calculates a MACD over the Average True Range, therefore helping traders to spot momentum in volatility.
The Average True Range is a measurement of the average candle size over a period of time, i.e. when the candles are small, the ATR is low. ATR measures volatility .
The MACD is a momentum indicator. It measures market momentum based on the average closing prices over a period.
Therefore, using the MACD calculation over the ATR we get a measurement of momentum in volatility . The ATRCD is a concept at this point. I was curious to see whether such an indicator could provide any edge trading the markets. Because this is a MACD of the ATR the same concepts can be applied, e.g. spotting divergences, momentum trends, etc. Please be careful however, this indicator only looks like the MACD but it measures volatility and not price momentum . Maybe this can help traders confirm breakouts using price action?
Applying this indicator to the 12h of BTC/USDT we can see that we could be nearing a volatility expansion with a divergence on the histogram, and an ATRCD crossover.
BINANCE:BTCUSDT
BT ATR Display BoxUpdate of the ATR display box.
This indicator now calculates the ATR depending on what ticker is selected and will display the front digits before decimal for ease of reading.
Full strategy AllinOne with risk management MACD RSI PSAR ATR MAHey, I am glad to present you one of the strategies where I put a lot of time in it.
This strategy can be adapted to all type of timecharts like scalping, daytrading or swing.
The context is the next one :
First we have the ATR to calculate our TP/SL points. At the same time we have another rule once we enter(we enter based on % risk from total equity, in this example 1%, at the same time, lowest ammount for this example is 0.1 lots, but can be modified to 0.01), so we can exit both by tp/sl points, or by losing 1% of our equity or winning 1% of our total equity. It's dinamic.
The strategy is made from
Trend direction :
PSAR
First confirmation point :
Crossover between 10EMA and Bollinger bands middle point
Second confirmation
MACD histogram
Third confirmation
RSI overbought/oversold levels
For entries : we check trend with psar, then once ema cross bb middle point, we confirm together with rsi level for overbought/oversold and macd histogram ( > 0 or <0).
We exit, when we have opposite sign, like from buy to sell or sell to buy, or when we reach tp/sl points, or when we reach % basaed equity points.
It can be changed to be fixed lots, or fixed tp/sl , you just have to uncomment the size from entries, and tp/sl lines.
At the same time, it has the possibility if one desires, to trade only concrete forex session like european, asian and so on for intraday trading.
Hope you enjoy it.
Let me know how it goes.
ATR STRATEGYHere is ATR strategy
Here you will identifie 2 ATR lines
Here is the Intraday Strategy for Indian stockmarket (NSE)
one is higher timeframe and second is for current timeframe chart
Here is the details of all property
////////////// Resolution /////////////
For higher timeframe ATR to compare with current timeframe ATR
Resolution is for higher timeframe ATR
/////////////// MARKET TRADING TIME ////////////////
for intraday time session here
if you want to trade after 10 am than you can modified that and buy sell will start from that
/////////////// MARKET CLOSE TIME //////////////////
for end of intraday trading time put square off intraday position
here timesession selected for close active position
/////////////// MAX LOSS INTRADAY /////////////////
intraday maximum loss
limit your loss in intraday
/////////////// OPTIONAL --- FOR USE STOP-LOSS IN % ---- ///////////////////////
here if you want to fix stop-loss from active position
here input value calculate in percentage(%)
/////////////// OPTIONAL --- FOR USE TARGET IN % ---- ///////////////////////
here if you want to fix target from active position
here input value calculate in percentage(%)
/////////////// TRAIL LONG LOSS % ---- ///////////////////////
for Active Long position put trailing stop-loss
here input value calculate in percentage(%)
/////////////// TRAIL SHORT LOSS % ---- ///////////////////////
for Active Short position put trailing stop-loss
here input value calculate in percentage(%)
///////////////------ Share Qty ---- ///////////////////////
Here your qty to trade
///////////////------ Book Qty ---- ///////////////////////
Here your trading position size you want to book half or full that you will book
///////////////------ ATR ---- ///////////////////////
Here your intraday ATR value that you can change and set as per your requirement
///////////////------ Start Year ---- ///////////////////////
Here strategy result required year from you can set
///////////////------ End Year ---- ///////////////////////
Here strategy result required End year from you can set
///////////////------ Start Month ---- ///////////////////////
Here strategy result required start month from you can set
AITI Investa: Trend FollowingScript ini dibuat untuk membantu strategi trend following harian pada saham-saham di IHSG.
Terdiri dari:
1. Petunjuk visual untuk area trend yang sebaiknya dihindari ( bearish trend ), berupa background berwarna merah. Dimana area bearish trend adalah ketika garis fast ema berada di bawah garis slow ema .
2. Batas stop loss / trailing stop, dengan acuan nilai ATR.
Script ini tidak memberikan sinyal buy. Silakan gunakan strategi buy on weakness/breakout sesuai analisa dan preferensi masing-masing. Untuk mencari entry trigger, penulis merekomendasikan untuk menarik garis support/resistance manual dan digabungkan dengan indikator MACD & CCI sebagai konfirmasi.
-AITI Investa
ATR with Impulse AlertsThis is a very simple script which simply plots an ATR (the built-in ATR function, using RMA) and plots a cross when the previously closed bar is larger than the ATR by a given threshold. There are also alert conditions set so you can be alerted when these impulse bars show up, either up or down bars. Have fun and safe trading!
Triple ATR multiplier - 3 ATR Values in OneHere you can choose to plot 3 different ATR values in 1 window. I use this indicator to get the values of my stop loss and take profits.
You can change the multiplier value for each ATR Line and the length of the base ATR.
Ty
Efficient Support & Resistance LevelsThis script is a mixture of my two previous scripts "True Strong Classical Support/Resistance Levels" and "Hidden Supports & Resistances + Round Levels". This combination brings on better identification of the most efficient support/resistance levels.
Note that "Hidden SnR Levels" part of the code is only expected to work on Forex charts, but apart from that, the other parts could be applied to any chart.
The script may:
- Draw classical support/resistance levels which retraced the price previously, aided by multi-timeframe analysis
- Draw hidden support/resistance levels based on psychological patterns of the price
- Adjust to wicks better than Pine Script built-in pivot functions
- Differ the levels color based on chart reactions
- Merge nearby classical levels to avoid congestion on the chart
Feel free to use it and send me your thoughts.
PAI band (PP & ATR & IV)3つの抵抗帯
○インプライド・ボラティリティ
○アベレージ・トゥルー・レンジ
○ピボットポイント
を利用して、日単位・週単位で価格が到達するであろう境界線を表示します。
中途半端な価格帯での狼狽売買を避けて、優位性が期待できる値位置でエントリー・エグジットを検討できます。
価格がPAI bandに到達した時に、あなたが愛用している他のテクニカルのサインと合わせて使うのもいいでしょう。
3 resistance bands
○ Implied volatility
○ Average True Range
○ Pivot point
Use to display the boundaries that the price will reach on a daily/weekly basis.
You can consider entry/exit at a value position where you can expect superiority, avoiding discouragement in the half price range.
When the price reaches the PAI band, you can use it along with other technical signatures that you love.
Average Daily Range % | Bigger relative range - better profits.(ENGLISH VERSION BELOW)
Die richtige Auswahl von Instrumenten ist essenziell. Wir können nur dann Profite machen, wenn das Instrument sich bewegt. Bekannte Indikatoren wie der ATR (Average True Range) inkludieren hier ebenfalls Kurslücken. Das ist gut, dennoch wollen wir Volatiltät von einem anderen Standpunkt betrachten. Welche Bewegungen sind also vom Hoch zum Tief möglich gewesen? Verständlicherweise können wir diesen Wert einer kleinen Aktie nicht mit TSLA vergleichen. Aus diesem Grund schauen wir uns die Relation zum Preis an. Somit können wir wirklich Äpfel mit Äpfel vergleichen. Je höher der Wert, desto mehr Range (basierend auf der 20 Tage-Historie und dem jeweiligen Preis). Natürlich funktioniert dieser Indikator auch in anderen Asset-Klassen wie Krypto, Forex etc.
Wichtig: Wende diesen Indikator im Tageschart an!
English version:
Stock selection is pretty important. We can only make decent profits if the underlying stock moves. Well-known indicators like the ATR (Average True Range) also include price gaps here. This is good, nevertheless, we want to look at volatility from another point of view. So, which movements were possible from high to low? Understandably, we cannot compare this value with TSLA for a small share. That's why we look at the relation to price.
The higher the value, the bigger the range (based on the 20-day history and the respective price).
Important: Use this indicator on a daily timeframe!
Cheers,
WirmachenTrader®