NSDT Trend CandlesThis script changes the color of the candles based on uptrend (green), downtrend (red), neutral/chop (yellow). It uses an ATR and Pivots to determine the direction, or lack of. Since all markets move differently and market volatility changes, you will need to adjust the settings to find a potential match for the day. It's pretty simple to use. Just enter in the direction of the trend and exit (or reverse) when the candle color changes.
Average True Range (ATR)
Average Daily Range TableThis is the last script to complete Vladimir Poltoratskiy's setup found in his books.
Poltoratskiy argues that you should not take any fractal corridors higher than 50% of the Average Daily Range. To be honest, even 40% is a lot, because then, your target will be 160% ADR away from your entry and one "fracture" just can't be enough to predict moves this big.
I chose a table to visually represent the indicator because it doesn't change its value during the day. It takes far less room on the chart.
There are also two simple moving averages. You may use the as an indicator if the relative volatility as of late is extremely low and in that case, perhaps, expect an increase in the coming days. They are applied to the Average Daily Range, not one day range!
ATR Stop Loss FinderThis Indicator uses Average True Range (ATR) to determine a safe place to put stop losses to avoid being stop hunted or stopped out of a trade due to a tight stop loss. Default multiplier setting is 1.5. For a more conservative stop loss use 2 and for a tighter stop loss use 1. ATR and stop loss prices are displayed in table at bottom of screen. Use high(red) for shorts and low(teal) for longs.
RSI Strategy w/ Trailing SL / TP Optimized for Crypto [Strategy]This strategy is designed to use the RSI and EMA filters. A 200 period EMA is used for short / long filters, and the 50 period EMA is used to determine the direction of the short term trend.
In addition, the script uses "rate of change" for the fast EMA (trend), volume , RSI (momentum), and price (volatility) and only takes trades when all are in optimal conditions.
I.E., the EMA is in an uptrend, the volume is increasing, price is in an uptrend, and the RSI is in an uptrend, so we will place a Long trade.
This strategy uses EMAs as a trailing stop loss and take profit. As this is a trend following strategy, the idea is to maximize profits when correct and minimize losses when
wrong.
It was designed specifically using crypto pairs, and was optimized for the 10 minute chart.
My goal was to get the best use out of the RSI indicator. I was originally an MACD fanboy, but have recently converted.
Want to help me improve this code or strategy? Have suggestions for improvement? Leave them in the comments below.
Thanks for using my script! I hope it works well for you and good luck in the markets.
If you have any questions, please leave them in the comments and I'll do my best to respond.
This script does not repaint as it only relies on close data to make a decision to enter a trade.
How to use this strategy:
___________________________
Enable Long Entries? - Used to enable or disable the strategy from executing long entries.
Enable Short Entries? - Used to enable or disable the strategy from executing short entries.
How Many Bars To Look Back for Hi/Lo: - This is used for the Stop Loss and Take Profit targets. An integer of bars is used to look back and calculate the values.
RSI Length (Rec: 8) - The length of the RSI
Source - The RSI Source
Use Slow EMA? - If checked, a 200 period EMA will be used to filter entries long or short (only take shorts when the price is below, long when above). In addition, the script will close any trades that cross the 200 period EMA. By default this is disabled.
EMA Slow - the period of the Slow EMA (200 by default)
EMA Slow Src - what to use to calculate the Slow EMA (high by default)
EMA Fast - The Fast EMA (50 period) is used to calculate the direction of the short term trend. This also factored into the Rates of Change.
EMA Fast Src - what to use to calculate the Fast EMA
ATR Length - If used, the ATR length is used to calculate the Stop Loss and Take Profit targets.
SL Multiplier - The distance away from the initial value to multiply the Stop Loss
TP Multiplier - The distance away from the initial value to multiply the Take Profit.
Use EMA as SL / TP? - If true (default) a 3 period EMA is used to calculate Stop Loss and Take Profit targets. Else, an ATR is used to calculate these values.
Stop Loss / Take Profit Offset - Default: 3 - this is used to shift the EMA / ATR Stop Loss and Take Profit lines to the right X bars. This is to ensure that they are hit properly and not exceeded.
Short Len Vol - Use to calculate the volume of the short length, used in rate of change calculations
Long Len - Use to calculate the volume of the long length, used in rate of change calculations
RSI Long Entry Val - Minimum RSI crossover value to enter a trade Long. If the RSI is below this value, trade entries are not valid.
RSI Long Cutoff Threshold - Long entry RSI value cutoff to no longer enter trades. If the RSI is above this value, trades entries are not valid.
RSI Short Entry Val - Minimum RSI crossover value to enter a trade Short. If the RSI is above this value, trade entries are not valid.
RSI Short Cutoff Threshold - Short entry RSI value cutoff to no longer enter trades. If the RSI is below this value, trades entries are not valid.
ROC Fast EMA - Calculates the rate of change between the Fast Ema now and 'X' bars ago. For a long entry, a positive value is needed, and for a short entry, a negative value is needed.
ROC Price - Calculates the rate of change between the most recent price close and 'X' bars ago. For a long entry, a positive value is needed, and for a short entry, a negative value is needed.
ROC RSI - Calculates the rate of change between the RSI now and 'X' bars ago. For a long entry, a positive value is needed, and for a short entry, a negative value is needed.
Use Close for SL - Default = Off - If checked, when a candle hits the stop loss, the trade will close on the next candle. If unchecked, the trade will remain open until the candle closes at or beyond the stop loss lines.
Custom Message Boxes - Primarily used for bots, but can be used to also insert your own messages for your trading alerts.
3 EMA + Stochastic RSI + ATR 3ESRA
v0.2a
Coded by Vaida Bogdan
3ESRA consists of a 3 EMA cross + a close above (for longs) the quickest EMA
or below (for shorts). Note that I've deactivated the RSI Cross Over/Under
(you can modify the code and activate it). The strategy also uses a stop loss
that's at 1 ATR distance from the entry price and a take profit that's at
4 times the ATR distance from the entry price.
ATR SLHi traders,
As you know, ATR trailing stop is very popular indicator. So I decided to make my own one.
The logic is simple.
If the price is above the RMA(src,len), then put a SL at OPEN - ATR value of that time period
otherwise, put a SL at OPEN + ATR value of that time period.
Stay safe ^^
ADR% / ATR / LoD dist. TableDisplays the following values in a table in the upper right corner of the chart:
ADR%: Average daily range (in percent).
ATR: Average true range (hidden by default).
LoD dist.: Distance of current price to low of the day as a percentage of ATR.
All values are calculated based on daily bars, no matter what time frame you are currently viewing. Doesn't work for time frames >1D, which is why the table is not shown on weekly/monthly charts.
Credit to MikeC / TheScrutiniser and GlinckEastwoot for ADR% formula
Table Identifies the Price Extensively Using RSI, MA, and ATR ⬤ INDICATOR KEY
⬤ INTRODUCTION
The indicator has presented as a table to show the perspective result of different indicators to help the user identify the status of the price if it’s extended or not. The table starts with the ATR section, which gives out a better look to compare the current day’s candle wide versus the average candle wide of a certain length of period that selected by the user. The second section of the table, showing RSI values at the most common upper timeframes, and the different percentages between the current price and long-term moving average entered by the user.
⬤ INDICATOR OVERVIEW
⬤ FINAL COMMENTS
▸This’s not a trading signal, but it helps to make a trading decision whether to set targets, stop loss, and enter a new trade.
▸If you found this content useful, please consider supporting presented indicators projects through PayPal which mentioned in the signature box, below.
▸ Trade Safe✌️.
⬤ OTHER GREAT INDICATORS CREATED BY MUQWISHI
📈 Muqwishi Volumetric Candle
📈 Support and Resistance For Day Trader | By MUQWISHI
Stop Loss IndicatorThe stop loss indicator is a single trade indicator to manage risk
It tells you the size of the trade you should enter and lets you know where to place stops and when and where to trail your stops to based on ATR, given your entry price and risk amount.
Set the date and time once trade is active and once ATR moves above(long)/below(short) entry price you can move your stop loss following the green triangles.
Short
green triangle down => high + (ATR * 1.5)
red triangle up => low + (ATR * 1.5)
Long
green triangle up => low - (ATR * 1.5)
red triangle down => high - (ATR * 1.5)
TREX
TREX or TPA indicator by SOTTI
// The basic version and start of this indicator was set by my good friend Mr Shayan Karimi and we have room to learn from him and this text is here to make this happen.
//This indicator is taken from Master Saeed khakestar indicator
//Trigger price action -- True Range Exchange -- TPA - TRex
how to use this indicator:
this indicator for price action system and use full for student of master saeed khakestar
you can use tp1 for stop loss and tp3,7,15 for target you finde a flag limit on this area and set your tp or target
and use th or tr for price how much can be run and live use for price how much runned
TP1 = ATR time
PI.SL = TP1 + ENG.sl = pivot stop loss
ENG.sl = 0.25* TP1 = triger price actions stop loss
TP3 = 3*TP1
TP7 = 7*TP1
TP15 = 15*TP1
TH -> tavan harkati
TR -> True range average
LIVE -> live range candel
TP1 = توان حرکتی تایم که در ان هستیم
PI.SL = توان حرکتی تایم + میزانی که از نفوذ هار در امان باشیم
ENG.sl = یک چهارم ای تی ار تایم
TP3 =سه برابر تارگت اول
TP7 = هفت برابر تارگت اول
TP15 = پانزده برابر تارگت اول
TH -> توان حرکتی
TR -> میانگین توان حرکتی
LIVE -> میران حرکت کندل لایو
TH.long = گام بلند حرکتی
TH.small = گام کوتاه حرکتی
Crypto EMA Trend Reversal StrategyThis is an EMA crossover strategy which involves 5 EMAs to trigger trades. The strategy has two take profit settings and uses a stop loss.
TP1 and SL are based on ATR and TP2 is an EMA crossover.
The strategy goes both long and short and the default settings work particularly well as a scalping strategy for ETHUSDT on the 5M time frame.
I have also created another version with tweaked settings for scalping LINKUSDT on the 5M with very similar results.
There is an option to add a volume condition parameter within the script on lines 26-28 which can be added to the end of lines 34-35 in the following format: and vol_cond
I personally don't currently use the volume condition parameter.
Crypto SniperAn easy to follow indicator for scalping or long term trades. You can add this indicator to other analysis as a complementary indicator or use it alone for entry and exit your trades.
Features
• Simple entry signals, buy the contract at the end of the signal candle
• Additional entry signals can be enabled to increase your position and your profits
• Get exit signals for your opened trades.
• Alert conditions for all entries, additional entries and exits
• Enable ATR plot of Take Profit and Stop Loss
• Customize your ATR settings to adapt the indicator to any market
This indicator use some analysis to get the bottom/top of the cycles. Any market or timeframe and can be used. Specially designed for scalping on cryptocurrency futures markets.
EMA based ATR Stops-If the FAST EMA is ABOVE the SLOW EMA then the ATR Stops will be placed x amount BELOW the lows
-If the FAST EMA is BELOW the SLOW EMA , then the ATR Stops will be placed x amount ABOVE the highs
-If the fast ema is above the slow ema but they are sloping down, their colours will turn to a shade of blue
-If the fast ema is below the slow ema but they are sloping up, their colours will turn to a lighter shade of blue
-I added an extra ema but it is off by default
TAYOR!
Flexible timezone-aware session rangeAllows you to define session range with local time and its timezone, also can toggle session visibility any day of week.
EMA RSI ATR Hidden Div Strat - 1 MinHey there!
Hereby I present you the EMA RSI Lowest Low Hidden Divergence strategy, which I discovered on a youtube channel.
He has tested the strategy hundreds of times manually, herewith I try to automate the whole thing.
Since I use the strategy with a bot, it can only enter long positions for now. But in the future I will add the possibility to trade short positions.
The strategy was tested with BTC/ USDT in 1m chart (8 days). The values must be adjusted depending on the timeframe and coin.
-----------------------------------------------------------------------------------
How does the strategy work?
First of all, we need a bullish hidden divergence.
Once this is detected, the following parameters are checked:
The 50 EMA must cross the 250 EMA .
Then, the candle must close above the 50 EMA .
The K line of the RSI STOCH indicator need to crosses the D line.
If the next candle closes above the 50 EMA , a long position is opened.
The stop loss is determined with the "lowest low/highest high lookback".
The profit factor is multiplied by the value of the lowest low/highest high lookback.
The results of the strategy are without commissions and levers.
If you have any questions or feedback, please let me know in the comments.
In the future I will add other types of stop loss / take profits. (ATR; %; eg.)
I wish you good luck with the strategy!
Session Volatility CalculatorHey traders!
This script calculates the average volatility of trading sessions.
You specify a start date, an end date, and a session time (eg. market open, Asian session etc)
The script then scans through all the price action on your chart and calculates the average price movement during that specified period.
What Is It For?
I created this script for my own purposes when developing certain strategies and testing certain ideas.
The purpose of this script is to give you an idea of how much price tends to move during certain times of day for certain markets.
You could think of it as a "session's average true range".
In crypto and forex this might be how much price tends to move on certain pairs during the Australian/Asian session, or the European session, or the overnight U.S. session etc.
In stocks this might be how much a symbol tends to move during the first hour of the day or the last hour of the day.
The point of calculating this information is for better understanding how markets move during certain times of day.
It's not a perfect science obviously since some days can be wilder than others depending on what fundamental events are developing, but it's useful information to have for times when there are no expected volatility-inducing events.
This info can help with optimizing targets and stop loss placement for certain day-trading strategies, and just generally getting an idea of what kinds of moves you might reasonably expect out of overnight positions or certain times of day etc - or at least that's what I use it for.
Settings
Hover your mouse over the "i" symbol to get more information on the script's settings, but here's a brief description:
Start Date: The date to begin calculating from (set to 1000 by default so it scans the entire chart).
End Date: The date to stop calculating (set to 2099 by default so it scans the entire chart)
Time Session: This is the time session during the day that you want to analyze.
Color Background: If turned on, this setting changes the background color to highlight the session.
Indicator Values
The indicator outputs a handful of values onto your chart. This is what the colors correspond to:
Top-Right Box: The average price range during the given time of day over historical price action.
Green Number: The recent session's highest price.
Red Number: The recent session's lowest price.
Purple Number: The recent session's price range (high - low).
Orange Number: The recent session's range ÷ the average (outputs a relative % of the average).
[JL] ATR HL CloudI am playing ATR now.
This script is made to watch ATR and highest-lowest.
ATR is calculated by max of short period and long period.
Up cloud is lowest price plus ATR * Multi
Dn cloud is highest price decrease ATR* Multi
Higher and higher cloud means up trend
Lower and lower cloud means dn trend
HMA_ATR StrategyATR with HMA experimental minimalist bot for ETHBTC .
A strategy for use by Automated Algorithm systems.
Different from normal ATR as it uses HMA for smoothing.
Example settings result shown here on chart include commission 0.5%
[EURUSD60] BB Expansion StrategyOverview
This is a strategy that can be used in the EURUSD 60 time frame.
It is a trend-following method that uses Bollinger Bands Expansions.
The idea of using Bollinger Bands expansion is well known to the general public, but I don’t know any strategy that this idea has been PINE coded.
The three main components of this strategy are as follows.
・Long term BB and Short term BB : When the short term BB expands more than the long term BB, it suggests the occurrence of a trend.
・14EMA of 240 t/f : The direction of 14EMA of the upper time frame is used as the trend direction.
・ATR lines : As a stop-loss line and a take-profit line.
Description
Fig. Long entry pattern
Fig. Short entry pattern
・Description of lines
Gray : Large BB (=Long term BB)
White : Small BB (=Short term BB)
Blue or Red line : Upper t/f EMA(default: 14EMA), blue is up-trend, red is down-trend
Yellow : Stop loss line by ATR(the term is 14)
Purple : Take profit line by ATR(the term is 14)
・Description of strategy
First of all, when the small BB expands more than the large BB, this strategy detects the occurrence of a trend.
Second, When the price crosses over or crosses under small BB basis, this strategy entries long or short to trend direction (by upper time frame 14EMA).
The default stop-loss range is three times ATR value, and the default take-profit target is 1.5 times the stop-loss range (=risk reward ratio is 1.5).
Trex [MrD3v]To appreciate dear Mr.Khakestar efforts i have converted his mt4 ATR formula to pine script. All credits goes to him.
Special Thanks To shayankm
Long Step $ Short Step added
DR added
Standard SL added
Eng.SL and Hunter.SL added.
Incompatible default colors with dark theme now are fixed.
Colors can be changed from settings.
All drawing sizes can be modified from settings. (Change the sizes for your mobile device)
Now crypto and fx markets are automatically detected.
Added APR only working on Crypto and FX.
Outputs on "BTCUSD(T), FX, Main metals" are now rounded to pips.