[LunaOwl] 超級趨勢 (SuperTrend)SuperTrend indicator was developed by Olivier Seban. it shows trend direction. In addition,it provides buy/sell signal. while using super trend indicator, it is better to put stop loss. In fact, you can use the line for stop loss. In addition, you can also trail it as the price move in either direction. wish you a happy trade life.
超級趨勢是奧利維爾.塞班所開發。它可以顯示趨勢和買賣訊號,使用超級趨勢請設置止損單。其實你可以用移動止損線設置。也能價格波動的時候進行追蹤。祝大家交易愉快。
The purpose of publishing Chinese Scripts is to make Pine close to more Chinese user.
發布中文腳本的目的,是希望可以讓 Pine 親近更多中文圈的使用者。
Average True Range (ATR)
ATR Strategy Back test Original script by HPotter
ATR strategy is profitable.
Buy when it says buy and sell when it says sell.
UT Bot No scammers allowed. I protect CT
This dude on Twitter @TradingScript(UT Bot) tried to take this free script and sell it.
All the inputs he put in are there to make it look complex and don't actually do anything.
The only thing that changes is "Key Value". This is the ATR multiplier and in basic terms determines the sensitivity on the indicator. The original setting by HPotter is 3.5 multiplier (key vaule) and an ATR period of 5.
So yeah I recreated the script.
**If you compare this to that scammers script 95% of the signals are the same, I don't know the exact setting he used..
**HPotter is a Legend
Simple EMA Long Only StrategySimple EMA long only strategy, using ATR on crossings to minimize fake signals.
Range Force Impulse The "Range Force Impulse" indicator combines 4 useful indicators into one, freeing up chart real-estate and giving the trader insight into trend health, bull/bear commitment, range and volatility all at a glance.
The indicator consists of the following:
Direction - True Range and Average True Range columns shown above and below 0 depending on direction of the period's price
-- TR (gray) shows the current period's trading volatility
-- ATR (Impulse colors, see below) shows an EMA of TR over a specified length
-- Can be used to determine stops and targets (Example: Stop loss at prev close - ATR, Target at 2x ATR)
Index - Alexander Elder's EMA of (change(close) * volume), shows crosses above 0 (green) and below 0 (red), and intermediate signals
-- Shows bull vs. bear interest/commitment/dominance
-- Elder recommends EMA length of 2 for daily chart buy/sell signals, and 13 for weekly chart bull/bear dominance & trend direction signals
-- Intermediate signals are shown above 0 when falling (salmon), or below 0 when rising (pale yellow)
System - Range columns are colored using Alexander Elder's censorship system (green: do not short, red: do not long, blue: is up to you)
-- Shows overall trend health (Macd histogram and EMA up/down changes)
Turtle trading strategy (Donchian/ATR)Strategy based on Turtle Trading Strategy from William Eckhardt and Richard Dennis
- Considers entering trades on breakout of Donchian channels (upper for long, lower for short) (Default length = 20 for daily)
- Considers exiting trades on breakout of Donchian channels (lower for long, upper for short) with lower length (10 for daily)
- Uses 2N ATR (default) as stop loss
My Recursive Bands [ChuckBanger]This is a different type of bands. I modified Alex Pierrefeu Recursive Bands algo. It is a smoothed version of Alex's algo and imo it suites better for heikin ashi candles but it works well with regular candles.
How to use it:
When price hugs the upper band. It is a potential long and when price hugs the lower band it is a potential short.
Credits to Alex Pierrefeu: figshare.com
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
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).
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.
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).
Lancelot ATR Volume MeterThis is an experiment I did a while back ago.
I often think On Balance Volume is a great indicator as trend direction and volume cannot lie.
However, I bumped into a few problems.
It is slow, doesn't show volatility and often time it is prone to chop.
That's why I added ATR to the equation.
Original OBV calculation
src > 0? : +volume : src < 0? -volume
Modified OBV with ATR
src > 0 ? +volume * (volume / atr) : src < 0? -volume * (volume / atr)
I have used 2 ema for this modified OBV.
ema 3
ema 18
By adding ATR to the equation we can smooth out many erratic price movement. (Stop hunting)
Also, when price move slowly but steady, often prepping for a big move, this indicator will move faster.
In short, this indicator prevents you from being stop hunted and also provide great entry for a trending market.
Works well on BTCUSD XBTUSD, as well as other major liquid Pair.
Feel free to follow me on Twitter @Lancelot_Auger for more free Alpha.
Please acknowledge my effort by like and follow.
And lastly,
Save Hong Kong, the revolution of our times.
Lancelot Band - ATR Reversal+Trending IndicatorThis is an indicator I created recently, with the mind of spotting where price might reverse and where the price is trending. You can see this as the primary indicator for your system, however, it is recommended you use this in conjunction with other confirmation indicators.
This script focus solely on ATR or Average True Range.
This indicator is the combination of the baseline from the Ichimoku cloud and the concept of the Keltner channel.
Baseline period = 14
ATR period = 14
ATR Mult = 1.5
For reversal
Long when price crossover Lower band & Stop loss at xLower band
Sell when price crossunder Upper band & Stop loss at xUpper band
For Trend Following
Long when price crossover xUpper band and Stop loss at Upper band
Short when price crossunder xLower band and Stop loss at Upper band
Again, you will need other indicators to help you to succeed in this system. This indicator will not generate the best exit for your position but will generate a good entry signal when you use it with both volume indicator and exit indicator.
Works well on BTCUSD XBTUSD, as well as other major liquid Pair.
Feel free to follow me on Twitter @Lancelot_Auger for more free Alpha.
Please acknowledge my effort by like and follow.
And lastly,
Save Hong Kong, the revolution of our times.
Custom Timeframe FibsThis is a testing project for fib levels to try out fivs on multi timeframes
Thank you ShoujiSuzuki
Alert-QuarryLake Indicator Map - ATR Trend Following Strategy A lot of times I don't like my chart crowding with indicators, thus the reason for creating this script for my strategy QuarryLake.
This script also comes with alert.
Below is the explanation for QuarryLake
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.
You can find WAE here
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.
Feel free to follow me on Twitter @Lancelot_Auger for more free Alpha.
Please acknowledge my effort by like and follow.
And lastly,
Save Hong Kong, the revolution of our times.
CloudRest ATR based cloudThis is an indicator I have been working on for the past 2 years, developed specifically for cryptocurrency.
It is primarily a trend following indicator with great success and it performs the best in 4hrs to the weekly chart.
There are two components of this indicator.
The baseline from Ichimoku cloud and volatility stop .
baseline period = 26
volatility stop = 1.5ATR, 3
You can view this as the main component of a trend following system but you will need other confirmation indicators to confirm your entry.
Feel free to modify the script for your own system.
Feel free to follow me on twitter @Lancelot_Auger
I will be posting more content in the future, stay tuned.
And lastly,
Free hong kong, the revolution of our time!
Average True Range Trailing Stops TFAverage True Range for trailing stops, can be set to any timeframe independently of currently-displayed timeframe
This indicator is derived from
but more customizable.
Many thanks to HPotter for the original version
ATR + Trailing StopsSimple visualisation of Average True Range in Pinescript V4.
The script has two modes: Running and Trailing.
In Running mode, it continuously displays the ATR above and below the price. Specifically, it displays the High and Low price plus and minus the ATR times a user-supplied multiplier. This can be helpful for visualising volatility.
In Trailing mode, it displays the same ATR line, except the line trails until price crosses it. When price crosses it, it flips from long to short or vice-versa.
You could use trailing ATR as a stop loss. Adjust the multiplier and lookback period for your asset and preference.
Average True Range PercentageUseful in finding the percent change in the ATR. Google it and see how you can implement it. I use it in a zig zag indicator made by Ricardo Santos.
Happy Trading!