Simple RSI stock Strategy [1D] The "Simple RSI Stock Strategy " is designed to long-term traders. Strategy uses a daily time frame to capitalize on signals generated by the Relative Strength Index (RSI) and the Simple Moving Average (SMA). This strategy is suitable for low-leverage trading environments and focuses on identifying potential buy opportunities when the market is oversold, while incorporating strong risk management with both dynamic and static Stop Loss mechanisms.
This strategy is recommended for use with a relatively small amount of capital and is best applied by diversifying across multiple stocks in a strong uptrend, particularly in the S&P 500 stock market. It is specifically designed for equities, and may not perform well in other markets such as commodities, forex, or cryptocurrencies, where different market dynamics and volatility patterns apply.
Indicators Used in the Strategy:
1. RSI (Relative Strength Index):
- The RSI is a momentum oscillator used to identify overbought and oversold conditions in the market.
- This strategy enters long positions when the RSI drops below the oversold level (default: 30), indicating a potential buying opportunity.
- It focuses on oversold conditions but uses a filter (SMA 200) to ensure trades are only made in the context of an overall uptrend.
2. SMA 200 (Simple Moving Average):
- The 200-period SMA serves as a trend filter, ensuring that trades are only executed when the price is above the SMA, signaling a bullish market.
- This filter helps to avoid entering trades in a downtrend, thereby reducing the risk of holding positions in a declining market.
3. ATR (Average True Range):
- The ATR is used to measure market volatility and is instrumental in setting the Stop Loss.
- By multiplying the ATR value by a custom multiplier (default: 1.5), the strategy dynamically adjusts the Stop Loss level based on market volatility, allowing for flexibility in risk management.
How the Strategy Works:
Entry Signals:
The strategy opens long positions when RSI indicates that the market is oversold (below 30), and the price is above the 200-period SMA. This ensures that the strategy buys into potential market bottoms within the context of a long-term uptrend.
Take Profit Levels:
The strategy defines three distinct Take Profit (TP) levels:
TP 1: A 5% from the entry price.
TP 2: A 10% from the entry price.
TP 3: A 15% from the entry price.
As each TP level is reached, the strategy closes portions of the position to secure profits: 33% of the position is closed at TP 1, 66% at TP 2, and 100% at TP 3.
Visualizing Target Points:
The strategy provides visual feedback by plotting plotshapes at each Take Profit level (TP 1, TP 2, TP 3). This allows traders to easily see the target profit levels on the chart, making it easier to monitor and manage positions as they approach key profit-taking areas.
Stop Loss Mechanism:
The strategy uses a dual Stop Loss system to effectively manage risk:
ATR Trailing Stop: This dynamic Stop Loss adjusts based on the ATR value and trails the price as the position moves in the trader’s favor. If a price reversal occurs and the market begins to trend downward, the trailing stop closes the position, locking in gains or minimizing losses.
Basic Stop Loss: Additionally, a fixed Stop Loss is set at 25%, limiting potential losses. This basic Stop Loss serves as a safeguard, automatically closing the position if the price drops 25% from the entry point. This higher Stop Loss is designed specifically for low-leverage trading, allowing more room for market fluctuations without prematurely closing positions.
to determine the level of stop loss and target point I used a piece of code by RafaelZioni, here is the script from which a piece of code was taken
Together, these mechanisms ensure that the strategy dynamically manages risk while offering robust protection against significant losses in case of sharp market downturns.
The position size has been estimated by me at 75% of the total capital. For optimal capital allocation, a recommended value based on the Kelly Criterion, which is calculated to be 59.13% of the total capital per trade, can also be considered.
Enjoy !
Tesla Motors (TSLA)
[CP]Pivot Boss Multi Timeframe CPR Inception with MACD and EMAINTRODUCTION:
This indicator combines multi-timeframe CPR bands with MACD Momentum and EMA trend, all projected on the candlestick chart through a novel visualization.
If you have seen my other indicators on TradingView, you would know that I use floor pivots a lot and “Secrets of a Pivot Boss” is my favorite book. While using floor pivots, time and again I have noticed an interesting price behavior,
Trending moves in price typically start from around the Central Pivot Range (CPR). The CPR could be from ANY timeframe. These moves can easily be caught using simple momentum and trend indicators like MACD and EMA crossovers.
Yes, it is that simple. Follow along to understand how to use this indicator.
INDICATOR SETTINGS:
RANGEBOUND MACD AND EMA MARKINGS:
TradingView limits the max number of labels that can be shown on a chart to 500. Therefore, if you go far back enough, you won't see any markings for the MACD or EMA setups. If you are looking to test the efficacy of this indicator in the past, change the start and end dates to your desired timeframe and then select the ‘Mark MACD and EMA Setups in Range?’ option.
MULTI TIMEFRAME CENTRAL PIVOT RANGE:
Here you can select CPRs and their bands from which timeframes are shown on the chart. I will share my favorite settings later in this description.
CPR CONFIGURATION:
Show CPR Labels: CPRs markings can carry labels, so that you don’t confuse between which line is what. Use this setting to toggle them On/Off.
Show Next Time Period Pivots: Check this option if you want to see the CPR of the next time period. This is typically done to figure out the ’Two Day CPR Relationship’ . Read the book, “Secrets of a Pivot Boss”, to understand more.
EMA TREND:
Show EMA on the Chart: EMAs will be plotted on the chart. Standard stuff.
Mark EMA Crossovers on Chart: EMA crossovers will be marked on the chart in diamond shapes. If you are using EMA crossovers, I recommend setting this option to True.
Rest of the EMA settings are fairly obvious.
MACD MOMENTUM:
Projecting MACD parameters directly on the candlesticks is surely going to give you a new perspective about price action and MACD.
Also, in order to better understand the MACD projections on the chart, you can add a standard MACD indicator on the chart with default settings to figure out what my indicator is actually showing you.
Marking MACD Crossovers on Chart: Marks the MACD signal crossovers on the chart. This visualization was a game changer for me.
Show MACD Histogram on Chart: Projects the complete MACD Histogram in a novel fashion (Try it!). You will be able to visually see the ebbs and flow of momentum in the charts.
Mark MACD Histogram Peaks on Chart: Marks only the MACD peaks instead of the complete histogram. Peaks are a great way to enter an ongoing trend and to play an intraday rangebound market.
Rest of the settings are just the standard settings that you will find in a typical MACD indicator.
ALERTS:
Not shown in the settings panel, but I have added alerts for EMA and MACD Crossovers so that you don’t have to sit in front of the charts or constantly check the price all day long.
If you don’t know how to set alerts in TradingView, then please Google it.
INDICATOR USAGE EXAMPLES:
This indicator can be used in intraday as well as in higher timeframes.
There are quite a few variations possible, I personally prefer to use the EMA crossovers in intraday (5m) and MACD on Daily timeframes.
This is just a matter of personal preference, some people might prefer using EMAs only or MACD only in all timeframes.
Here are my personal settings for the intraday 5-minute timeframe:
Turn on all the CPR pivots starting from Yearly all the way to Daily. You can turn on 6 hourly and 4 hourly as well if you want.
Hourly CPR is mostly used when the price is in a strong trend and you missed the entry and don’t know when to enter. Price will typically experience pullbacks towards the Hourly CPR, before resuming in the direction of the trend. That is your chance to hop onto the bandwagon.
For Intraday, I keep the Bands off. Just a personal preference here.
You can turn ON the Show CPR Labels , if you want.
Turn ON both the options in the EMA TREND section. You would want to see the EMA crossovers marked on the chart as well as the EMAs themselves, as the distance between the two EMAs will give you an idea about the strength of the trend.
Keep rest of the settings in the EMA section as default (you can change the colors if you wish). I keep the same EMAs as the ones kept in the MACD indicator. I like to keep things simple.
In the MACD MOMENTUM section, turn ON Mark MACD Histogram Peaks on Chart and all the other options turned OFF. Leave the other settings as default. By the way, these are the default settings of the standard MACD Indicator.
You can set up EMA Bullcross and Bearcross alarms if you like.
Before checking out the examples, remember one super simple rule:
SOME OF THE BEST TRENDING MOVES IN THE MARKET, BE IT INTRADAY OR OTHERWISE, ORIGINATE IN THE VICINITY OF A LARGER TIMEFRAME PIVOT/CPR.
Look for price settling above/below a pivot, and then a move away from the pivot in any direction is typically a trending move.
You can use hourly pivots or MACD Histogram peaks marked on the chart to enter an existing trend, or add to your positions.
Let’s have a look at a few recent intraday examples from the Crypto, Indian, and US equity markets.
I have added my comments in the charts to make you easily understand what is going on.
Understand that both, moving average crossover and MACD, will give out a lot of signals (chop) every day. But almost 70% of them are going to be fake signals. It is the signals that you get when the price is near a Pivot, that tend to convert into gorgeous trending moves that last.
BTC 5m Charts
NIFTY Futures 5m Charts (good intraday trends are hard to find here, as the market is very efficient)
TSLA 5m Charts
Some important points for using this indicator in higher timeframes:
For higher timeframes, my personal preference is to go with the MACD indicator. I personally find MACD to be lethal on daily and weekly timeframes, if you know how to use it well.
The default settings of the indicator are the settings I use for both, Daily and Weekly, timeframes. Additionally, I turn off the CPR labels.
In theory large trending moves still have a big probability to start near an important pivot level, however, in larger timeframes, trending moves can start from anywhere. They need not start in the vicinity of any important pivot (but they often do!).
Weekly pivots can act as great pullback levels when the price is in strong momentum, when trading on the daily timeframe.
Quarterly Pivots act as great pullback levels when the price is in strong momentum, when trading on the weekly timeframe.
BTC Weekly Chart
BTC Daily Chart
Nifty Weekly Chart
Nifty Daily Chart
NASDAQ Weekly Chart
NASDAQ Daily Chart
FINAL WORDS:
Please understand that I have Cherry Picked the examples to showcase the capability of the indicator and its usage.
DO NOT conflate the accuracy of examples with the accuracy of this indicator.
Biggest catch is the fact that this indicator, like every other indicator out there, will have whipsaws. Some I have also marked in the example charts.
You need to come up with your own technique to avoid whipsaws, one technique I have shared here…… big moves typically start near pivots.
Work on avoiding whipsaws and finding you own edge in the markets.
If you really want to learn how to use Pivots, read the book ’Secrets of a Pivot Boss’ . This book can change your life.
[CP]Pivot Boss Floor Pivots with ATR Dilation and Dynamic LevelsINTRODUCTION:
Compared to all the Pivot Indicators available on Trading View Public Library, this Floor Pivots Indicator differentiates itself in two major original ways:
Dilates the Pivot Support/Resistance Levels into Support/Resistance Bands based on volatility
Displays the S/R Levels Dynamically , that is, only those levels will be shown that are close enough to the price resulting in much cleaner looking charts.
There were a few features whose logic I had figured out, but I could not implement them due Pine Script’s Limitation (they should really work on increasing Pine Script’s capacity instead of adding more and more features to the language in order to make it look ‘better’):
Showing multiple timeframe pivots at the same time (not possible due to Pine Script’s limitation on the ‘Max Number of Outputs’ )
Automatic Detection of highly profitable Double Hot Pivot Zones (DPZ), also due to the ‘Max Number of Outputs’ limit
GENERAL USER INPUTS:
Most of the settings are self-explanatory, however, a few of them need some explanation:
Show Floor Pivots Dynamically – This will turn ON the dynamic pivot levels, please note that this function will work ONLY IN INTRADAY timeframes.
Dynamic Pivot ATR Period – Period over which the ATR value is calculated to show the pivots dynamically.
ATR Threshold for Dynamic Floor Pivots – Simply put, the indicator will start displaying Pivot Levels if they fall within the 2*ATR distance (default value) of the price. You can increase this number if the volatility increases and vice-versa.
Use ATR to Dilate Intraday Pivot Levels – This will turn ON Floor Pivot Dilation, turning pivot ‘lines’ into ‘bands’ .
ATR Dilation Factor – This number decides the width of the Pivot bands. Larger this number, thicker the bands. Typically, high volatility stocks will require a higher number.
ATR Period – Same as Dynamic Pivot ATR Period, but for Pivot Level Dilation.
INDICATOR USAGE EXAMPLES:
This indicator works great in conjunction with my Pivot Boss Candlestick Scanner indicator.
There are a lot of optimizations I have done in the code, although it looks trivial at first glance, but it's fairly complex.
Feel free to use it and modify it as you wish.
Here are a few examples where the indicator has shown great entries and exits, with the default settings:
NIFTY 5m Chart
Reliance 5m Chart
Tesla 5m Chart
Bitcoin-USDT 15m Chart
FINAL WORDS:
Please understand that I have Cherry Picked the examples to showcase the capability of the indicator and its usage.
DO NOT conflate the accuracy of examples with the accuracy of this indicator.
Once you start using floor pivots, you will realize that a lot of days simply don’t give any high probability setups and you will simply sit out of the market and do nothing (which is a good thing).
If you really want to learn how to use Pivots, read the book ’Secrets of a Pivot Boss’ . This book can change your life.
TSLA $4 Red CandleThose who trade TSLA often have come to know that a $4ish red candle on the 15min chart is normally a sign of a trend reversal to the downside by the market makers. To help identify these with ease this script will label any candles that close red with a $4.00 -> $4.99 price gap.
Heikin-Ashi Change Strategy/ Indicator
Today I bring you a simple and efficient indicator/strategy based only on HA.
Can be used together with other TA tools or alone.
The idea behind is simple :
We have to forms to calculate the candle, using inner HA candles or normal candles. Once we have that we apply certain rules to get the max high, min low, open and close(ohlc)
With that then we check for changing in the patters like for example
For long close is higher than open and the previos close is lower than open. For short is going to be the opposite of long condition.
For the purpose of this example, I only use long direction and exit once we have the short signal.
If you have any questions, please let me know in private chat !
Earnings Support and Resistance Levels [NeoButane]Inspired by @LazyBear's/@timwest's script:
Usage: support and resistance levels based on averaging price around earnings and quarterly opens.
What it is plotting:
1. A horizontal level whenever earnings occur. If actual earnings is higher than estimated, the line turns green, else red.
2. A horizontal level every quarterly open, colored black.
3. An average between the two mentioned above, colored orange.
4. 5% moves away from 3M open and earnings
5. Misc: 5% move away from that 5% move away, then 10% move away from the 2nd 5% move away.
By default, 4 and 5 are off to reduce visual noise.
Idea: Traders panic around certain dates that always happen, and traders always panic in the wrong direction. The market is composed of traders trading in the wrong direction at the same time, all the time. That means price will bounce back and forth as the gambling dens colloquially known as 'forex brokerages' or 'stock exchanges' take your money in the form of fees, time, and liquidations. So I put two lines on the chart and put one right in between, because it always goes back. I hope you can find it useful!
Note: This was a part of the old fundamental data indicators and is not officially for use, so while it should work on most U.S. stocks and a couple of other exchanges, it is not perfect.