3x SuperTrend Strategy (Mel0nTek) V1This is a triple SuperTrend based strategy for lower time frame trades such as day trades and scalping. I have not seen many strategies that combine multiple SuperTrends so I thought I would publish this one since I put it together and have been quite happy with the results. I have found through testing that the best results are on currency exchange markets such as Crypto or Forex on 1-15 min time frames.
The core idea was inspired by a youtube video put out by Trade Pro:
"Trade Pro - HIGHEST PROFIT Triple Supertrend Trading Strategy Proven 100 Trade Results"
I went ahead and set the defaults to the ones he uses in his video for anyone who wants to try a configuration similar to his. They work pretty well in general, however the EMA, SuperTrend ATR multipliers, and P/L ratio can be tuned/optimized to fit the timeframe/market desired. The video is quite good but not a required watch as I will explain below.
The 200EMA is used as a medium-term trend direction indicator.
- Price closing consistently above the 200EMA means that only long positions should be entered.
- Price closing consistently below 200EMA means that only short positions should be entered.
The 3 SuperTrend indicators should be used as direction confirmation for entries. Typically, price above SuperTrend indicates bullish movement, while price below SuperTrend indicates Bearish movement. However by itself, it is not a great indication to enter/exit positions in my experience. By combining 3 of them with slightly longer periods and increased ATR multipliers, we can get much stronger confirmation of trend direction/strength.
The way they are used in this strategy is such that:
- We only want to enter a position if at least 2 out of 3 SuperTrends are on our side.
- 3/3 SuperTrends on our side is the best case, since we are taking trades WITH momentum/price strength.
- The second farthest SuperTrend from entry price is used as a Stop Loss
SuperTrend being on our side is not the only requirement for an entry however. The probability of success is increased with SuperTrend, and a longer EMA on our side, but we want to be sure that we aren't getting in too late/after the movement has already happened.
So we use Stoch RSI to pick our entries where price is oversold/overbought and reversing. That means the Stoch RSI is above 80, or below 20, and our indication to enter the trade is when the 2 lines cross/begin reversing direction.
So with trend direction on our side, we can get really good entries at these oversold/overbought extremes, especially as it's reversing (Stoch RSI K and D are crossing). This allows us to use the SuperTrend as a support/stop loss on our entry since price should be above it.
Then we just target 1.5x our max loss so that even if we only win 50% of the time, we still make a profit.
The explicit rules of this strategy are as follows:
=== Rules ===
long only
- price above EMA200
short only
- price below EMA200
Stop Loss = 2nd SuperTrend line above (short) or below(long) entry candle
Profit = 1.5x SL/risk (Profit Ratio x Max Loss)
=== Entry Setup ===
LONG
- Stoch RSI below 20, cross up
- at least 2 SuperTrend lines below close
SHORT
- Stoch RSI above 80, cross down
- at least 2 SuperTrend lines above close
P.S. Special thanks to Trade Pro for producing so many quality videos, putting strategy claims to the test, and providing me with so many good ideas I apply to my own strategies.
Stochastic RSI (STOCH RSI)
Three EMA and Stochastic RSI Signals with TP and SL AlertsThis is kind of similar to one of my other scripts but I figured people might be looking for this one in a simple wrapped up package. It takes 3 EMAs, a 50, 14 and an 8 and the trade signals come from crossovers of the Stochastic RSI lines and conditions that marry up with the EMAs lining up in an uptrend or downtrend condition. I used the TP and SL lines from one of my other scripts so you can see where the winners and losers are. Includes alerts so they can be used with webhooks to automate however you wish. I have added signal confirmation with Weiss Wave Volume on side with trend. Stop and TP Levels are configurable in the settings as well as the periods for the ATR used in these calculations.
(JS) Triple StochasticSo I ended up adding a ton of stuff to my prior Double Stochastic script which you can see here .
The concept of the Double was to smooth out the existing Stochastic by applying a Stochastic to the existing Stochastic (hence the Double). My concept for the Triple Stochastic is much different. It combines a regular stochastic, stochastic RSI, and the double stochastic to get a smoothed output based on all 3.
Also - since I love being able to see a Squeeze (see my Squeeze Pro indicators - Squeeze Pro 2 & Squeeze Pro Overlays ) I added the Squeeze to the Stochastic (the dots). If you're unfamiliar with how a Squeeze works, or what it is, check out my links for explanation. A quick explanation however is that the Squeeze is an indicator that was invented by John Carter that detects price compression before a big move out of a range. This is done by using Bollinger Bands and Keltner Channels, the BB shrink inside the KC. The color of the dots represent the depth of the BB in the KC, white (or black) being the lightest squeeze, red being the standard squeeze, and yellow being the strongest squeeze. Now on to the indicator:
The first thing you'll notice is the options available for the type of Stochastic you'd like to use:
Standard : This is a regular Stochastic
Stochastic RSI : This is the standard Stochastic RSI
Double : This is the Stochastic on top of a Stochastic from the prior version
Triple : This is simply an average of all 3 of the above combined together
(Top indicator shows the Triple Stochastic)
The options "K", "D", and "Smooth" are the settings from a regular Stochastic used to set up the type of Stochastic you choose to use.
Now let's say you're not sure how one type performs compared to another, or you like the quickest momentum change but also like to see the smoothest trend, or you want to use the same types of Stochastic and watch for them to cross like moving averages - for these reasons I added the ability to add a second Stochastic for comparison.
(2nd indicator shows a fast and slow Triple Stochastic together)
Quite obviously, the "K 2", "D 2", and "Smooth 2" are what is used in order to set the parameters for the second Stochastic.
Now another thing I added was the option to replace the regular Stochastic and instead look at the distance between the K and D. By turning off "Use K% and D%" you get to see this in action. To put it simply, a cross above zero would indicate a positive Stochastic crossover, and a cross below zero would represent the opposite. There's also an option titled "SMA Length using Difference" which, to smooth this out a bit, allows you to apply a moving average to the distance. By setting it at 1 you'd see the actual distance between K and D.
(3rd indicator shows the K and D distance used as a plot)
Another thing I wanted to do was add a different type of background that wasn't based on the indicator itself. I decided to use ADX & DMI which is a great way to determine the trend. When you select "ADX/DMI BG" the BG colors will change from being based on the indicator to being based on ADX and DMI.
(The 3rd indicator also shows the ADX/DMI BG being used).
And now finally the last feature I decided to add takes us back to the Squeeze. Essentially it is just the Stochastic shown through the lens of Squeeze momentum, as I ended up plugging the Stochastic output into the Squeeze momentum formula to create an oscillator. By selecting "Use Oscillator" you will see this in action as well.
(Bottom indicator shows the oscillator addition)
Multi-timeframe Dashboard for RSI And Stochastic RSI Dashboard to check multi-timeframe RSI and Stochastic RSI on 4h, 8h, 12h, D and W
Great side tool to assist on the best time to buy and sell and asset.
Shows a green arrow on a good buy moment, and a red when to sell, for all timeframes. In case there are confluence on more than one, you have the info that you need.
Uses a formula with a weight of 5 for RSI and 2 for Stochastic RSI, resulting on a factor used to set up a color for each of the timeframes.
Legend per each timeframe:
- Blue: Excellent buy, RSI and Stoch RSI are low
- Green: Great buy, RSI and Stoch RSI with a quite positive entry point
- White: Good buy
- Yellow: A possible sell, depending on combination of timeframes. Not recommended for a buy
- Orange: Good sell, depending on combination of timeframes
- Red: If on more than one timeframe, especially higher ones, it is a good time to sell
For reference (But do your own research):
- Blue on Weekly: Might represent several weeks of growth. Lower timeframes will cycle from blue to red, while daily and Weekly gradually change
- Blue on Daily: Might represent 7-15 days of growth, depending on general resistance and how strongly is the weekly
PS: Check the RSI, Stochastic RSI and other indicators directly as well
STOCHASTIC+Stochastic Oscillators are used to determine Overbought and Oversold Market conditions. This Stoch is set to a quicker Length then normal with an RSI that changes color depending on Momentum. When RSI is Overbought you well get a red shadow to indicate the market is setting up for a sell. When the RSI is Oversold you will get a green shadow to indicate the market is setting up for a buy
Stochastic MTF IICombines Stochastics, RSI and MACD Histogram to give a complete picture of the momentum.
The main two lines are stochastics from the higher time frame(current time frame* 4).
The red columns are stochastic of macd histogram.
The green histogram is the stochastic rsi of price.
The dots at 50 line is the correlation between price and macd+rsi combo.
Stochastic RSI+Applies signal values to significant changes in momentum and can be used in conjunction with other indicators and analysis to improve trade timing.
Both "Signal Up" and "Signal Down" can be used for alerts.
The magnitude of the signal is the difference between K and D.
(See the code for the logic and implementation.)
Signal Up occurs when momentum is within the band and moving upward.
Signal Down occurs when momentum is within the band and moving downward.
Interpretation Note:
The Stochastic RSI is known for false signals, so it should never be used as a pure buy or sell signal. It is useful as a warning or to help with trade timing.
A good example of this is: If you are bullish on a stock, and the signal is negative (signal down), then it may be wise to not buy until the recent change in momentum has dissipated.
Ichimoku Backtester with TP, SL, and Cloud Confirmation OptionStarted with the Basic Ichimoku strategy from Mizuki32. Added Take Profit, Stop Loss (for both long and short), and a toggle to wait for confirmation from the cloud.
StochRSI x RSI x CCI x EMAsWanted to put this out there. Kind of a rough explanation but basically I wanted to build an indicator that takes out emotions and is easy to read. The indicator is basically RSI, stochRSI, CCI, and EMAs into an easy to read package. The traffic lights at the end will tell you if stochRSI/RSI and price action above according to EMA ribbon are in agreement. RSI with a period of 2 also always seemed very useful to me but it was just extremely distracting to look at it. I tried to make many rules in this indicator to find as much confluence between RSI, stochRSI, CCI, and EMAs to help you make better decisions. What is shown on the indicator is not necessarily a buy/sell signal. It should be seen as a way to view strength of price and possible momentum changes.
I find that one of the biggest distractions of indicators is taking your eyes off what is really happening at the chart above. This indicator uses popular and well used tools and helps you to get an easier visual of what is happening.
Purple lines at top and bottom: Short RSI ob/os
Red/orange and blue/green lines at top and bottom: When stochRSI kd and CCI also crosses +/- 100 or 200
Blue background: when stochRSI k > d and short RSI crosses above 30
Red background: when stochRSI k < d and short RSI crosses below 70
Green crosses: StochRSI is above 80 and making higher highs
Red X crosses: StochRSI is below 20 and making lower lows
Red/green fill of stochRSI and purple/blue dots on RSI: When short RSI and stochRSI are both ob/os
Red/green fill of RSI: Green when Long rsi > 50, red when Long rsi < 50
60/40 lines: Possible support/resistance for RSI
Traffic lights
1st light: Long RSI > EMA and stoch RSI k>d or vice versa
2nd light: Price above EMA 1 and 2 or vice versa
3rd light: when lights 1 and 2 are in agreement
Hope you enjoy!
Multi-Timeframe Stoch RSIGood evening folks!
Today I want to share with you a simple variant of the Stochastic-RSI built-in indicator.
Nothing too complex: by enabling the relative checkbox and setting the desired (k, d or the RSI ) source and timeframes, you can see higher timeframes data plotted on your screen.
Everything you need to do is enabling the indicator on the lowest timeframe (in this case 15 minutes), then you will see in YELLOW the information retrieved from the next higher timeframe (in this case 30 minutes) and in RED the information retrieved from the highest timeframe (in this case 45 minutes).
IT'S IMPORTANT THAT YOU DISPLAY THE INDICATOR ON THE LOWEST TIMEFRAME!
You can play with the overbought and oversold heights in order to have the best configuration you want (in oversold conditions is suggested to buy while in overbought conditions is suggested to sell)
The higher timeframes data are retrieved avoiding repainting since the method used for taking them is the 10th method described in this PineCoders Article , so, if you want to enable alerts, you SHOULD ignore the disclaimer message related to it without any problem.
Good Trading!
Momentum Strategy (BTC/USDT; 30m) - STOCH RSI (with source code)Here's a strategy for low time frames (30min suggested) for BTC , based on momentum Analysis using Stochastic RSI
By default the strategy will use the 50% of the specified capital for each trade; if "Gamble Sizing" is enabled, it will add the specified amount of capital (25% by default, until reaching the 100% limit or lower) for the next trade after having detected a loss in the previous trade; if the next trade is successful, the size for the next trade comes back to 50%
• Trend Filter LONG: If the fast exponential moving average is UNDER the slow exponential moving average , it won't open LONG positions
• Trend Filter SHORT: If the fast exponential moving average is ABOVE the slow exponential moving average , it won't open SHORT positions
• Bars delay: the strategy will wait the specified amount of bars before closing the current position; the counter is triggered as soon as the closing trade condition is verified
BY MAKING USE OF THIS STRATEGY, YOU ACKNOWLEDGE AND AGREE THAT: (1) YOU ARE AWARE OF THE RISKS ASSOCIATED WITH TRANSACTIONS OF DIGITAL CURRENCIES AND THEIR DERIVATIVES; (2) YOU SHALL ASSUME ALL RISKS RELATED TO THE USE OF THIS STRATEGY AND TRANSACTIONS OF DIGITAL CURRENCIES AND THEIR DERIVATIVES; AND (3) I SHALL NOT BE LIABLE FOR ANY SUCH RISKS OR ADVERSE OUTCOMES.
SOURCE CODE BELOW
Stochastic RSI Average FX-USDThis script calculates average stochastic RSI of local currency and USD price of the stock.
(JS) Double StochasticThe idea for this indicator came from looking at the Stochastic RSI. The Stochastic RSI takes the RSI reading then applies the Stochastic formula to it - an indicator on top of an indicator. Using this logic, I decided to try using a Stochastic on the existing Stochastic in order to smooth it out - hence the "Double Stochastic". I have also added the option to add RSI on to the indicator as well (with smoothing if you'd like).
Resolution:
I added this so you can look at the reading on any time frame.
K & D:
This is the standard K% and D% used with the Stochastic indicator - the numbers modify the length of their calculations.
Smooth:
This is the smoothing calculation, also from the normal Stochastic indicator.
Use Second Stochastic:
This adds a second Stochastic on to the chart for analysis.
K & D 2:
This is the parameters used to calculate the second K% and D% lines.
Smooth 2:
This is the smoothing interval for the second K% and D% lines.
Use K% and D%:
The default for this is to have it on. What it means is that you wish to see both the K% and D% lines (watching for a cross). If you turn this off, the plot switches to a K% & D% difference line. It is just one line that plots the distance between the two.
SMA Length Using Difference:
If this is on, then you can smooth the difference plot with an SMA, obviously if you just want the raw difference to plot, then set this to 1.
Use RSI:
Since both RSI and Stochastic use a 0-100 scale, I added the ability to plot the RSI along with the Stochastic. This will not plot if you are using the Difference plot, being that plot isn't on a 0-100 scale.
Smooth RSI:
I also added the ability to smooth the RSI if you'd like, you can turn this off for the standard RSI reading.
RSI Length:
This is the period of bars used to calculate the RSI.
RSI Smoothing Length:
This is the smoothing interval if you'd like to apply a moving average on the regular RSI reading.
RSI Smoothing Use EMA:
This makes the RSI smoothing use an EMA, when off an SMA is used instead.
RSI Source:
And finally, this is the source used to calculate the RSI value.
I hope that you all may find this useful, I have been using it myself with a lot of success. Any questions, please leave them in the comments, thanks!
Crypto BOT lower timeframesThis is a crypto bot designed for lower time frames.
Its made of 2 EMA, one fast and one slower . They are combined together with Stochastic, MACD and price action patterns.
For entries we have multiple conditions :
First we check if one of our last 4 closed candles crossed above or below the faster EMA. After that for long, we check that last close is above the fast EMA, that the fast ema is above the slower EMA, at the same time that the histogram from MACD is positive and that we have crossover with the oversold line on stochastic. For the short , the opposite of long.
For exit we have TP/SL mechanic based on price % movement, in this example if the price moved 10% from the initial position it will exit.
Bjorgum RSIRSI output signals are displayed with color change to reflect the plotted value. This makes evaluating RSI conditions require but a glance.
RSI momentum buy signals are given on the cross of the 50 level, whereas sell signals are given on a fall below.
Default values a 5 period RSI which gives more timely entrances and exits for swing traders. This can be adjusted to the typical 14 period if the viewer desires slower signals.
Bullish and bearish area is shaded to accentuate the signal to the eye.
Excellent results can be found when coupling BJ RSI, with BJ TSI, and the reversal system using all 3 as a complete together simultaneously
Default color changes are plotted as a recorded value falls within the following levels:
RSI < 30 = green
RSI 30-50 = red
RSI 50-70 = blue
RSI 70-80 = yellow
RSI 80-90 = orange
RSI 90-100 = white hot
MACD Trend CandlesThe script combines 2 indicators (MACD and Stoch-RSI) and puts them visually directly on the candles - can be used with normal OHLC candles or Heiken Ashi candles. Furthermore, you can derive divergences exremely easy directly visually from the candles as well. Lastly, a SMA 20 high and a SMA 20 low line build a trend channel.
Script is best used in trending markets to trade with the trend.
1) SMA trend channel:
* uptrend: close above
* downtrend: close below
* aggressive entry (uptrend) closing inside channel from below
* conservative entry (uptrend) closing above channel from inside
* hold (uptrend) until close below channel
* can be used accordingly for the downtrend
2) MACD candles
* visualization of the MACD histogram directly on the candles
* dark blue: histogram > 0 and histogram > histogram of previous candle
* light blue: histogram > 0 and histogram < histogram of previous candle
* orange: histogram < 0 and histogram < histogram of previous candle
* light blue: histogram < 0 and histogram > histogram of previous candle
* hold uptrend (dark/light blue candles) - combined with trend channel (above channel)
* hold downtrend (orange /yellow candles) - combined with trend channel (below channel)
* Color divergence: light blue candle > dark blue candle (price and MACD show divergence (bearish)
* Color divergence: yellow candle < orange candle (price and MACD show divergence (bullish)
* Trend change (0 line cross to upside) yellow or orange to dark blue
* Trend change (0 line cross to downside) dark or light blue to orange
3) Stoch RSI diamonds
* visualization of the STOCH-RSI as diamonds above or below the candle
* k, d line > 80: diamond above the candle
* k, d line < 20: diamond below the candle
* divergence caldle without diamond above > candle with diamond above (bearish divergence)
* divergence caldle without diamond below < candle with diamond below (bullish divergence)
Feel free to test each part individually and combine it with other indicators, e.g. BBands and Ichimoku Cloud - you will see it is a powerful visualization script
HAVE FUN
Cyclic Smoothed RSI with Divergence IndicatorI created a single indicator that combines 1) Cyclic Smoothed RSI and 2) the Divergence indicator (bull, bear). It is very handy when used with the MACD and crossover points.
Please refer to for info on how to use the cRSI indicator.
Info on the chart.
1) Red dotted lines = cRSI crossed back from overbought and crossover in MACD
2) Red solid lines = Bear divergence and crossover in MACD
3) Green dotted lines = cRSI crossed back from oversold and crossover in MACD
4) Green solid lines = Bull divergence and crossover in MACD
5) Black transition = cRSI crossover but NO crossover in MACD
Bollinger Bands Stochastic RSI Extreme SignalThis is the finalized code released to the public that I created in a video linked here.
This indicators combines a Bollinger Band and Stochastic RSI to produce signals for possible price reversal. The signals are displayed by default as green arrows for bullish and red arrows for bearish.
To trigger a signal the indicator checks for the following:
(Bullish)
A candle closes above the upper Bollinger Band
The following candle closes within the upper Bollinger Band
The RSI Stochastic is below the set threshold (10 by default)
(Bearish)
A candle closes below the lower Bollinger Band
The following candle closes within the lower Bollinger Band
The RSI Stochastic is above the set threshold (90 by default)
Advanced RSI HelperHere is Advanced RSI Helper. An advanced RSI represented in a candle type chart. It contains a Stochastic and a Pivot Detector (High-Low) and RSI divergences.
It also contains a Filter which you can configure the upper, lower zone to colorize the bars on the chart only when you are overbought or oversold, when you are in range the bars appear "transparent".
You also have the option of placing alerts for divergences or when the rsi exceeds the upper zone 1 / 2 or lower zone 1 / 2.
if you encounter any bugs do not hesitate to let me know in the comment area. The same goes for your suggestions.
Cheers and remember, risk management is the most important!
Relative Momentum Index (RMI) OscillatorThe Relative Momentum Index (RMI) is a sibling to the RSI. Where the RSI measures trend based on the average (RMA) of gains and draws over a length of time , the RMI measures based on the SUM of gains and draws . Myself and many others have found that the RMI oscillates better than the RSI does.
I paired the RMI with the oscillation method the Fisher Transformation uses to oscillate the value from -1.0 to 1.0 instead of the Stochastic way of 0 to 100. This way you can enable the Fisher transform, if desired. But I also just prefer the appearance of that.
Some options and features I have coded in-
RMI Length: This is the length of the Relative Momentum Index itself. Like the length of RSI, default 14
Oscillation Length: This is your oscillation length, like a Stochastic. If you put the length at 1 it will turn the indicator into the straight up RMI indicator. (If you select to use the Fisher Transform, the overbought/oversold lines will not show nicely)
Source Pre-Smoothing: The option of smoothing out the source, ie close, before you even run it through the RMI, oscillation, and/or transform
Oscillator Post-Smoothing: The option of smoothing the output of the script
Trailing MA: If desired, you can check the box to Use a Trailing Signal, and enter the length of lookback for a Simple Moving Average (SMA) of the RMI Osc value
Use Fill Colors on MA: If enabled, it will fill the area between the RMI Osc and the trailing MA. I chose to use colors that are similar to some educational ideas I have published, whereby nearing the bottom of the oscillation you get Green to signal Accumulation, and near the top you get Red to signal Distribution. Following red is Black, where you typically get late signal sellers that Capitulate and sell stops trigger. Blue is where traders tend to Chase price up.
The most primitive way of using this indicator would be sell when the value exceeds the overbought/top line and buy when it falls below the oversold/bottom line. You can find ways to use the fill colors, or MA crossovers, rising lows or rising highs, etc. for signals.
Here's a comparison of this indicator to the Stochastic RSI, using similar values-
Here's showing the indicator on intraday values at defaults with some pre- and post-smoothing-
Same thing, but with Fisher Transform enabled-
And an example of the fill bands in action-
Please feel free to use any part of this code as desired.