ATR based Stop and Take-Profit levels in realtime Little tool to quickly identify stops and take-profit levels based on Average True Range. User can change ATR multipiers, as well as the ATR length used. Green and red lines show these levels; plot is visible over last 8 bars only to reduce clutter. Label showing the current ATR, up above the last bar
Stoploss
ATR SL/TP Calculator
Hello traders!
With this script you will able to calculate easier SL and TP using the ATR Value according with your strategy.
Script plots two circles below and above the candle that is calculated using H/L of the candle +/- ATR Value.
You can also modify the ATR Period and other plotting options clicking on the settings icon.
Ciao Traders, in questi ultimi giorni non ho pubblicato analisi ma spero che gradirete questo script che vi faciliterà di molto il lavoro quando applicherete strategie basate sull'ATR per il calcolo degli stop o dei profit.
Grazie a questo script riuscirete a calcolare più facilmente lo SL ed il TP utilizzando il valore dell'ATR applicato al Massimo o al Minimo di quella candela.
Lo script visualizzerà due cerchi, uno sopra e uno sotto la candela che rappresentano il Massimo/Minimo più/meno il valore dell'ATR.
Potrete modificare il periodo dell'ATR e lo stile semplicemente cliccando sull'icona delle Impostazioni.
Trend TrailingAndrew Abraham
It can be used as:
- stop loss indicator
- indicator of support and resistance
- buy and sell signals
ATR x TP & SLSimple script based on ATR to calculate your Take Profit and Stop Loss
Input variables:
ATR Period ( Default: 14 )
TP Multiplier ( Default: 1*ATR )
SL Multiplier ( Default: 1.5*ATR )
SFL ATR BandsMany traders use ATR as a way to determine stop loss placement. It usually works like this:
- Stop loss for a short trade = high of last candle + ATR value
- Stop loss for a long trade = low of last candle – ATR value
This is an indicator that allows you to do just that: it gives you an easy way to view current and historical volatility using ATR-based price bands .
Features
The indicator is configurable with the following settings:
ATR period
ATR multiplier
ATR applied to highs/lows OR the close price
Bands offset
Only show for the last X candles
How To Use This Indicator
Since this indicator shows average volatility bands, it is a good measure of how much the price moves. So we can use ATR bands in a number of ways:
it’s an easy way to see where you can place your stop loss
you can use a multiple of ATR as your trade target
you can trail your stops alongside the ATR bands
Ori Double-sided MOST MTFInspired by Anıl ÖZEKŞİ's Moving Stop Loss. This script using similar double sided trailing stoploss logic but i think MOST is not a truly double-sided since you can only select one value for percentage and it uses this value for calculating both sides. In this Double-sided MOST you can set each percentage seperately for uptrends and downtrends.
Toggle for Multi Time Frame
Hide/Show EMA
Toggle for candle colors
Toggle for filling between lines
Toggle for source
Can be applied to other indicators
Untapped Forceable LiquidityUses likely stop placements and liquidation points to visualize where there may be forceable buy or sell orders on the chart.
Good for catching wicks for entries or to see whether the bulls or the bears are in control. For example, a wick down into a liquidity point and a close back above it may be seen as bullish as the sell pressure was overwhelmed by the bulls.
Anyways, I like to use it for game theorizing for trend analysis.
Trailing Stop Loss ATR + AlertI share this TSL indicator with alert (I use it only for Stocks), the configuration is very simple, you must select if it is a Short or Long operation, time at which the operation was opened,% of the daily ATR for TSL. It also contains:
- Alert
- Panel Info
Ori Double-Sided Trailing Stoploss SystemGenerally trailing stoplosses are one sided. Trailing uptrend or downtrend. Also there are continuous trailing indicators that uses same settings for both uptrend and downtrend. It is good for improving the original approach to complete the system but not enough. Seperating values for uptrend and downtrend opening much more possibilities. It is better for sticking to trend and also better for showing your bias towards one side with different stoplevels. There are different options to build the system. You can calculate the stoploss from a moving average. Aka reference ma. Also calculating stoploss method can differ. You can use percentage, atr, standart deviation and ori. Ori is calculating highest and lowest level in a period and dividing it to the period. Others are classic. There is options for their settings. Also there is gap between uptrend stoploss and downtrend stoploss at switch areas, there is an option to decrease this gap in settings. Also you can use reference ma for switching between trends but it is also being used in calculating stoploss level so you may want a different switch mechanism. Aka seperate signal line. Other options are for visual settings such as candle colors. There is an indicator that i wrote "Ori Double-Sided MOST". That one is using reference ma also for signal line. There is no gap reducing and using percentage for calculating. It is easier to use but with less option. You can also improve that indicator in this indicator with more indicators.
W5T Roller CoasterOur new Roller Coaster indicator is perfect for trading Stocks, Futures, Forex, Commodities, & Cryptocurrencies.
The Roller Coaster is a Stochastic/MACD Cross with Special EMA Points of Control for both Long and Short trades.
Our algorithm works everything out behind the scenes, keeping your chart clean.
With the purchase of our indicator, you will have access to:
Entry Price
Stop Loss Price
Trade Management
Trailing Stop Positions
Get in early on a Trend, or Trade Long & Short as an instrument moves with a range
Check out our signature to learn more!
Calculator (weighted) - evoA tool to calculate the average price and position size.
The "Risk Amount" input means the amount of dollars you lose if the trade gets stopped out (it should be based on a small percentage of your account).
TIPS
- If you use the weights to calculate an average price, make sure it adds up to 100% in total or you will get a weird number.
- Keep an eye on the risk amount if you take a trade, if I ever update the script it might set back to default which will change your position size.
- I tested it all but you might trade in a different way than me, so do your own calculation for every new thing you try with it.
If you find any bug please tell me so that no one ends up with a weird calculation or position size.
Relativity Adaptive Stop-LossRelativity Adaptive Stop-Loss is a stop-loss technique that uses the Relativity Autonomous Distribution Blocks algorithm.
For detailed info about Relativity Autonomous Distribution Blocks :
*** Features
This structure is different from standard stop-losses.
The base frame is based on "Market Adaptive Stop-Loss" script.
For detailed information about Market Adaptive Stop-Loss:
This script uses the Relativity Autonomous Distribution Blocks as cross method.
Tradeable / Non Tradeable Region Detector :
This script separates tradeable and non-tradeable regions with a coloring method.
Plotting Rules :
* Maroon : Uncorfirmed Short Positions
* Teal : Unconfirmed Long Positions
* Green : Confirmed Long Positions
* Red : Confirmed Short Positions
This script can be used in only 1W time frame. (TF = 1W )
Does not repaint on 1W and larger time frames. ( Source = close )
*** Settings :
The only option here is the ATR multiplier.
The default use value of this ATR multiplier, which is of the standard of stop-loss, is 2.You can set it from the menu.
No alert is set.
Because the positive and negative regions are the same as Relativity Autonomous Distribution Blocks.
Since the traders can trade according to the support and resistance outside the definite regions, the unnecessary signal was confused and the alerts were removed.
*** USAGE
The Stop-Loss indicator can slide on the chart.
So you have to make sure you put it in right place.
Using this script in a new pane below will radically solve slip problems.
Stop-Loss values do not slip definitely.The values can select from the alignment.
NOTE :
Some structures (Market Adaptive Stop-Loss) and design in this script are inspired by everget's Chandelier Exit script :
Best regards.
Autonomous LSTM Stop-LossStructure
Autonomous LSTM Stop-Loss is a stop-loss technique that uses the Autonomous LSTM algorithm.
For detailed info about Autonomous LSTM :
*** Features
This structure is different from standard stop-losses.
The base frame is based on "Market Adaptive Stop-Loss" script.
For detailed information about Market Adaptive Stop-Loss:
This script uses the Autonomous LSTM as cross method.
Tradeable / Non Tradeable Region Detector :
This script separates tradeable and non-tradeable regions with a coloring method.
Plotting Rules :
* Maroon : Uncorfirmed Short Positions
* Teal : Unconfirmed Long Positions
* Green : Confirmed Long Positions
* Red : Confirmed Short Positions
This script can be used in all time frames.
Does not repaint. ( Source = close )
*** Settings :
The only option here is the ATR multiplier.
The default use value of this ATR multiplier, which is of the standard of stop-loss, is 2.You can set it from the menu.
No alert is set.
Because the positive and negative regions are the same as Autonomous LSTM.
Since the traders can trade according to the support and resistance outside the definite regions, the unnecessary signal was confused and the alerts were removed.
*** Usage
The Stop-Loss indicator can slide on the chart.
So you have to make sure you put it in place.
Since this is a region scan from the OHLC levels, indicator contains small blue dots to the ohlc levels and made it serve as a guide.
However, since we cannot know the OHLC values precisely, it is best to use them as follows:
Because it is often forgotten to put it in place:
(OHLC : Average of Open, High, Low, and Closing prices for each period)
Using this script in a new pane below will radically solve slip problems.
Stop-Loss values do not slip definitely.The values are selected from the alignment.
NOTE :
Some structures (Market Adaptive Stop-Loss) and design in this script are inspired by everget's Chandelier Exit script :
Best regards.
[fikira] Harmonic Patterns (Gartley)When using "Harmonic Patterns", always look at the bigger picture, please do not depend solely on the "Pattern".
Use other indicators,... to confirm what you think is going on!
That said, it is quite useful!
Here we have "The Gartley", bullish and bearish.
The "Pattern" is created by checking 5 consecutive (pivot) points, starting with X, A, B, C, and ending with point D.
At point D all 5 points are compared, calculated and verified.
When confirmed, a "Label" will be plotted at point D, together with the "Entry", "Take Profit" and "Stop Loss" price.
The "Entry", "Take Profit" and "Stop Loss" lines will be plotted as well at point D.
Lastly, a "Drawing" automatically will be displayed which makes the "Pattern" visible.
Please do mind, the "Drawing" is calculated differently, the "Drawing" sometimes can be displayed incorrectly
when prices are too close to each other (for example low Satoshi price changes).
THE "ENTRY" , "TAKE PROFIT", "STOP LOSS" PRICES AND LINES ARE NOT AFFECTED AT ALL BY THIS, THEY WILL SHOW CORRECTLY!
- 1 "TP point" can be changed ("TP Level 0.618")
- "Labels", "Lines", "Drawings" can be disabled/enabled
- "Labels" can be made smaller or bigger ("Size Label")
- "Labels" can be placed further or closer to the bar ("Distance TP Label" > higher = closer, lower = further)
- "Lines" can be made thicker or thinner ("TP Linewidth")
- "Drawings" can be made thicker or thinner ("Drawings Linewidth")
- "Drawings" are created by comparing with 100 bars back in history (default), should it be (very rarely) a triangle is displayed flat on the left side,
possibly the first point(s) is/are further than 100 bars ago, in this case increase "Period Drawings" above 100.
- When a lot (really a lot!) of "Patterns" appear on the chart, the first ones will not be displayed anymore, first the "Drawings", then the "Lines"
The last (present) ones will always be displayed in total without a problem!
- If you want to see "Patterns" with less correct measurement, change "Error Marge" 0.9 - 1" and "Error Marge" 1 - 1.1"), this gives max. about 10% extra margin
Thank you very much!
BEST Trailing Stop StrategyHello traders
Here we go again.... with the second strategy snippet.
Reminder: the first snipper was a Trailing Profit strategy script
What's on the menu?
A trailing stop is designed to protect gains by enabling a trade to remain open and continue to profit as long as the price is moving in the investor's favor.
The order closes the trade if the price changes direction by a specified percentage or dollar amount.
Trigger me I'm famous
I developed many trading strategies in my career and often I've been asked to trigger a trailing-stop once a certain % move has been made.
On the screenshot below, the SL trigger is plotted in maroon.
Once the price goes past that level for the first time, I'll start trailing the trailing stop level.
In other words, when we see a price makes an interesting move in percentage value - we decide to trail the stop for at least not losing any more
All the BEST
Dave
Maximum True RamgePlots the the highest true range for the entire dataset.
Beneficial for determine an emergency stopp loss.
Guppy CBLThis is the Count Back Line script from the book Guppy Trading by Daryl Guppy.
It is usually used as a stop loss line, but can also be used to find entries.
Hope someone finds it usefull, if you find anything that is wrong with it, please let me know and I will try to fix it.
This is my first PineScript, hope it is working as intended.
Juicy SAR and RSI StrategyThis strategy uses the SAR indicator to determin trend, and a stochastic rsi to give entrypoints. You can costomize both of these indicators in the script. The also show stop losses. we have also coded in alerts. This indicator works best on wavy markeds.
Trailing % StopTrailing % Stop is a simple Stop Loss indicator which users have to define a % percent rate to trail the price like MOVING STOP LOSS "MOST" Indicator.
The main difference is MOST refers to exponential moving averages although Trail % Stop refers to source price.
Default price of source is CLOSE price which can be optimized by the user.
"What is a Trailing Stop-Loss?
A trailing stop-loss order is a special type of trade order where the stop-loss price is not set at a single, absolute dollar amount, but instead is set at a certain percentage or a certain dollar amount below the market price. A trailing stop-loss is sometime referred to simply as a trailing stop.
How a Trailing Stop-Loss Works
When the price goes up, it drags the trailing stop-loss along with it, but when the price stops going up, the stop-loss price remains at the level it was dragged to.
A trailing stop-loss is a way to automatically protect yourself from an investment's downside while locking in the upside.
For example, you buy Company XYZ for $10. You decide that you don't want to lose more than 5% on your investment, but you want to be able to take advantage of any price increases. You also don't want to have to constantly monitor your trades to lock in gains.
You set a trailing stop on XYZ that orders your broker to automatically sell if the price dips more than 5% below the market price.
The benefits of the trailing stop are two-fold. First, if the stock moves against you, the trailing stop will trigger when XYZ hits $9.50, protecting you from futher downside.
But if the stock goes up to $20, the trigger price for the trailing stop comes up along with it. At a price of $20, the trailing stop will only trigger a sale if the stock drops below $19. This helps you lock in most of the gains from the stock's rally.
In the example, you could also decide you don't want to lose more than $2 on your $10 investment. If the stock goes up to $20, the trailing stop-loss would drag along behind the price and only trigger a sale if the stock falls to $18.
Why a Trailing Stop-Loss Matters
A trailing stop-loss can be good for investors who may not have enough discipline to lock-in gains or cut losses. It removes some of the emotion from the trading process and offers some capital protection automatically.
There are some drawbacks to consider. First, you need to consider your trailing stop percentage or amount very carefully. If you're investing in a particularly volatile stock, you could find the stop level triggered fairly frequently."
Long Short signals and alarms are also included.
Volatility {RCVI} Stop-Limit SelectorA Stop-Limit Selector powered by the Relative Candle Volatility & Directionality Index (RCVI and RCDI) to help suggest the latest suitable Stop-Limit prices @ multiple levels of risk-control "tightness" depending on what is desired.
Stop-Limit Levels can be Enabled/Disabled in the settings.
Note: In no way is this intended as a financial/investment/trading advice. You are responsible for your own investment/trade decisions.
Please PM me for access information.
Market Adaptive Stop-LossI realized that the zone changes in the stoploss remained slow, so I couldn't make enough use of the characteristics of technical indicators when opening positions.
This pushed me to keep stop-loss under the influence of a dependent variable.
This script helped me a lot (everget) :
I've redesigned the stop-loss to be affected by intersections.
Therefore, this script is also suitable for adaptive moving averages, fractional periods.
Script features:
1.You can select calculation methods created by using various technical analysis methods from the scripts' settings:
-Moving Average Convergence Divergence ( Macd )
-Stochastic Oscillator ( Stoch )
-Stochastic Relative Strength Index (StochRSI)
-Stochastic Money Flow Index (StochMFI ) (More info : )
-Know Sure Thing ( KST )
-OBV ( On Balance Volume )
-SMA ( Simple Moving Average )
-EMA ( Exponential Moving Average )
-FISHERTRANSFORM ( Fisher Transform )
-AWESOMEOSCILLATOR( Awesome Oscillator )
-PSAR ( Parabolic Stop and Reverse - Parabolic SAR )
-HULLMA( Hull Moving Average )
-VWMA ( Volume Weighted Moving Average )
-RMA (Moving Average using in Relative Strength Index calculations.)
-COG (Center of Gravity )
-ACC-DIST ( Accumulation / Distribution Index )
2 - The region is determined according to the above calculation methods and if it is larger or smaller than the previous stop loss level.
And if the price in the negative zone is lower than the stoploss, it is the exact signal and is shown with more highlighted colors.
And, in the positive zone, where the price is greater than the stoploss, the trade zones are certain.
Shown with more highlighted colors.
If the zones are correct but stop-loss is not suitable for opening positions:
In other words, if the stop-loss is above/under the highest-lowest levels in the positive zone or if the stop loss is located in the lower zone in the negative zone, these zones are shown to be darker and dimmed so that they do not cause false movements.
*** SUMMARY : As a result, you can use this script with support and resistances,and trend lines to get good results.
I hope it helps in your analyzes. Best regards.
Experimental Entry Interface (Buy Arrows with TP & SL)This script provides high probability entry points and includes Take Profit and Stop Loss targets.
It attempts to predict when the market conditions are set to move up, and prints long positions.
In addition to Long Entry Arrows, it will print Take Profit / Stop Loss targets.
This indicator is highly adjustable. Hence the name 'Experimental' in the title. Experiment with it to find the results you want.
Designed for use on the 1H timeframe in Forex, but could possibly be useful elsewhere. Do your own testing.
This indicator can repaint. It is best used with alerts set for once per bar close, so that your alerts do not repaint and your trades are solid.
Not ever signal is a winner. Backtest thoroughly. Adjust accordingly.
Arrows
Four sets of colored arrows are included.
💵 💶 Green and Blue Entry Arrows are formed when the market is in an uptrend, and has a momentary pullback.
💴 💷 Yellow and Purple Entry Arrows are formed when the market is just starting to recover from being severely oversold.
Backtest Mode
Turn on Backtest Mode to easily see if an entry ended up as a winner or loser. A Take Profit and Stop Loss line will be drawn to show results.
Take Profit & Stop Loss Targets
You have two options for this.
Price will show you where your TP/SL exits should be placed. These values will show up under the arrow, based on your Risk/Reward ratio.
Pips are much more simple, and will only show you the market entry point and how many pips up/down to place your SL/TP. Warning: This is fixed at a 1:1 RRR .
Risk/Reward Adjustment
Each entry arrow color allows custom risk/reward ratio adjustment.
Dollar Amounts Displayed
Change your account value and leverage to see how much you would have won on each trade.
How to trade with it?
(Forex, 1H) Open the settings, and turn on all the arrow entries. Turn on Backtest mode to see how past trades would have played out. Turn on TakeProfit/StopLoss Targets to see where to set your targets, for each arrow. Set an alert to notify you once per candle close when there is an Entry. Trade happy!
Bill Williams Alligators are also included, if you want. Not necessary though. Some of the calculations depend on them for trend direction analysis.
Risk Calculator_Traders StreamHello Guys here we introducing another important tool, in that you can calculate how much Risk you want to take for that trade and what is the wiggle room for Stop Loss from your Distal line. Not only that now you can get how much qty you have to buy as per risk calculation. Please comment below for any information.......
Scripting Tutorial A - TManyMA - StopsThis script is for a triple moving average strategy where the user can select from different types of moving averages, price sources, lookback periods and resolutions.
Features:
- 3 Moving Averages with variable MA types, periods, price sources, resolutions and the ability to disable each individually.
- Crossovers are plotted on the chart with detailed information regarding the crossover (Ex: 50 SMA crossed over 200 SMA )
- Forecasting available for all three MAs. MA values are forecasted 5 values out and plotted as if a continuation to the MA.
- Forecast bias also applies to all forecasting. Bias means we can forecast based on an anticipated bullish, bearish or neutral direction in the market.
- To understand bias, please read the source code, or if you can't read the code just send me a message on here or Twitter. Twitter should be linked to my profile.
- Ribbons added and on by default. Optional setting to disable the ribbons. 5 ribbons between MA1 and MA2 and another 5 between MA2 and MA3.
- Ribbons are alpha-color coded based on their relation to their default MAs.
- Ribbons are only visible between MAs if the MAs being compared share the same Type, Resolution, and Source because there is no way to consolidate those three in a simple manner.
- Ribbon values are calculated based on calculated MA Periods between the MAs.
- Converted the existing study into a strategy.
- Strategy only enters long positions with a market order when MA crossovers occur.
- Strategy exits positions when crossunders occur.
- Trades 100% of the equity with one order/position by default.
- Ability to disable trading certain crosses with input checks.
- Ability to exit trades with a take profit or stop loss.
- User input to allow quick changes to the take profit or stop loss percentages.
This script is meant as an educational script with well-formatted styling, and references for specific functions.
*** PLEASE NOTE - THIS STRATEGY IS MEANT FOR LEARNING PURPOSES. DEPENDING ON IT'S CONFIGURATION IT MAY OR MAY NOT BE USEFUL FOR ACTUAL TRADING. THE STRATEGY IS NOT FINANCIAL ADVICE ***