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.
Trend
Efficient Trend Step ModThis is my mod of a wonderful script by alexgrover. See his comprehensive description of the logic behind the script at his page at
Added are labels, alerts and selection of periods among (mainly;)) fibo numbers.
SELO Triangular WaveBased on master indicator creator @AlexGrovers scripts i just combined some of his work.
Result depends on settings and pairs and is not forward tested yet although the backtest can give some good results.
Efficient Trend Step - Spotting Trends EfficientlyIntroduction
The trend-step indicator (or auto-line) was based on volatility and aimed to spot trends in an adaptive way, however the indicator was only based on volatility and didn't gave much attention to the trend, later on i would publish an efficient version of it (efficient auto-line) based on the efficiency ratio who could adapt to the trend and eliminate potential whipsaws trades, however this approach included many settings that would require changes if the user switched markets, which reduce the utility of the indicator and make it actually super inefficient.
This is why i had to propose this indicator who remove all the flaws the efficient auto-line had without removing the core idea of it.
The Indicator
The indicator is based on recursion, when the price is superior/inferior to the indicator precedent value +/- volatility metric, then the indicator is equal to the closing price, this allow the indicator to fit the price relatively well. The volatility metric used is based on 2 standard deviations, one fast and one slow and the efficiency ratio, basically when price is trending the volatility metric will be closer to the value of the fast standard deviations, which would allow the indicator to be closer to the price, else the metric will be closer to the slow standard deviation which restrain the indicator from changing, therefore the volatility metric act as a threshold.
length control the period of the efficiency ratio, lower values of length will result in a volatility metric way closer to the fast standard deviation thus making the indicator more inclined toward making false signals.
Lower values for slow will make the indicator more reactive.
The indicator can be reactive but can also be really conservative, thus even remaining unchanged in some contrary movements of the main trend, this is called robustness and has its pro's and con's.
Conclusion
The trend-step indicators family might get to an end, or not, nonetheless they can provide precise entries and be extremely robust, which is great. Using low settings might prove to be useful to remove some noise. I hope this version find its use amongst the community. Thanks for reading !
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.
Forecast Oscillator & Point of ForceThis is a scaled version of the Forecast Oscillator, paired with a Point of Force Indicator, my modification of an indicator, whose original name and developer happened to be missing on my notes, so my regards to the author).
Point of force is a spot from where price action will dynamically evolve in the same direction or soon reverse and pursue that reversed path. It may be an indication of a turning point or entry point to consider going long/short and should be use together with a background oscillator showing a prevailing local trend.
Smart Labelling - Candlestick ChartingThis is a full-fledged implementation of a system presented in an unique research paper 'Profitability of Candlestick Charting Patterns in the Stock Exchange of Thailand' (2017) on candlestick charting, candlestick patterns, trend identification methods, and testing.
You can easily find this paper in the Web. For example, visit: www.researchgate.net
This script is best suited for middle-to-higher time frames. Possible future developments: trend identification and factor calculation techniques.
Donate: PayPal (paypal.me)
HMA-Kahlman Trend, DifferenceFilter & TrendlinesThis update to the previous HMA-Kahlman Trend, Clipping & Trendlines script features the same structure with the three modules:
- Trendlines module,
- NEW Winsorizing submodule using difference-based filtering.
- HMA-Kahlman Trend module.
The Winsorizing submodule filters signals by a volume level, eliminating the ones with the volume below a threshold. This module substitutes the previous 'low-level' filtering implementation. This time it filters out based on difference between scaled volume and its moving average.
Tested with BTCUSD.
B-Xtrender @PuppytherapyI have recreated a trend following indicator published in IFTA Journal by Bharat Jhunjhunwala. It is mainly to be traded on big timeframes.
For anyone looking into the indicators please have in the source below where logic behing the indicator is nicely explained.
ifta.org
The only thing I added is a T3 moving average with momentum shift signals for earlier signals in some cases.
Mean Reversion IndicatorThis is a mean reversion indicator that anticipates a local trend reversion. Basically, it is a channel with the mid-line serving as a moving mean baseline. Each of the two curves run up and down within this channel bouncing off from the top and bottom bounds. Touching the bounds serves as an indication of a local trend reversal. The reversal signal is stronger when there exists a resonance (symmetry) in the two curves. The background histogram shows a Karobein oscillator that contributes support or resistance for the signal.
HMA-Kahlman Trend & TrendlinesThis script utilizes two modules, Trendlines module (by Joris Duyck) and HMA-Kahlman Trend module. Trendlines module produces crossovers predictive of the next local trend.
Chop FilterIt is common knowledge that most traders lose money by leaving trends too early and not letting profits run. Chop Filter attempts to paint over wrong-colored candles which might psychologically cause traders to bail off the trend. It also tries to detect potential trend reversals (experimental).
How it works. Chop Filter highlights wicks with a shaded background based on close relative to a volume-weighted moving average (vwma). If it closes up, or if there are higher lows, it shades the background blue. If it closes down, or there are lower highs, it colors the background red. Finally, it shows a big arrow indicating the direction prices are headed, based on the vwma. The arrow helps me to consider where prices might go, and play out different scenarios, rather than being a true prediction. In fact, it is often wrong when there is a lot of volatility, which can also be a good thing.
I find the shaded background has a calming effect that reduces stress. It also helps identify trends in the wicks that are otherwise difficult to see.
There are some other options to play with, such as highlighting narrowing or widening price action in yellow or optionally showing the vwma .
Have fun!
RSI [xdecow]RSI MTF
Options:
-MA
-RSI from another timeframe
-Uptrend/Downtrend zone
-barcolor based on RSI trend
Hull-Kahlman Trend with AlertsThis update is meant for those who do not want to dig into the code.
Also:
- modified hma3 function
- modified kahlman function
- edited for readability
- added alerting
Chaikin Oscillator HystogramThis indicator shows an hystogram with the Chainkin Oscilator values, with color changes in function of the direction (up/down) . Also show the 0 crossovers, up and down.
Chaikin Oscillator gets its name from its creator, Marc Chaikin.
The Chaikin Indicator applies MACD to the accumulation-distribution line rather than closing price.
For me it's very usefull to identify (or confirm) trends up and trends down.
All my published scripts:
es.tradingview.com
GetTrend Strategy (modified & ported to PS4)This is a port to PS4 of an amazingly simple solution that may have good prospects as a standalone indicator, an add-on or an integral part of a trading system. Many thanks to its authors and contributors.
Absolute Strength Histogram v2 | jhv2 changes the way the histogram is plotted.
Histogram shows the strength and can be used to identify trending or ranging periods.
Absolute Strength Histogram | jhOriginal ASH code from alexgrover
Some changes:
- Change the price to SMA with Period of 1 with reference to the original MT4 code
- Added a few more MAs
Mix1 : Ema Cross + Trend Channel [Gu5]Based on Trend Channel
Ema-crossover is added
Crossing alerts, only on trend
Basado en mi anterior indicador, Trend Channel
Se agrega Cruce de Medias Moviles (Ema-crossover)
Las alertas solo son en favor a la tendencia
El valor de SMA Range es arbitrario (No Backtesting). Cambia la amplitud de canal que determina cuando es rango (barras amarillas por estar muy cerca del SMA200, sin tendencia definida)
Range Multiplier adapta el indicador a distintos mercados
//Setting recommended for SMA Range
//BTCUSD = 100
//EURUSD = 1000
//SPX = 100
//ETHUSD = 10
Si te fue útil este indicador, puedes comprarme una cerveza ;)
Bollinger Band Strategy (Basic) Version 1 This strategy is for learning purposes only. Pay special attention to these strategies on longer aggregation periods (like 1 hr chart or more). Don't expect accurate results when you set a limit to 10 cents above your entry to be accurate. For example if you set the chart to 1 day, the price may move down and hit a stop 10 times then tag your limit. If this doesn't make sense, just don't use strategies here. Learn more first. That being said, I don't have specific recommendations for each aggregation period, backtesting isn't always perfect.
Now then, this strategy can be used as the traditional BB method by setting the "Stop" and "Limit Out" to like 10000, check "Reversal Entry" and uncheck "Limit Time of Day" This will keep the strategy running just reverse your position when price crosses outside each band.
INPUTS:
Length - length of WMA that I used for mean of Bollinger Band (this may suppose to be SMA, too bad)
Source - O-H-L-C basis for WMA
Deviation - normal Standard deviation that would be set when using Bollinger Band
Trailing stop check box - your stop value will be either a hard stop or trailing stop for an exit
Stop - the stop value - remember you can set this really high and it won't stop out
Limit Out - the limit value for exit
Reversal Entry check box - This changes each entry from a reversal (traditional idea of BB) to enter a trend trade - hopefully version 2 will have choice to trend one direction and reversal in the other.
Limit Time of Day - Especially when trading futures, you may want to only trade a specific time of day, when this box is checked, you can set the entry times below, exit will still only occur based on limit/stop or a flip entry order (the opposite entry condition is met)
Tips:
when I don't know a thing about a price range, like gold. I can set the limit out to 10000 and play with a trailing stop to get a better idea of what is even possible before tuning further.