Consecutive Unswept Lower Highs/ Higher Lows CounterCounts consecutive Lower Highs and Higher Lows; number resets to zero when previous pivot high or low gets swept
-To help give an idea of when a retracement / run-on-stops may be overdue. i.e. the higher the counter number grows, the longer we've gone without a proper retracement.
//inputs//
~pivot lookback/lookforward: increase this for more significant pivot highs and lows.
~number of pivot high 'counter' labels (pairs) to show in history.
~formatting options.
Countertrend
Contrarian Scalping Counter Trend Bb Envelope Adx and StochasticContrarian Scalping is an trading strategy designed to take advanted of a counter-trend.
The advantage of these strrategies types is that they have a good profitability but with do not great gain (in relation at the time frame).
Indicators used:
Bollinger
Envelope
ADX
Stochastic
Rules for entry
For short: close of the price is above upper band from bb and envelope, adx is below 30 and stochastic is above 50
For long: close of the price is below lower band from bb and envelope, adx is below 30 and stochastic is below 50
Rules for exit
For short: either close of the candle is below lower band of bb or enveloper or stochastic is below 50
For long: either close o the candle is above upper band of bb or envelope or stochastic is above 50
If there are any questions let me know !
%R Trend Exhaustion [upslidedown]I love Williams %R! This indicator mixes two %R periods... a standard %R with a longer period %R. The longer period of 112 has interesting results for trend following strategies in the crypto market through backtesting.
Alone these are fairly ordinary but together they provide a very interesting trend exhaustion/reversal system while filtering out some noise. I have highlighted key areas of interest with filled boxes. An "area of interest" is when there is confluence between the short and long period %R values along with being overbought or oversold. Once there is a break in the overbought or oversold trend, an arrow will print.
This is one of my odder ideas that appears to have some merit and detects interesting tops or bottoms (or confirms a trend reversal) so I'm publicly publishing for the community to find. If you find this useful please reach out and let me know how you use it as it's fairly unique... and thus different than anything I've ever seen or used.
scalping against trapped countertrendAbstract
This script attempts to find the end of countertrend.
This script uses oscillators to measure long term and short period trends. When the long term trend keeps positive and clear short term period is over, this script provides a buy signal.
This script does not contain pullback, cut loss and re-enter. You need to add it manually.
Introduction
Many traders want to buy when long term trend is bullish and short term pullback is over.
This is because we can take advantage to the emotion of countertrend traders.
Countertrend traders realizes their profit is finite and therefore want to protect their profit well and limit their loss.
This script is inspired by a searchable trading strategy video.
The video mentioned 4 points.
(1) long term trend. The video did not spend much ink on this point. You can use any method to observe.
(2) clear pullback bar (at least 50% body)
(3) weak bar after clear pullback
(4) entry trigger buy stop
This script attempts to quantize these points to determine trading direction.
This script is originally designed for timeframes lower than examples in the video but you can apply it on any timeframe.
Computing and Adjusting
(1) long term trend
This script uses smoothed stochastic.
(2) clear pullback bar
Since this script is originally designed for timeframes lower than examples in the video, so the condition becomes:
RSI is low enough
(3) weak bar after clear pullback
RSI goes back from low level.
(4) entry trigger buy stop
This script does not include this condition.
You can decide enter when buy stop or pullback.
Parameters
x_src : the value for computing oscillators
x_len_a : how many bars for measuring short term trend
x_len_b : how many bars for measuring long term trend
x_k_b : smooth long term trend, the average value of stochastic values
x_changk = check if clear short term pullback appears recently. 1 means do not use, larger numbers means how long of periods to check.
x_rsi_ct : threshold of short term pullback clear
x_rsi_ft : threshold of short term pullback end
Reading numbers in Strategy Tester
Most possible loss :
(1) to find rational pullback. Generally 1/3 to 2/3 atr.
(2) to find cut loss distance. Generally 1 to 2 atr.
Most possible profit :
to find if trading the opposite direction against this script is profitable.
Conclusion
This script can suggest us trading direction.
Waiting for pullback can reduce risk, compared to buy stop.
This script does not provide good signals in sideways markets.
Reference
A searchable trading strategy video
Dynamic EnvelopeA dynamic envelope is designed to build an actual envelope that consider the volatility of a trading instrument.
A dynamic envelope is an ideal counter-trend indicator, it takes into account the nature of the movement of the instrument. At the same time, it does not require adjustment of parameters over time, it adjusts itself to volatility.
The indicator can be effectively used on any markets and instruments.
Динамический конверт предназначен для построения актуального конверта, который учитывает волатильность торгового инструмента.
Динамический конверт - это идеальный контртрендовый индикатор, он учитывает характер движения инструмента. При этом он не требует подгонки параметров со временем, он сам подстраивается под волатильность.
Индикатор можно эффективно использовать на любых рынках и инструментах.
Close Counter HistogramAn interesting experiment to make an indicator act as a counter. I call it CCH - Close Counter Histogram.
It adds 1 when current close is higher than previous close and reduces -1 when current close is lower than previous close.
In the CCH settings you set how many bars to look back and use EMA to smooth the results or disable EMA smoothing.
Disable the EMA smoothing and you'll see the real deal (pure counter).
The higher the GREEN columns the more higher closes and the lower the RED columns the more lower closes.
In case columns are declining above 0 a more darker green will appear.
In case columns are declining below 0 a more darker red will appear.
Supports bar coloring (disabled by default).
Feel free to comment and Like if you like.
Enjoy :)
Advancing Declining OscillatorYet another Array indicator, simple, but efficient which i call ADO. The indicator acts as a COUNTER of when CLOSE closes above OPEN and vice versa based on specified look back period in settings.
If we have more Closes above Opens, obviously the indicator will be above ZERO and GREEN, otherwise RED.
Optional to smooth it by EMA (true by default).
Like if you Like and Enjoy!
GMS: Candlestick Patterns with RSI FilterI wanted to apply an RSI filter to some of the new Candlestick Patterns (in the indicators tab) since some of them looked to be quite effective for picking reversals. Turns out it's a pretty good pairing.
You can modify the RSI length in addition to the upper and lower thresholds. I also added in check boxes to combine different bullish and bearish patterns.
The candlestick patterns included are:
1. Long Upper Shadow
2. Long Lower Shadow
3. Doji
4. Bullish Harami
5. Bearish Harami
6. Bullish Engulfing
7. Bearish Engulfing
Hope it helps!
Andre
Falling Knives Jagged SpikesThe purpose of this script is to trade with the trend, trade trend continuation, and counter-trend trades.
Uptrend is price above 200 ema: Background is green and the bar colors are normal
Downtrend is price below 200 ema: Background is red and the bar colors are normal
Counter-trend to uptrend--Bar colors are white and the background is purple
counter-trend to downtrend--Bar colors are black and the background is aqua.
How to use:
Uptrend (green background): Only go long
Downtrend (red background): only go short
Counter-trend to uptrend/downtrend (white bars/black bars): Take counter-trend trade when price is a substantial distance from the 200 EMA. Best if there was a divergence with an oscillator. A lot of times these are just deep pullbacks or rallies.
trend continuation: In uptrend, after falling knives, and trend continues up (background turns to green) look to buy, you are getting a great price on the asset. Same for downtrend.
Keep in mind that nothing is perfect, and to of-course test everything.
Best of luck in all you do. Get money.
RSI Swing SignalThis indicator is a tool designed to be used with Steven Hart's RSI Exhaustion strategy. For more information google TheTradingChannel or look him up on YouTube :)
The default RSI settings for this strategy are:
RSI Overbought: 80
RSI Oversold: 20
Length: 7
When the RSI gets above 80, the line will turn red and the script will begin looking for a specific type of engulfing candle to go short. The same is true when the RSI gets below 20, but the line will turn green and look for longs. It is best used as a back-testing aid, but it can also be used to send emails or SMS alerts whenever the conditions are met. It can also be used as an alternative colored RSI indicator by removing the signals in the settings menu and changing the RSI parameters to whatever you normally use. This can aid in RSI divergence and overbought/sold strategies.
Entries:
The bright green and bright red lines represent the first type of engulfing candle.
The dark green and red lines represent the second type of engulfing candle.
Some pairs perform best with only one of these entries, while others work fine with both.
This is a counter-trend or consolidation strategy, and is best used in combination with trend-continuation or trend-following strategies. As always, make sure you back-test it before you use it to trade as it works better on some pairs than others.
Naked Forex Trading StrategyBased on "How Naked Trading Works" video by Walter Peters: youtu.be I don't know this person and I am in no way affiliated with him. I just found his video interesting enough to make this into a script.
Rules as described by Walter in his video:
1. if current candle makes a higher high than the previous one
2. and is a bearish engulfing candle
3. and has room to the left
4. and is the largest candle (high - low) compared to the last 7-10 previous ones
Then open trade on the next candle once it breaks bearish engulfing candle's low and take profit close above previous support. Stop loss goes a few pips above bearish engulfing candle high
Do the opposite on a bullish engulfing candle signal.
Works best on 1H, 4H and 1D timeframes.
I haven't done any extensive backtesting on this, but it looks like it gives pretty good signals: