A Renko Trading Strategy with Multiple Indicators (update 2)Repeatable patterns. Something to watch on the 25 tick / 15 minute Renko chart for CL. This first image is late January. I’ve marked some areas of interest and where we could be in the pattern and something to watch.
This is from today’s price action.
Pay close attention to the action of the indicators between the two highlighted periods of time.
Stochasticoscillator
Beating the S&P500 (SPX) Buy&Hold strategy by 16 timesS&P500 (SPX) strategy using Stochastic RSI Min-Max, normalized Volatility and Trailing Stop signals, beats the Buy&Hold strategy by 16 times
Embarking on the quest to time the market accurately, the 'Holy Grail' of strategies, led me to create a script to approach this goal. Unlike other strategies that I tested, this one not only surpasses the long-term S&P500 Buy&Hold approach but does so by a remarkable 16.38 times!
Initially, I employed an A.I. program based on an LSTM Neural Network using TensorFlow. Despite achieving a 55% next-day prediction accuracy for short/long positions, I sought improvement using a heuristic pine-scripting approach, incorporating stochastic RSI oscillators, moving averages, and volatility signals.
With default parameters, this strategy, freely available as "XPloRR S&P500 Stock Market Crash Detection Strategy v2" delivered a staggering 2,663,001% profit since February 1871. In the same period, the Buy&Hold strategy "only" generated 162,599% profit. Picture this: a $1,000 investment in 1871 would now be worth $26,630,014 by February 2024. Check it out for yourself loading this strategy.
The script operates as a Stochastic RSI Min-Max script, automatically generating buy and sell alerts on the S&P500 SPX. What sets it apart? The strategy detects "corrections," minimizes losses using Trailing Stop and Moving Average parameters, and strategically re-enters the market after detecting bottoms using tuned Stochastic RSI signals and normalized Volatility thresholds.
Tailor its parameters to your preference, use it for strategic exits and entries, or stick to the Buy&Hold strategy and start new buy trades at regular intervals using buy signals only. In the pursuit of minimizing losses, the script has learned the effectiveness of a 9% trailing stop on trades. As you can clearly see on the upper graph (revolving around 100), the average overall green surfaces (profits) of all trades are much bigger than the average red surfaces (losses). This follows Warren Buffets first rule of trading to "Never lose money" and thus minimizing losses.
Update: Advanced S&P500 Stochastic RSI Min-Max Buy/Sell Alert Generator
I have also created an Alerter script based on the same engine as this script, which auto-generates buy and sell alert signals (via e-mail, in-app push-notifications, pop-ups etc.).
The script is currently fine-tuned for the S&P500 SPX tracker, but parameters can be fine-tuned upon request for other trackers or stocks.
If you are interested in this alerter-version script or fine-tuning other trackers, please drop me a message or mail xplorr at live dot com.
How to use this Strategy?
Select the SPX (S&P500) graph and set the value to "Day" values (top) and set "Auto Fit Data To Screen" (bottom-right).
Select in the Indicators the "XPloRR S&P500 Stock Market Crash Detection Strategy v2" script and set "Auto Fit Data To Screen" (bottom-right)
Look in the strategy tester overview to optimize the values "Percent Profitable" and "Net Profit" (using the strategy settings icon, you can increase/decrease the parameters).
How to interpret the graphical information?
In the SPX graph, you will see the Buy(Blue) and Sell(Purple) labels created by the strategy.
The green/red graph below shows the accumulated profit/loss in % of to the initial buy value of the trade (it revolves around 100%, 110 means 10% profit, 95 means 5% loss)
The small purple blocks indicate out-of-trade periods
The green graph below the zero line is the stochastic RSI buy signal. You can set a threshold (green horizontal line). The vertical green lines show minima below that threshold and indicate possible buy signals.
The blue graph above the zero line is the normalized volatility signal. You can set a threshold (blue horizontal line) affecting buy signals.
The red graph above the zero line is the slower stochastic RSI sell signal. You can set a threshold (red horizontal line). The red areas indicate values above that threshold.
However real exits are triggered if close values are crossing below the trailing stop value or optionally when the fast moving average crosses under the slow one. The red areas above the threshold are rather indicative to show that the SPX is expensive and not ideal to enter. Please note that in bullish periods the red line and areas can stay at a permanent high value, so it is not ideal to use as a strict sell signal. However, when it drops below zero and the green vertical lines appear, these are strong buy signals together with a high volatility.
These Parameters can be changed
Buy Stochastic Lookback
Buy Stochastic Smoother
Buy Threshold
Buy Only After Fall
Minimum % Fall
Sell Stochastic Lookback
Sell Stochastic Smoother
Sell Threshold
Sell Only With Profit
Minimum % Profit
Use Sell MA
Fast MA Sell
Slow MA Sell
MA Sell Threshold
Use Buy Volatility
Volatility Smoother
Volatility Threshold
Use Trailing Stop
Use ATR (iso of a fixed percentage for the trailing stop)
ATR Lookback
Trailing Stop Factor(or fixed percentage if "use ATR" is false)
Trailing Stop Smoother
Important : optimizing and using these parameters is no guarantee for future winning trades!
Stochastic RSI in detail and how to use it.The Stoch RSI (Stochastic Relative Strength Index) is a technical analysis indicator used to identify overbought or oversold conditions in financial markets. It is a combination of two popular indicators: the Stochastic Oscillator and the Relative Strength Index (RSI). The Stoch RSI applies the Stochastic Oscillator formula to the RSI values, aiming to provide a more sensitive and faster signal for potential trend reversal.
The Stoch RSI is calculated as follows:
Choose the time period for which you want to calculate the Stoch RSI. The most common period is 14 .
Calculate the RSI: (Detailed post on this in the link below)
Determine the highest and lowest RSI values: Identify the highest and lowest RSI values over the same time period (e.g., 14 days).
Calculate the Stoch RSI: Use the following formula to calculate the Stoch RSI:
Stoch RSI = (Current RSI - Lowest RSI) / (Highest RSI - Lowest RSI)
The resulting Stoch RSI value will range from 0 to 1 (or 0% to 100%). A value above 0.8 (or 80%) typically indicates an overbought condition, suggesting a potential price correction or reversal, while a value below 0.2 (or 20%) indicates an oversold condition, which may represent a buying opportunity.
What does Stoch RSI tell us ?
Stoch RSI is a measure of how fast the RSI is changing. As an analogy. Imagine you are driving your car and have foot on the accelerator which will cause increase in the speed of your cat at every moment, now the rate at which your car's speed increases is acceleration. The bigger the more powerful engine your car has the more acceleration you get and the faster you get to the top speed of your car. So, in this analogy speed of your car at any instant is RSI , acceleration is Stoch RSI and top speed of your car is overbought condition of an asset.
RSI measures who is relatively more aggressive among buyers and sellers at a given instant. Stoch RSI measures how aggressive the buyers or sellers are at a given instant.
So just like in a fight if someone is too aggressive, they are going to spend themselves too quickly and even though they want to fight more they won't be able to until they ease up and relax a bit, this is similar to Stoch RSI of an asset getting to overbought condition and then asset either retraces or takes a pause as buyers are exhausted and need to regain strength by taking profits which turns them into sellers and the asset starts moving in opposite direction.
Why is 80 considered overbought?
The number 80 is chosen based on empirical evidence, suggesting that when the Stoch RSI reaches these extreme values, there is a higher probability of a price reversal or correction. When the Stoch RSI is above 80, it indicates that the asset's price has risen significantly over a short period and could be overextended. In this situation, the asset may be overvalued, and traders may consider selling or taking profits as the price could reverse or correct.
How to use Stoch RSI to enter a trade?
How to enter a Long Trade:
=======================
Step 1. Always use Stoch RSI along with RSI to make a decision:
Step 2. Use it on mid to high term time frame (4h and higher).
Step 3. Make sure both RSI and Stoch RSI are in oversold zone.
Step 4. Make sure the asset is resting on a key support level and holding it.
Step 5. Fearlessly enter the trade.
How to enter a Short Trade:
=======================
Step 1. Always use Stoch RSI along with RSI to make a decision:
Step 2. Use it on mid to high term time frame (4h and higher).
Step 3. Make sure both RSI and Stoch RSI are in overbought zone.
Step 4. Make sure the asset is rejected from a key resistance level and is not able to breach it.
Step 5. Fearlessly enter the trade.
What happens if Support or Resistance is broken in Step 3 above:
=======================================================
That's where divergences come into play.
What is a divergence?
===================
Divergence is a technical analysis concept that occurs when the price of an asset and RSI/Stoch RSI indicator move in opposite directions, indicating a potential trend reversal.
There are two types of divergences: bullish divergence and bearish divergence.
Bullish divergence occurs when the price of an asset makes a new low while the RSI/Stoch RSI indicator makes a higher low. Remember from explanation provided in sections above, this suggests that even though the price is going lower there
are more buying activities than selling and the assets are becoming stronger, and a potential trend reversal may be imminent.
Bearish divergence, on the other hand, occurs when the price of an asset makes a new high while the RSI/Stoch RSI indicator makes a lower high.
I have highlighted bullish divergence in chart with purple line. Shown in Red line is bullish Divergence in Stoch RSI, when RSI is not fully oversold, this can happen when a new support is being formed on the chart due to changes in fundamentals of the underlying asset or some news events.
Bullish and Bearish Divergences are even more powerful signals for taking trades, but we must make sure price is holding a support or rejecting from a resistance before taking the trades, otherwise divergences can easily disappear.
Why do traders fail to effectively use RSI?
The primary reason is lack of experience in trading.
Which leads to impatient behavior.
Not knowing how to mark key support/resistance levels.
No risk management skills. (Taking too much risk)
Lack of trust in self when taking trades, (Keep stopping losses too tight which knocks them out of the trades).
I have shown several instances where RSI generated long signals and all of them were successful, the only reason a trader would not be able to use RSI effectively is because of the above reasons.
Top 10 Technical Indicators for Successful TradingTop 10 technical indicators for successful trading
Introduction:
Technical indicators are essential tools for traders to analyze market trends, identify potential trading opportunities, and manage risk. These indicators are mathematical calculations based on past price and volume data that can help traders make informed decisions about buying or selling assets. In this article, we'll discuss the top technical indicators that traders can use to enhance their trading strategies.
Moving Average:
A moving average is a widely used technical indicator that helps traders identify market trends. A moving average is calculated by averaging the price of an asset over a specific period, such as 10 days or 50 days. This indicator smooths out the price data and makes it easier for traders to identify the direction of the trend. When the price is above the moving average, it's considered a bullish trend, and when the price is below the moving average, it's considered a bearish trend.
Relative Strength Index (RSI):
The Relative Strength Index (RSI) is a momentum oscillator that measures the strength of a price trend. The RSI is calculated by comparing the average gains and losses over a specific period, typically 14 days. The RSI value ranges from 0 to 100, with values above 70 indicating an overbought market, and values below 30 indicating an oversold market. Traders can use the RSI to identify potential trend reversals and overbought or oversold conditions in the market.
Bollinger Bands:
Bollinger Bands are another widely used technical indicator that helps traders identify potential trend reversals and price volatility. Bollinger Bands consist of three lines: a moving average in the center, and two outer bands that represent the standard deviation of the price data. When the price is within the bands, it's considered normal market volatility. However, when the price reaches the outer bands, it's considered an overbought or oversold condition, and a potential reversal may be imminent.
MACD (Moving Average Convergence Divergence):
The Moving Average Convergence Divergence (MACD) is a trend-following momentum indicator that helps traders identify changes in momentum and trend reversals. The MACD is calculated by subtracting the 26-day exponential moving average (EMA) from the 12-day EMA. A signal line, which is a 9-day EMA of the MACD, is also plotted on the chart. Traders can use the MACD to identify potential buy and sell signals, as well as divergences between the MACD and the price of the asset.
Fibonacci Retracements:
Fibonacci Retracements are a popular technical indicator that helps traders identify potential support and resistance levels. Fibonacci Retracements are based on the idea that prices tend to retrace a predictable portion of a move, after which they may continue in the original direction. Traders can use Fibonacci retracements to identify potential entry and exit points, as well as stop-loss levels.
Stochastic Oscillator:
The Stochastic Oscillator is another momentum oscillator that helps traders identify overbought and oversold conditions in the market. The Stochastic Oscillator is calculated by comparing the closing price of an asset to its price range over a specific period. The Stochastic Oscillator value ranges from 0 to 100, with values above 80 indicating an overbought market, and values below 20 indicating an oversold market. Traders can use the Stochastic Oscillator to identify potential trend reversals and overbought or oversold conditions in the market.
Average True Range (ATR):
Average True Range (ATR) is a technical indicator that measures the volatility of a stock or currency. Developed by J. Welles Wilder Jr., ATR calculates the average range of price movements over a specific period, taking into account gaps in price movements. ATR is typically calculated over a period of 14 days, but traders can adjust this period to fit their specific trading strategy.
To calculate ATR, traders first calculate the true range (TR), which is the greatest of the following:
Current high minus the current low
Absolute value of the current high minus the previous close
Absolute value of the current low minus the previous close
Once the true range is calculated, traders can calculate the ATR by taking an average of the true range over a specific period.
ATR can be used to measure volatility in the market, helping traders to identify potential trading opportunities. When ATR is high, it indicates that there is a lot of volatility in the market, which can present opportunities for traders to profit. Conversely, when ATR is low, it indicates that the market is relatively stable, and traders may want to avoid entering trades at that time.
Ichimoku Cloud:
The Ichimoku Cloud, also known as Ichimoku Kinko Hyo, is a technical indicator that provides a comprehensive view of potential support and resistance levels, trend direction, and momentum. The indicator was developed by Japanese journalist Goichi Hosoda in the late 1930s and has gained popularity among traders in recent years.
The Ichimoku Cloud consists of five lines, each providing a different view of the market:
Tenkan-Sen: This line represents the average of the highest high and the lowest low over the past nine periods.
Kijun-Sen: This line represents the average of the highest high and the lowest low over the past 26 periods.
Chikou Span: This line represents the current closing price shifted back 26 periods.
Senkou Span A: This line represents the average of the Tenkan-Sen and Kijun-Sen, shifted forward 26 periods.
Senkou Span B: This line represents the average of the highest high and the lowest low over the past 52 periods, shifted forward 26 periods.
The area between Senkou Span A and Senkou Span B is referred to as the "cloud" and is used to identify potential support and resistance levels. When the price is above the cloud, it indicates a bullish trend, and when the price is below the cloud, it indicates a bearish trend.
Traders can also use the Tenkan-Sen and Kijun-Sen lines to identify potential entry and exit points, with a bullish crossover of the Tenkan-Sen above the Kijun-Sen indicating a potential buying opportunity, and a bearish crossover of the Tenkan-Sen below the Kijun-Sen indicating a potential selling opportunity.
Conclusion:
In conclusion, technical indicators are valuable tools for traders in the financial markets. The Average True Range (ATR) can be used to measure volatility in the market, while the Ichimoku Cloud provides a comprehensive view of potential support and resistance levels, trend direction, and momentum. By using these indicators in combination with other technical analysis tools and market knowledge, traders can make informed trading decisions and improve their chances of success. It's important for traders to experiment with different indicators and find the ones that work best for their trading strategy.
Trading Counter Trend GuideAnytime we are taking a trade we're trying to build
a case to why it's a good trade.
Here the counter trend trader would be thinking:
-Price inside 4hr DBR demand zone
-Price overextended ridding the bottom of the BB
for 10x candles in a row
-Stochastic RSI is oversold
-Imbalance, correction, imbalance, with potential correction time.
-Average Imbalance wave to downside = 4.2%
-The average Correction is 3.2%
Would I buy straight up? no, but I'm sure some traders might.
instead of confirmation IMO is the better play +
considering smaller risk + quicker trade management + quicker TP as
the trade is aggressive.
Stochastic + RSI + MACD zero cross strategy from backtest on SPYStrategy
1. Stochastic cross at 50 level
2. RSI cross at 50 level
3. MACD cross at 0 level
4. Engulfing Candlestick?
5. Level 2 Tape sentiment balance (Optional)
Technical Analysis
It's a simple technical analysis setup strategy for bullish or bearish trading setup in both bullish and bearish sentiment scenarios. All levels in the indicators are at standard default settings.
Step One:
Look at the Stochastic indicator cross at 50 level and a cross over the signal line. This will be the first check and we want the cross to occur at the 50 level.
Step Two:
Check the RSI and need a cross at 50 level. This is the second confirmation.
Step Three:
Check the MACD cross and it's best to wait for the cross to happen at the zero line. This has a lower instances from occurring but it helps to avoid fake-outs that MACD is prone to showing.
Step Four:
Look for an engulfing candlestick pattern in the chart for a final confirmation.
Step Five (Optional):
If you have access to Level II quotes and the Time&Sales, watch for a momentum into the Ask side for a bullish sentiment or the Bid side for a bearish sentiment. Also you'll need to be familiar with tape reading on the volume and speed for better entry or exit.
The "Hidden RSI Divergence" and a LIVE TRADEFinding regular divergences is an easy thing especially when you're using the heiken Ashi algo oscillator but finding hidden divergences can be a little bit more complex. So in today's video I'm going to show you how to find hidden divergences and what you should do with them.
Obviously step number one is go to the community scripts on tradingview and search for Heiken Ashi Algo Oscillator
If you Have any trouble finding it just follow this link
What you're watching me do in this video is identifying hidden Divergence has and I am doing a live trade.
I am also discussing the importance of setting your support and resistance levels as well as looking at your charts, doing your analysis on a high time frame and then doing your actual trades on a lower time frame.
In the previous video as I've mentioned before anything happening between the green and red or + 10 + - 10 range of the oscillator anything inside that area is irrelevant you don't care about heiken Ashi values or oscillators values or anything inside that area so when you have your RSI cross for example above the 0 level you also need a hike and as you candle to close above + 10 when you have your RSI value across below the 0 leveled you also need a heiken Ashi candle to close below the -10 level.
One thing to note is the major difference between regular divergences and hidden divergences is this.
When looking for Regular Divergence has you are looking for highs above the +10 of the oscillator or you are looking for Lowe's below the -10 level of the oscillator.
However with hidden Divergences it is different. a hidden Divergence will be the Lowe's above + 10 and the highs below -10. So at this point you are looking for the highway 6 or the low wicks in those areas.
But ultimately you still trade them the same way. Meaning that if your RSI slope is to the down side then you have to be ready for your price to move down. If the slope of your RSI Divergence is to the upside then you have to be ready for price to move up.
I could do my best to tell you in this dialogue how to do this trade however it would be best for you to just watch this video and ask questions below.
What is the Heiken Ashi Algo OscillatorWhat is the "Heiken Ashi Algo Oscillator"
Well here is a link to it
It is an indicator that measures volume and momentum.
It plots and RSI as Heiken Ashi candles.
It includes seven different types of moving averages against the relative strength index.
Each one of these moving averages calculates faster than the previous, starting from the SMA to the LSMA.
It includes a hidden vwap as a moving average to confirm Trend Direction.
It uses a "Double Stochastic Strategy" designed by @CoffeeshopCrypto
The first Stochastic being called the "slow stochastic" and the second stochastic using a hull moving average calculation and it's K% and a separate multiplication in its D%.
------------------------------------------------------------------
Welcome to the coffee shop everyone. This is your host and Barista Eric as always serving up something piping hot and frothy unless you just like a chai tea which tastes like a hot Garden in a cup. Chai is definitely not my cup of tea but I do like drinking tea over coffee . So if you feel like sending me something then let it be either coins on tradingview or it could be a few tea bags of your favorite.
Okay so I'm keeping the intro very short today and I know my videos tend to be pretty long and I max out at the 20 minute marker but I do like to keep you people informed and today is the information you've been waiting for.
today is the release of the Heiken Ashi Algo oscillator.
There is definitely not enough time in this video To break down all the different ways you can use it for trading because it is available to so many different styles and strategies so in today's video I'll show you what all the parts do what all the parts mean you can take it and added to your chart and start running with it.
In the meantime day-to-day you will see new strategies posted in my profile. Each one depicting a different trading strategy and trading style that can you can use against the Heiken Ashi Algo Oscillator.
I figured it would be easier this way anyway to break up the trading Styles across different videos so that there is no confusion and you won't have to worry about watching two different styles in the same video at least .
So without further Ado let's grab our coffee and tea and raise our glasses in a universal, community style toast and get onto the oscillator and all of it's moving parts.
This is where you need to play the video and listen, because it would be TOO MUCH to type and too much to read. So let's go.
-----------------------------------------
For my trading style, the HA candles have been Recalculate it again because I come to find out that the AHA candles are based on a 2. Calculation which means if my candles are set to 9. IRS I should be twice of that and my RS I'm moving average should be two times at so my candles are 9 my RS I is 18 which is 9 * 2 and my are as I'm moving average is 36 which is 18 * 2.
I just wanted to point this out before anyone starts asking me what are the best settings. these are not necessarily the best they are simply the ones that work for me.
HA Candle: These are the colors, Wicks, and borders, as they are plotted against yourRSI. they are simply a representation of the RSI signal but you can have your RSI set at one length while your candles are set at another length.
RSI: No description needed here this is simply the relative strength index
long exit - This is a signal to tell you the uptrend is going to pause or stop.
short exit - this is a signal to tell you that the downtrend is going to pause or stop
Resistance levels - This is a signal to tell you where you can set the beginning of a trend line and the level of resistance on your chart.
support levels - is this a signal to tell you where you can set the beginning or end of a trendline and set a support level on your chart
RSI Moving average - this is the signal line of your moving average against your RSI and you can choose up to 7 different calculations.
Buy and sel Signals - These signals are triggered based off of certain criteria happening in the oscillator related to volume and Trend Direction.
**WARNING** You should take BUYS when you are in an uptrend and SELLS in a downtrend. (IE 200ma below the 50 ma for uptrend and 200 above 50 for downtrend)
Slow stochastic RSI ribbon - this prints a visual representation of the regular stock a stick on your oscillator.
Fast Stochastic RSI ribbon - This is the second part of the double Stochastic strategy which prints a fasterStochastic on your chart which uses part of a hull Moving Average calculation.
Finally ALERTS have been included.
To use the alerts go to your alerts Tab and click create alert.
Under "Condition" select Heiken Ashi Algo
In the drop-down below it you can select:
buy signal to enter long
Sell signal to enter short
Soft Long or Short exit, if you want to get out of your Long or Short trade when the trend begins to change
Hard Long or Short exit, Is when you definitely should get out of your long or short trade.
there is also an alert set up if you want to be notified about new resistance levels or new support levels.
Just select the one you want and adjust the message that will arrive to you via email, phone, or on screen.
So........ did we do a good job? Let's talk in the comments below.
Confluence example - 5 reasons to sellWe have trendline that connects highs and price is trending down. We also see resistance zone formation that price tested 3 times. On the 3rd
touch price also tested the trendline and formed bearish candlestick pattern. Stochastic indicator worked
well as it gave another confirmation so sell (red circle).
1. Downtrend
2. Trendline
3. Resistance
4. Bearish Candles
5. Stochastick Osc.
REQUEST: Set alert on Hiken-Ashi RSI Percent K line.A member of TV asked a question about how to set an alter for the HARSI indiciator and wanted to know how to get an alert each time the Stochastic %K line passes down crosss the 20.00 value.
You can use the same method when it crosses up from below the -20.00. You just need to add a ( - ) sign into your "value"
@Sandra117