Trailing SL Strategy [QuantNomad]I'm a big fan of simple strategies.
This one is a very simple one. So it consists only from one Trailing SL. When SL is hit, the position is reversed and SL is tracked for a new position.
You can choose one of 3 types of SL:
% of your price
ATR - it is calculated as current ATR * multiplier
Absolute
As you can see even this simple strategy can show pretty good results.
Average True Range (ATR)
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
Adam H Grimes - Keltner Channels with Day's High & LowThe indicator shows the day's high and low along with the Keltner Channels.
Keltner Channel Period - 20
Keltner Channel Multiple - 2.25
Renko Weis Wave VolumeThis is live and non-repainting Renko Weis Wave Volume tool. The tool has it’s own engine and not using integrated function of Trading View.
Renko charts ignore time and focus solely on price changes that meet a minimum requirement. Time is not a factor on Renko chart but as you can see with this script Renko RSI created on time chart.
Renko chart provide several advantages, some of them are filtering insignificant price movements and noise, focusing on important price movements and making support/resistance levels much easier to identify.
As source Closing price or High/Low can be used.
Traditional or ATR can be used for scaling. If ATR is chosen then there is rounding algorithm according to mintick value of the security. For example if mintick value is 0.001 and brick size (ATR/Percentage) is 0.00124 then box size becomes 0.001. And also while using dynamic brick size (ATR), box size changes only when Renko closing price changed.
This tool is based on the Weis Wave described by David H. Weis (a Wyckoff specialist). The Weis Waves Indicator sums up volumes in each wave. This is how we receive a bar chart of cumulative volumes of alternating waves and The cumulative volume makes the Weis wave charts unique.
If there is no volume information for the security then this tool has an option to use “True Range” instead of volume .
Better to use this script with the following one:
Enjoy!
[LunaOwl] 超級趨勢2 (SuperTrend2)It is very similar to the previous version. I changed the function from study to a strategy, and added the Average true range to RMA again.
I don't know the academic suitability, but using this strategy to trade the Altcoins market may have a good effect.
refer to Binance for 0.1% of fees, starting from Q4 2017.
跟以前的版本變化不大,我將腳本函數從"study"更改為"strategy",然後將平均真實範圍再次用遞迴平均線均化數值。
不知道學術上的適不適合這麼做...但是,直到目前交易小幣現貨市場,效果還算不錯,用用看。
交易手續費參考幣安小幣,0.1%,從2017年第四季開始測。
Updated:
--1. use RMA to reduce ATR noise.
--2. for the highly volatile Altcions market, strategy should focus on reducing noise.
--3. the Street commonly used alpha filtering for Random Walk.
--4. compared to other MAs, the performance is not outstanding, but the advantage is stability.
--5. I choose the 4H time frame to test the Altcoins (ex: ETH).
稍做更新:
--1.平均真實區間利用了遞迴均線減少雜訊
--2.針對高波動率的小幣市場,中期順勢策略應該以減少雜訊為重點
--3.研究國外交易策略後,它們常用平滑因子過濾隨機走勢
--4.績效上和其它平均法比較並沒有突出,但優點是參數變動穩定性
--5.我選擇四小時線回測小幣市場,並且選擇經歷過牛熊市的以太坊
The purpose of publishing Chinese Scripts is to make Pine close to more Chinese user.
發布中文腳本的目的,是希望可以讓 Pine 親近更多中文圈的使用者。
ATR Stoploss Lines - Minimize Risk | Maximize ProfitThe ATR Stoploss is best used as a trailing stop. While actively managing your trades, move your stops up as price increases/decreases.
There is an offset of 1 candle, so the ATR will only be based on closed candles. This prevents you from moving your stop's when you really shouldn't.
The top lines are used for short positions and the bottom lines are used for long positions.
You can adjust the distance of the ATR lines from your candles by changing the multiplier in the settings.
You may want to increase the multiplier to 2-3 on less volatile assets, and keep it ~1.75 for volatile assets like BTC.
Feel free to reach out if you need any tips or more help with using these. Just remember, this indicator should only be used to manage your trades, not enter them.
London Breakout with MDX Trailing StopThis indicator aims to aid in using the regular London Breakout strategy, as well as improve on it by adding a trailing stop based on the Mean Deviation Index.
The London Breakout strategy (according to my personal understanding) basically sees the morning before London open as the accumulation or distribution range for large buyers or sellers, and assumes the market will break either above that mornings high or below that mornings low when they start to move price. It is mostly used to trade stock indices and forex.
This indicator plots the morning high and low for each day. The green line is the morning high, and the red line is the morning low. If price moves above the green line (the morning high) it fills that area with a green color. If price moves below the green line (the morning low) it fills that area with a red color. This makes the breakouts easy to spot.
The background color of the chart turns green when the MDX is above 0 (price is more than X times ATR above the mean) and a breakout above the morning high has occurred, and stays green until the opposite happens.
The background color of the chart turns red when the MDX is below 0 (price is more than X times ATR below the mean) and a breakout above the morning high has occurred, and stays green until the opposite happens.
The default for X above is 1.0, but this can be changed in the settings by changing "ATR Multiplier".
The background is always neutral during the morning session since the morning high and morning low are not established yet.
A trailing stop is shown when price is more than X times away from the mean and a breakout has occured. The distance is set using the MDX. The trailing stop uses a separate ATR multiplier though, to make the signal and trailing stop MDX values different, if one likes. The default ATR multiplier for the trailing stop is 1.25, but this can be changed is the settings by changing "ATR multiplier for trailing stop".
When the high or low of a candle breaks the trailing stop, it is moved further away, indicating you have been stopped out, but gives opportunity to use it if you enter again (so it doesn't just disappear).
As an added bonus, take profit levels have been added based on the mornnig range. The take profit distance is set by multiplying the range with a factor. The levels are then plotted that distance from the morning high and morning low.
MDX:
ATR BandsThe NNFX way
This indicator makes it easy to see the ATR values of the chart.
The red lines are at 1.5 ATR
The blue lines are at 1 ATR
Credits to www.tradingview.com for the code he published. I've extracted only the ATR to create this indicator. Many thanks ❤
UT Bot AlertsUT Bot indicator was initially developer by @Yo_adriiiiaan
The idea of original code belongs @HPotter
These are v4 alerts for my previously published strategy:
Original script:
Current vs. Average price performance (daily and weekly)This indicator is to be used only by the values it gives back, don't use the lines .
In "current week days" choose number of days that already BEGAN this week (ex. on Wednesday type 3)
Green1 - Current Daily Range
Orange1 - Average Daily Range
Green2 - Current Weekly Range
Red1 - Average Weekly Range
Orange2 - Today's price movement compared to the average daily price movement (in percentage)
Red2 - This week price movement compared to the average weekly price movement (in percentage)
By these values you can check how price performed today and this week in comparison to the average daily and weekly values - you can check with some probability if the movement is already exhausted or price can do some more action.
BERLIN Range Index | Panel versionThe original problem: The choppiness index is great at finding ranging markets, but it is sometimes very slow, which means most of the time it only catches the end of a trend.
This indicator tries to solve this. It uses the choppiness index and filters it using a factor that is based on the standard deviation of the ATR.
The ATR based filter is calculated by first calculating the running standard deviation of the ATR, and then looking at that in relation to its recent low to find a filtering factor to use on the choppiness index. This makes the choppiness index more reactive to trends, but also slightly more likely to missidentify ranges.
This is the panel version of the indicator. It plots the index and min/max values, as well as background colors to tell you when it thinks the market is ranging or trending.
Yellow = Trending
Transparent gray = Ranging
BERLIN Range Index | Bar color versionThe original problem: The choppiness index is great at finding ranging markets, but it is sometimes very slow, which means most of the time it only catches the end of a trend.
This indicator tries to solve this. It uses the choppiness index and filters it using a factor that is based on the standard deviation of the ATR.
The ATR based filter is calculated by first calculating the running standard deviation of the ATR, and then looking at that in relation to its recent low to find a filtering factor to use on the choppiness index. This makes the choppiness index more reactive to trends, but also slightly more likely to missidentify ranges.
This is the bar color version of the indicator. It changes the color of the bars when it it thinks the market is ranging and when it thinks it is trending.
Yellow = Trending
Transparent gray = Ranging
VWAP-ATRstopAdapted ATR-stop with only VWAP and ATR.
Didnt test it, feel free to use it the way you want. You can turn off the bar color function and change any config.
VWAPVWMAATRAdapted ATR that i am using in BTC 15M charts. It is an usual ATR-Stop smoothed by a VWAP and a VWMA.
This crazy config i am using only for BTC, but i found others configs with others assets, like brlusd contracts.
You can turn off the barcolor function and change the lenght of the VWAP and VWMA.
ATR [Gu5]ATR (Average True Range) by Sylvain Vervoort
In contrast to other ATR indicators, the line changes color when profits start
A diferencia de otros indicadores ATR, la linea cambia de color cunado empezamos a tomas ganancias
Variable SuperTrend - evoPlayed around with Lazy Bear's VMA and Gunazzi's SuperTrend Cloud .
It plots an uptrend if the low of a candle gets above the recent downtrend and plots a downtrend if the high of a candle gets below the recent uptrend, you have to wait for the candle to close to confirm the actual trend change.
I use it to give me a direction for longs or shorts, not as a stop/reverse indicator.
Thanks Lazy Bear and Gunazzi :)
Average True Range Percentage (ATRP)ATR measures volatility, but you can't compare one instrument vs. another with it because the ATR value will be different depending on the price of the instrument. I went searching for something like ATR but with percentages, so you could compare one stock vs. another to find who is more volatile and found this .
It was exactly what I was looking for, so decided to re-create it in TradingView. Enjoy!
Description
Average True Range Percent (ATRP) expresses the Average True Range (ATR) indicator as a percentage of a bar’s closing price.
How this indicator works
ATRP is used to measure volatility just as the Average True Range (ATR) indicator is. ATRP allows securities to be compared, where ATR does not.
ATR measures volatility at an absolute level, meaning lower priced stock will have lower ATR values than higher price stocks. ATRP displays the indicator as a percentage, to allow for securities trading at different prices per share to be compared.
Calculation
ATRP = (Average True Range / Close) * 100
Average True Range ChannelThe Main Idea came from "The Way of Turtle" and I'd just adjusted it.
If you have an interesting then find the book near library.
Thank you and have a nice day :)
Normailzed CandleThis indicator normalizes Day's candle with Open. Idea is to see the daily movement in the context of the Open of the Day.
Larry Williams talks about Open being the most important price of the day. Hence, this indicator.
The Green line is average Open-to-High for occurrences of Red days. The Red line is average Open-to-Low for occurrences of Green days.
Average are not perfect calculations since occurrences(of Red or Green) will vary within the time-span used for averages.
These can used to gauge likelihood of the intra-day price reversal. If the price exceeds green/red line, there is higher likelihood of the price closing above/below open.
The blue lines are average Open-to-close for Green and Red occurrences.
Be careful on days where consecutive 3rd Highest High or Lowest Low day is made and also on the next day after such day. Prices may turn direction at least for a short while.
The precursor to this script of the Candle Infopanel script. That script was just numbers in panel and this is a graphical representation. I
Some of the calculations from original script are commented here because it would make visuals clutters (and probably the left-out calculation are not critical to making trade decisions!)
Moving Average Responsive ATRThis is an experimental moving average that gets more sluggish when the volatility increases.
It has two parameters:
- Period, the period for the average true range calculation.
- Responsiveness, higher value more responsive (range: 0.001…1.0)
Candle Information Panel//This indicator shows Day's candle measurements with past averages. First column shows the candle details for the present day.
//"Open - Low", "High - Open", "Range(=High-low)", "Body(open-close)"
//Averages are calculated for occurences of Green and Red days. Up Averages are for Green days and Down Averages are for Red days.
//Average are not perfect calculations since occurences(of Red or Green) will vary within the timespan used for averages.
//This can used to guage general sense of probability of the price movement.
//e.g. if the Open to Low for a day exceeds UpAv value, then there is higher likelihood of day being Red.
//similarly, trade can be held in expectation of price reaching the DnAv and stop loss can be trailed accordingly.
//Not a perfect system. But something to work on further to increase price action understanding.
//Be careful on days where consecutive 3rd Highest High or Lowest Low day is made and also on the next day after such day. Prices may turn direction at least for a short while.
Complete Credit goes to @pinecoders who gave me the main script on tradingview chat room.