ATR/EMA/Pivots/Crossover/LabelsScript for ATR, EMA , Pivots , EMA crossover, and Buy/Sell Labels for EMA Crossover
ATR Channel plotted from open of candle
3 channels with configurable length
+/- .5
+/- 1
+/- 2
EMAx5
Preset to 10, 20, 50, 100, 200. Lengths are configurable
Standard Pivots
Pivot with S1, S2, S3, R1, R2, R3
EMA crossover with Buy/Sell Labels
EMAs lengths are configurable for crossover
(Ability to change colors and turn on/off all of the above. Pic is only showing +/-1 ATR channel, EMAs, Pivot Point with S1/R1, and Crossover with Buy Sell Labels)
Find this useful? Accepting tips. Message me.
ATR
Daily Range Exhaustion SignalThis tool plots the average true range distance from each bar's open, up and down, so you can tell when a bar moves by more than the average distance a day's range usually travels. It's an interesting concept, but not something I use a lot of the time. Looking at the range relative to the last bar's range, is what I normally do to find bouts of strength or weakness, and to determine if these moves have follow through or not.
You may experiment with this indicator to see if it helps in your price action analysis. Usually, bigger than 1 ATR moves don't keep going for much more, unless there's some outrageous news related to the move.
This idea came from a conversation with Yacine Kanoun here, and I coded it into an indicator.
Credit where credit is due (right Yacine?)...
Cheers,
Ivan Labrie.
PtahX EMA/ATR StrategyPtahX EMA/ATR Strategy Public Release
written October 2019
EMA Strategy with ATR & "Fear Factor" built in
* modifications welcome
* please let me know if you improve it so I can continue to learn :)
* use at your own risk - I'm a new programmer and still learning
* Best of luck on your trades!!
// Take Profit (TP) option based on ATR or MA Crossover
Beast ATR (Average True Range)Average true range (ATR) stands for Average True Range which measures how much price moves on average. It has to be used as a volatility indicator that shows how much an asset moves, on average, during a given time frame.
Understanding volatility is important to make the right trading decisions as we will see later. Understanding how volatility changes with market context can help you make much better trading decisions as well.
I like to use this one for margin trading and on lower tf (1h, 2h, 4h).
ATR - Baby WhaleScript that shows you the ATR and 0.5 ATR.
You can use this to define your stop loss level when you see a SFP.
Standard setting is the 24 period ATR. You can use this for a 1h chart (24 hours in a day).
So when you play on a 5m chart, you can change the setting to 12 period (12 5m candles in 1 hour).
ATR/EMA/PivotsScript for ATR, EMA , and Pivots
ATR Channel plotted from open of candle
3 channels with configurable length
+/- .5
+/- 1
+/- 2
EMAx5
Preset to 10, 20, 50, 100, 200. Lengths are configurable
Standard Pivots
Pivot with S1, S2, S3, R1, R2, R3
(Pic is only showing +/-1 ATR channel, EMAs, and Pivot Point with S1/R1)
ATR ExhaustionThe ATR Exhaustion indicator for Tradingview will overlay the minimum and maximum price limits for a timeframe over your chart. It calculates the price limits be adding and subtracting the ATR level from the high and lows of the period you are interested in.
For example, you can see the daily upper and lower ATR levels whilst on a 15-minute chart. The upper and lower ranges will update as price moves.
Why would this be useful?
It the true price range on average does not move more than x pips/points, then the range boundaries might provide support/resistance levels as price approaches the levels. Additionally, you can use this tool to easily identify how volatile price action has been in comparison to previous periods.
Features
Easily see ATR Exhaustion areas in any timeframe
Period highs and lows are plotted and updated as price action unfolds
Color fills change when price moves beyond the ATR range for easy identification of periods of strong trends or volatility.
ATR-ADX Chandelier Exit ComboAcknowledgements: Everget for Chandelier Exit indicator, mortdiggiddy
for the Adaptive ATR-ADX Trend indicator
This indicator is a duct-tape combination of the two aforementioned indicators. I wanted a combination of potential stop options, some dynamic and others not, but both at the same time. It is less intrusive/clunky than the Fib-Pivot-Stop indicator, but not by much - I'm not sure how useful this would be considering the amount of visual real estate it takes on the chart compared to other indicators.
ATR Fib Pivot Stop ComboAcknowledgements: Everget for the Chandlier Exit indicator + other indicators for structure reference and MG for the Trailing Pivot stop indicator.
I wanted a Fib-Pivot-Stop indicator, so I duct-taped them together with some Fibs, and this was the result.
Technically you could say this is experimental and unfinished - the indicator is bulky/clunky enough to make it hard enough to use traditional MAs and other indicators that are drawn on chart. If you have success with this indicator trading, I want to know - send me a PM or link me a chart, please.
QuarryLake v4As some of you requested, I will make the code for QuarryLake Open for you all.
I have also updated the script in version 4.
This strategy consists of 3 indicators that I found works quite well together.
Keltner Channel, Waddah Attah Explosion, and Volatility Stop .
KC Period = 200
KCATR = 5
Vstop Period = 3
Vstop Mult = 1.5
Long when close > KC, close > Vstop, WAE trendUp
Short when close < KC, close < Vstop, WAE trendDown
Works well on BTCUSD XBTUSD , as well as other major liquid Pair.
This strategy utilized a modified Kelly position sizing for BTCUSD Bitstamp , feel free to modify it to your needs.
And lastly,
Save Hong Kong, the revolution of our times.
MMDVZ 1.0 (Rolling) - Moving Multi-Day VWAP Zones Rolling version of the MMDVZ script .
The bands do not reset at a fixed interval in this version and are instead bar based.
Volatility adjusted moving multi-day VWAP zones
Directionality, trend and support/resistance levels at a glance
Useful for trading practically all kinds of stocks and futures .
Works well with many timeframes.
More updates to come, stay tuned
ATR BandsThis script shows the upper and lower bounds based on the open price. You can specify the ATR multiple to create the bands. The default multiple is 1. Similarly you can also specify the length to calculate the ATR value.
ATRPricePercentThis script builds on top of the ATR Price Ratio script. In this script I am representing the ratio as a percentage for getting the volatility up to the second decimal.
ATR TRex [SHK]To appreciate dear Mr.Khakestar efforts i have converted his mt4 ATR formula to pine script. All credits goes to him.
Plots
You can enable plots from the settings tab and then disable five first plots from the style tabs (finally save as default). Then you can view the ATR result of each candle in the past:
Green number is the HL range of the candle.
Red number is the ATR of the candle.
First black number is the ATR of the 4H chart.
Second black number is the ATR of the 1D chart.
Third black number is the ATR of the 1W chart.
What makes this ATR formula so different?
This formula invented by Mr.Khakestar and it shows the power of the price to move in each cycle of the chart. We can use it in RTM strategy and Price Action trading. To learn how to use it you need to learn TRex strategy (Presented by Mr.Khakestart for free in Persian).
ATR Trailing Stop Indicator [Chart]I rely on this script for both my live trading and my backtesting process. I couldn’t live without it. It’s extremely simple – all it does is calculate your trailing stop price.
How It Works
The first number in blue is the current ATR (pips). The second number in green is your trailing stop loss price for Long trades, and the third number in red is your trailing stop loss price for Short trades.
For short trades, the stop loss price is calculated by adding the current ATR value to the highest-high of the given lookback period.
For long trades, the stop loss price is calculated by subtracting the current ATR value from the lowest-low of the given lookback period.
Settings
ATR Length:
ATR period (how many candles to include in the calculation).
Use Structure?
If set to true, the script will use swing lows and highs in its calculation. If set to false, the script will ignore swing lows and highs and give you the distance of the ATR from the current candle close instead.
How Far To Look Back For High/Lows:
Candle lookback period for swing high/lows.
ATR X ?:
This controls your ATR multiplier. For example, if you want to use a 2x ATR stop, set this to 2.
Tool Companion:
Here is the tool companion script for this indicator:
Source Code:
Go to zenandtheartoftrading.com for the source code – it’s free!
ATR Trailing Stop Loss IndicatorI rely on this script for both my live trading and my backtesting process. I couldn’t live without it. It’s extremely simple – all it does is calculate your trailing stop price.
How It Works
The first number in blue is the current ATR (pips). The second number in green is your trailing stop loss price for Long trades, and the third number in red is your trailing stop loss price for Short trades.
For short trades, the stop loss price is calculated by adding the current ATR value to the highest-high of the given lookback period.
For long trades, the stop loss price is calculated by subtracting the current ATR value from the lowest-low of the given lookback period.
Settings
ATR Length:
ATR period (how many candles to include in the calculation).
Use Structure?
If set to true, the script will use swing lows and highs in its calculation. If set to false, the script will ignore swing lows and highs and give you the distance of the ATR from the current candle close instead.
How Far To Look Back For High/Lows:
Candle lookback period for swing high/lows.
ATR X ?:
This controls your ATR multiplier. For example, if you want to use a 2x ATR stop, set this to 2.
Chart Companion:
Here is the chart companion script for this indicator:
Source Code:
Go to zenandtheartoftrading.com for the source code – it’s free!
Average True Range Take profit (ATR)Average True Range Take Profit
An objective method of determining an initial Take Profit and Stop Loss, based on true market volatility and not arbitrary price levels.
Take Profit Levels and Stop Loss Levels are calculated based on multiples of Average True Range
Features & Functions
Option to switch between long or short
Default Value
Take Profit 1 = 1x ATR.
Take Profit 3 = 2x ATR.
Take Profit 5 = 3x ATR.
Stop Loss 2 = 1.5x ATR.
Basline 13 exponential moving average (EMA) (2)
Extra options ATR
Take Profit 2 = 1,5x ATR.
Take Profit 4 = 2,5x ATR.
Take Profit 6 = 3,5x ATR.
Take Profit 7 = 4x ATR.
Take Profit 8 = 4,5x ATR.
Take Profit 9 = 5x ATR.
Stop Loss 1 = 1x ATR.
Stop Loss 3 = 2x ATR.
Extra options MA
Simple moving average (SMA) (1)
Weighted Moving Average (WMA) (3)
Hull moving average (HMA) (4)
Volume Weighted Moving Average (VWMA) (5)
R moving average (RMA) (6)
Triple exponential moving average (TEMA) (7)
ATR Channel Multi-Timeframe / EMA / SMAFeatures:
Select alternate resolution
Select type of moving average
Select custom multiplicator
Traded Range & True ATRBlack line = Trade Range from the last X periods.
Red Line = 61.8% of black line value.
Green bar = The current trade period range.
Default Value = 21 (21 days = I business month)
Generally speaking, a stock moves approximately the same value daily. Knowing the approximate value it likes to stay within calms the nerves when you see retracement of price occuring.
IE. Price average = 1.00 in a day. It move .75 within first hour then retraces in the opposite direction. There are still hours left in the trade day, so it is trading in its value range in order to not over extend itself.
This differs in calculation from the Wells Wilder version as it smooths out jumps and only examines the ranges between high and low.
A good rule of thumb is.
Stop Loss = Entry Price +/- (ATR * 1.5)
Take Profit = (1) Entry Price +/- ATR - 50% exit (Set Trailing Stop @ Entry Value), (2) Entry Price +/- ATR * 2 (50% of remaining).