Hull MA of RSI StrategyThis simple strategy base on RSI value of Close Price, High Price, Low Price, Median Price and RSI value smoothed by Hull Moving Average.
1. Optimize parameter on BTC H1 Binance chart
RSI period: 13
Hull MA period: 3
Middle Channel: 55-45
Overbough / Oversold: 70-30
2. Setup
2.1 Long Condition
- RSI of Close Price crossunder Overbought
- Close Price lower than Median Price (HL2)
- RSI of Median Price above Overbought
2.2 Close Long Position
- RSI of Close Price crossover Overbought (Take profit)
or
- RSI of Low Price crossunder upper value of Middle Channel (Stop loss)
2.2 Short Condition
- RSI of Close Price crossover Oversold
- Close Price higher than Median Price (HL2)
- RSI of Median Price below Oversold
2.2 Close Long Position
- RSI of Close Price crossunder Oversold (Take profit)
or
- RSI of High Price crossover lower value of Middle Channel (Stop loss)
3. Idea
- Follow strong momentum of Price to catch Flash Buy/Sell Bar in Crypto Market
- RSI of High Price and Low Price help to regconize setup failure quickly.
- This case study desire to find a balance of Winrate, Profit factor, Sharpe Ratio
Осцилляторы
DyorTool PremiumWhat is the DyorTool Suite?
It is a toolkit that helps the trader to trade the market emotionless, under any condition.
This package is made of 3 scripts :
DyorTool Premium
DyorTool Oscillator
DyorTool Dashboard
What indicators are in these scripts?
DyorTool Premium
DyorTool Algo which gives buy and sell signals : 4 setups. The stats shown in the picture is set with a leverage of 0.4 on each trade with the commission of Binance ( without reduction ).
Range : 4 setups
Ribbon : 4 setups
Aggressiv Scalping : Trend Following - low UT : 2 setups
EVWMA : 4 setups
Ping Pong scalping : 4 setups
Support Line : 4 setups
DyorTool Oscillator
DyorTool RSI : 8 setups
DyorTool Oscillator : 8 setups
Smart candle color : Filter noise of the market
DyorTool Dashboard
Allows the user to feel the market sentiment with a custom candle
Measure the volatility of the market
Show DyorTool Algo trend
Show the momentum trend and measure his evolution.
Smart Stop Loss and Leverage calculation in order to not get in a trade if you are late, or to protect your capital.
All these indicators allow users to :
Trade the market easier, within a clearly defined framework - range.
Detect macro trend and the nearby momentum
Get early in a trade by entering in a trade with one of the 42 setups explained.
Have realistic target profit
Protect your capital with a smart stop loss and calculate the leverage for a defined stop loss
Detect if the market is with or against you so you are not holding more than you should.
This package is unique in its kind and it is complete. You can either do scalping or day-trading with it.
There are many different indicators in it. And a formation is given to explain in detail each indicator. This formation is easy to understand.
As you saw, each indicator has its own setups. These setups are explained one by one, under what condition you can enter in a trade, how to do it, where to exit, what to understand about the market next.
There is no interpretation possible. You are either in a setup or in a waiting zone.
These indicators are self-sufficient. You don't have to use all of them, and not at the same time. You use the ones which fit you better.
Combo Backtest 123 Reversal & Smart Money Index (SMI) This is combo strategies for get a cumulative signal.
First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
Second strategy
Smart money index (SMI) or smart money flow index is a technical analysis indicator demonstrating investors sentiment.
The index was invented and popularized by money manager Don Hays. The indicator is based on intra-day price patterns.
The main idea is that the majority of traders (emotional, news-driven) overreact at the beginning of the trading day
because of the overnight news and economic data. There is also a lot of buying on market orders and short covering at the opening.
Smart, experienced investors start trading closer to the end of the day having the opportunity to evaluate market performance.
Therefore, the basic strategy is to bet against the morning price trend and bet with the evening price trend. The SMI may be calculated
for many markets and market indices (S&P 500, DJIA, etc.)
The SMI sends no clear signal whether the market is bullish or bearish. There are also no fixed absolute or relative readings signaling
about the trend. Traders need to look at the SMI dynamics relative to that of the market. If, for example, SMI rises sharply when the
market falls, this fact would mean that smart money is buying, and the market is to revert to an uptrend soon. The opposite situation
is also true. A rapidly falling SMI during a bullish market means that smart money is selling and that market is to revert to a downtrend
soon. The SMI is, therefore, a trend-based indicator.
Some analysts use the smart money index to claim that precious metals such as gold will continually maintain value in the future.
WARNING:
- For purpose educate only
- This script to change bars colors.
15 min Spear Wunder LONG BotThis indicator, which was developed to collect a coin in a downtrend for a long time, is based on the strategy of exiting with 1 percent profit by using the bots. This indicator is based on the data of the 15 min Spear by TrendciHoca indicator. The indicator that buys with the signal coming to the coin, which is in a downtrend, is designed so that you can set it in the settings section. Its default value is 10. This value can be adjusted to be lower or higher than 10 according to the risk you can take. The profit portion of 1 percent can also be adjusted upwards according to the level of risk you can take. I prefer to use all setting to 15min interval and for cryptos. You can change setting for any other interval.
Moving Stop-Loss mechanism + alerts to MT4/MT5"How to code moving stop-loss mechanism", is one of the most often repeating questions in private messages I receive, so just to focus on this mechanism, I made a spin-off from my previous script: TradingView-Alerts-to-MT4-MT5-dynamic-variables-NON-REPAINTING .
The logic here moves the stop-loss each time a trade is running and a new pivot high/low is detected. When such event occurs (UpdateLongStopLoss or UpdateShortStopLoss), stoploss_long or stoploss_short mutable variable is modified. And it needs to be coded inside strategy.exit() line as "stop=stoploss_long" or "stop=stoploss_short". Entries are pretty straightforward - on Stoch crosses.
Last lines of the script show how to wrap information about such updates and send send alerts to MetaTrader via TradingConnector for execution in Forex/indices/commodities/crypto markets via MetaTrader. Please note that "tradeid=" variable must be passed with each alert, to let MetaTrader know which trade to modify. SLMOD, TPMOD are recently added commands, along with BE (as in "move stop-loss to breakeven" - but that's another topic).
Please disregard strategy backtest results, as this script is for coding education purposes only. However, it seems with the stop-loss mechanism enabled, the results are even better, than in original version of the script :)
Combo Backtest 123 Reversal & Stochastic This is combo strategies for get a cumulative signal.
First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
Second strategy
This back testing strategy generates a long trade at the Open of the following
bar when the %K line crosses up UpBand line.
It generates a short trade at the Open of the following bar when the %K line
crosses down DownBand line.
WARNING:
- For purpose educate only
- This script to change bars colors.
RSI Cross [xaurr]This is simple but profitable rsi cross strategy, to find optimal values you can change rsi and ema periods.
Good Luck!
TradePro's Trading Idea Cipher Divergence EMA Pb StrategyHere I present you on of Trade Pro's Trading Idea: Cipher B+ Divergence EMA Pullback Strategy.
Optimized the crypto pairBTC/USDT in the 30 minute chart.
There is the possibility to switch between short and long positions.
You can choose between 2 different take profit/stop loss types: The Lowest Low/ Highest High Stop Loss/ Take Profit and the ATR Take Profit/ Stop Loss.
-----------------------------------------------------------------------------------
How does the strategy work?
ENTRY
Long
The price must be above the 200 EMA .
The price needs to make a pullback into the 50 EMA .
Right after that, the Cipher B indicator must give a buy signal, it must be below the zero line and the Money Flow cloud must be green.
Short
Contrary to the premise of long positions.
EXIT
Lowest Low/ Highest High Exit
The Lowest Low (long) / highest high (short) serves as the stop loss. The TP is formed on the basis of a factor.
(Long for example: *Lowest Low* multiplied by *Profitfactor* = TP).
ATR Exit
The value of ATR at the time of buying is multiplied by the value entered in "Profit factor ATR" and "Stop factor ATR". As soon as the price reaches this value, it is closed.
Important
The script must be optimized for each coin or currency pair. However, only the values for the profit factor, the stop loss and Lowest Low / Highest High are relevant.
Also, by changing the Chanel Length and the Chanel Average, you can create strong profit changes.
The results of the strategy are without commissions and leverage.
If you have any questions or feedback, please let me know in the comments.
If you need more information about the strategy and want to know exactly how to apply it, check out my profile. There I have created a tutorial for the function of the script.
MACD ReLoaded STRATEGYSTRATEGY version of MACD ReLOADED Indicator:
A different approach to Gerald Appel's classical Moving Average Convergence Divergence.
Appel originaly set MACD with exponential moving averages.
In this version users can apply 11 different types of moving averages which they can benefit from their smoothness and vice versa sharpnesses...
Built in Moving Average type defaultly set as VAR but users can choose from 11 different Moving Average types like:
SMA : Simple Moving Average
EMA : Exponential Moving Average
WMA : Weighted Moving Average
DEMA : Double Exponential Moving Average
TMA : Triangular Moving Average
VAR : Variable Index Dynamic Moving Average a.k.a. VIDYA
WWMA : Welles Wilder's Moving Average
ZLEMA : Zero Lag Exponential Moving Average
TSF : True Strength Force
HULL : Hull Moving Average
TILL : Tillson T3 Moving Average
In shorter time frames backtest results shows us TILL, WWMA, VIDYA (VAR) could be used to overcome whipsaws because they have less numbers of signals.
In longer time frames like daily charts WMA, Volume Weighted MACD V2, and MACDAS and SMA are more accurate according to backtest results.
My interpretation of Buff Dormeier's Volume Weighted MACD V2:
Thomas Aspray's MACD: (MACDAS)
CryptoKiller OscillatorCryptoKiller Oscillator provides entry points to the CryptoKiller trading system.
The oscillator consists of 3 lines: "explosion" set to 0; "Uptrend" at the bottom and "Downtrend" at the top.
When one of the two lines identifying the uptrend or downtrend crosses the Explosion line (it affects only the crossing, not the permanence that occurs after the crossing of the trend line on the other side) there is a large probability that the price range is changing in the direction given by the oscillator.
The oscillator does not detect trend changes, but rather reveals the presence of tail events in a given direction, usually in trendfollowing (short term trend).
You can see how when Uptrend or Downtrend are away from Explosion, they have larger movements, and then reduce these movements the closer they get to the Explosion line set to 0.
If the trend is really strong, such that there is a great chance of breaking the price ranges that have been trading up to a certain point, there will be a crossing of one of the two lines indicating the trend on the Explosion line.
The tails events that are detected by the oscillator constitute the entry points of the CryptoKiller strategy.
The CryptoKiller strategy to provide the entry and exit points incorporates this oscillator in its script for obvious reasons, but we believe that by using this strategy, it is necessary to provide the oscillator to the user, so that the user can know in advance when he will have to pay a little more attention to the chart.
Access to CryptoKiller Oscillator is granted together with access to CryptoKiller (see among other published scripts).
HYE Mean Reversion VWAP [Strategy]An RSI filtered version of PJ Sutherland's Jaws Mean Reversion algorithm using volume weighted average price (VWAP) instead of simple moving average (SMA).
"Long" on the close when;
1-) 2 period VWAP closes 3% or more below the 5 period VWAP ,
2-) 5 period exponential average of the 2 period RSI is below 30.
"Exit Long" on the close when;
1-) 2 period VWAP closes above the 5 period VWAP.
"Short" on the close when;
1-) 2 period VWAP closes 3% or more above the 5 period VWAP ,
2-) 5 period exponential average of the 2 period RSI is above 70.
"Exit Short" on the close when;
1-) 2 period VWAP closes below the 5 period VWAP.
*** You can change the needed percentage for long and short trades, periods of VWAPs and RSI levels.
*** You can select the trend direction: "Long Only" , "Short Only" or "Both". Default is "Long Only".
I used the "VWAP with period" indicator code of @neolao. Special thanks to @neolao.
Indicator Link:
HYE Mean Reversion SMA [Strategy]An RSI filtered version of PJ Sutherland's Jaws Mean Reversion algorithm.
"Long" on the close when;
1-) 2 period simple moving average closes 3% or more below the 5 period simple moving average,
2-) 5 period exponential average of the 2 period RSI is below 30.
"Exit Long" on the close when;
1-) 2 period simple moving average closes above the 5 period moving average.
"Short" on the close when;
1-) 2 period simple moving average closes 3% or more above the 5 period simple moving average,
2-) 5 period exponential average of the 2 period RSI is above 70.
"Exit Short" on the close when;
1-) 2 period simple moving average closes below the 5 period moving average.
*** You can change the needed percentage for long and short trades, periods of simple moving averages and RSI levels.
*** You can select the trend direction: "Long Only" , "Short Only" or "Both". Default is "Long Only".
Ichimoku Cloud Strategy Long Only [Bitduke]Slightly modificated and optimized for Pine Script 4.0, Ichimoku Cloud Strategy which, suddenly, good suitable for the several crypto assets.
Details:
Enter position when conversion line crosses base line up, and close it when the opposite happens.
Additional condition for open / close the trade is lagging span, it should be higher than cloud to open position and below - to close it.
Backtesting:
Backtested on SOLUSDT ( FTX, Binance )
+150% for 2021 year, 8% dd
+191% for all time, 32% dd
Disadvantages:
- Small number of trades
- Need to vary parameters for different coins (not very robust)
Should be tested carefully for other coins / stock market. Different parameters could be needed or even algo modifications.
Strategy doesn't repaint.
FXFUNDINGMATE TREND INDICATORA simple trend continuation strategy based on Ichimoku, moving average, Stochastic and MACD
Combo Backtest 123 Reversal & RSI HistoAlert This is combo strategies for get a cumulative signal.
First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
Second strategy
This simple indicator modified RSI
WARNING:
- For purpose educate only
- This script to change bars colors.
VWMA with kNN Machine Learning: MFI/ADXThis is an experimental strategy that uses a Volume-weighted MA (VWMA) crossing together with Machine Learning kNN filter that uses ADX and MFI to predict, whether the signal is useful. k-nearest neighbours (kNN) is one of the simplest Machine Learning classification algorithms: it puts input parameters in a multidimensional space, and then when a new set of parameters are given, it makes a prediction based on plurality vote of its k neighbours.
Money Flow Index (MFI) is an oscillator similar to RSI, but with volume taken into account. Average Directional Index (ADX) is an indicator of trend strength. By putting them together on two-dimensional space and checking, whether nearby values have indicated a strong uptrend or downtrend, we hope to filter out bad signals from the MA crossing strategy.
This is an experiment, so any feedback would be appreciated. It was tested on BTC/USDT pair on 5 minute timeframe. I am planning to expand this strategy in the future to include more moving averages and filters.
RSI Strategy w/ Trailing SL / TP Optimized for Crypto [Strategy]This strategy is designed to use the RSI and EMA filters. A 200 period EMA is used for short / long filters, and the 50 period EMA is used to determine the direction of the short term trend.
In addition, the script uses "rate of change" for the fast EMA (trend), volume , RSI (momentum), and price (volatility) and only takes trades when all are in optimal conditions.
I.E., the EMA is in an uptrend, the volume is increasing, price is in an uptrend, and the RSI is in an uptrend, so we will place a Long trade.
This strategy uses EMAs as a trailing stop loss and take profit. As this is a trend following strategy, the idea is to maximize profits when correct and minimize losses when
wrong.
It was designed specifically using crypto pairs, and was optimized for the 10 minute chart.
My goal was to get the best use out of the RSI indicator. I was originally an MACD fanboy, but have recently converted.
Want to help me improve this code or strategy? Have suggestions for improvement? Leave them in the comments below.
Thanks for using my script! I hope it works well for you and good luck in the markets.
If you have any questions, please leave them in the comments and I'll do my best to respond.
This script does not repaint as it only relies on close data to make a decision to enter a trade.
How to use this strategy:
___________________________
Enable Long Entries? - Used to enable or disable the strategy from executing long entries.
Enable Short Entries? - Used to enable or disable the strategy from executing short entries.
How Many Bars To Look Back for Hi/Lo: - This is used for the Stop Loss and Take Profit targets. An integer of bars is used to look back and calculate the values.
RSI Length (Rec: 8) - The length of the RSI
Source - The RSI Source
Use Slow EMA? - If checked, a 200 period EMA will be used to filter entries long or short (only take shorts when the price is below, long when above). In addition, the script will close any trades that cross the 200 period EMA. By default this is disabled.
EMA Slow - the period of the Slow EMA (200 by default)
EMA Slow Src - what to use to calculate the Slow EMA (high by default)
EMA Fast - The Fast EMA (50 period) is used to calculate the direction of the short term trend. This also factored into the Rates of Change.
EMA Fast Src - what to use to calculate the Fast EMA
ATR Length - If used, the ATR length is used to calculate the Stop Loss and Take Profit targets.
SL Multiplier - The distance away from the initial value to multiply the Stop Loss
TP Multiplier - The distance away from the initial value to multiply the Take Profit.
Use EMA as SL / TP? - If true (default) a 3 period EMA is used to calculate Stop Loss and Take Profit targets. Else, an ATR is used to calculate these values.
Stop Loss / Take Profit Offset - Default: 3 - this is used to shift the EMA / ATR Stop Loss and Take Profit lines to the right X bars. This is to ensure that they are hit properly and not exceeded.
Short Len Vol - Use to calculate the volume of the short length, used in rate of change calculations
Long Len - Use to calculate the volume of the long length, used in rate of change calculations
RSI Long Entry Val - Minimum RSI crossover value to enter a trade Long. If the RSI is below this value, trade entries are not valid.
RSI Long Cutoff Threshold - Long entry RSI value cutoff to no longer enter trades. If the RSI is above this value, trades entries are not valid.
RSI Short Entry Val - Minimum RSI crossover value to enter a trade Short. If the RSI is above this value, trade entries are not valid.
RSI Short Cutoff Threshold - Short entry RSI value cutoff to no longer enter trades. If the RSI is below this value, trades entries are not valid.
ROC Fast EMA - Calculates the rate of change between the Fast Ema now and 'X' bars ago. For a long entry, a positive value is needed, and for a short entry, a negative value is needed.
ROC Price - Calculates the rate of change between the most recent price close and 'X' bars ago. For a long entry, a positive value is needed, and for a short entry, a negative value is needed.
ROC RSI - Calculates the rate of change between the RSI now and 'X' bars ago. For a long entry, a positive value is needed, and for a short entry, a negative value is needed.
Use Close for SL - Default = Off - If checked, when a candle hits the stop loss, the trade will close on the next candle. If unchecked, the trade will remain open until the candle closes at or beyond the stop loss lines.
Custom Message Boxes - Primarily used for bots, but can be used to also insert your own messages for your trading alerts.
How to use Leverage and Margin in PineScriptEn route to being absolutely the best and most complete trading platform out there, TradingView has just closed 2 gaps in their PineScript language.
It is now possible to create and backtest a strategy for trading with leverage.
Backtester now produces Margin Calls - so recognizes mid-trade drawdown and if it is too big for the broker to maintain your trade, some part of if will be instantly closed.
New additions were announced in official blogpost , but it lacked code examples, so I have decided to publish this script. Having said that - this is purely educational stuff.
█ LEVERAGE
Let's start with the Leverage. I will discuss this assuming we are always entering trades with some percentage of our equity balance (default_qty_type = strategy.percent_of_equity), not fixed order quantity.
If you want to trade with 1:1 leverage (so no leverage) and enter a trade with all money in your trading account, then first line of your strategy script must include this parameter:
default_qty_value = 100 // which stands for 100%
Now, if you want to trade with 30:1 leverage, you need to multipy the quantity by 30x, so you'd get 30 x 100 = 3000:
default_qty_value = 3000 // which stands for 3000%
And you can play around with this value as you wish, so if you want to enter each trade with 10% equity on 15:1 leverage you'd get default_qty_value = 150.
That's easy. Of course you can modify this quantity value not only in the script, but also afterwards in Script Settings popup, "Properties" tab.
█ MARGIN
Second newly released feature is Margin calculation together with Margin Calls. If the market goes against your trades and your trading account cannot maintain mid-trade drawdown - those trades will be closed in full or partly. Also, if your trading account cannot afford to open more trades (pyramiding those trades), Margin mechanism will prevent them from being entered.
I will not go into details about how Margin calculation works, it was all explainged in above mentioned blogpost and documentation .
All you need to do is to add two parameters to the opening line of your script:
margin_long = 1./30*50, margin_short = 1./30*50
Whereas "30" is a leverage scale as in 30:1, and "50" stands for 50% of Margin required by your broker. Personally the Required Margin number I've met most often is 50%, so I'm using value 50 here, but there are literally 1000+ brokers in this world and this is individual decision by each of them, so you'd better ask yourself.
--------------------
Please note, that if you ever encounter a strategy which triggers Margin Call at least once, then it is probably a very bad strategy. Margin Call is a last resort, last security measure - all the risks should be calculated by the strategy algorithm before it is ever hit. So if you see a Margin Call being triggred, then something is wrong with risk management of the strategy. Therefore - don't use it!
PMax on Rsi w/T3 *Strategy*Profit Maximizer Indicator on RSI with Tillson T3 Moving Average:
PMax uses ATR calculation inside, for this reason users couldn't manage to use PMax on RSI because RSI indicator doesn't have High and Low values in bars, but ATR needs that values. So I personally calculate RSI in a different way to have High and Low values of RSI wrt price bars.
IMPORTANT:
Because of the sudden movements and divergences on RSI , this indicator must firstly optimized for the charts before using. Optimization can be held by users for the meaningful parameters for each chart.
3 parameters are critical when optimizing:
First: Multiplier
Second: Tillson T3 Length
Third: T3 Volume Factor
Says, Kıvanç Özbilgiç. Here's the strategy version for you to backtest & optimize properly.
Enjoy.
Scalper Helper System===========================================================================
===========================================================================
Description
===========================================================================
===========================================================================
Scalper Helper System combines a series of trade strategies which have been learned and honed in the Jim of All Trades channel.
Paixy has contributed candlestick combination rules, Jonas has shared his deep understanding of Stochastic.
Jim himself has taught clearly on the merits of RSI.
This system attempts to formulate all the notes and rules I have made over the past months.
The system searches for 10 - 15 rules which are divided into bullets and bombs. Bombs relate to momentum, so these signals may not be pinpoint accurate, but they are more often leading to bigger moves.
This initial version is released mainly only to the JOAT community to help continue the development of the idea and to help find
continued improvements.
Special thanks to FiendishFeather for his strategy work, (check out his work to learn how to apply any trading strategy to his back testing harness), and the date filtering snippet and the tip to show this option at the top.
===========================================================================
===========================================================================
The strategy decisions are based on the following general rules:
===========================================================================
===========================================================================
BULLETs are hint to the idea of firing a small sized position into the market, BOMBs are hints to go all in - however this does not mean proper risk management should be forgotten.
Without risk management this and any strategy will lead to failure.
Without risk management this and any strategy will lead to failure.
Without risk management this and any strategy will lead to failure.
Without risk management this and any strategy will lead to failure.
===========================================================================
Bullet1 uses the value of the stochastic and checks for buy/sell cross over on 5m, 8m and 13m chart.
These values should be calculated on a ratio basis ideally.
Bullet2 measures divergence between the printed Stochastic signals.
Bullet3 has been decommissioned.
Bullet4 is an RSI divergence and value indicator.
Bullet5 has been decommissioned.
Bullet6 uses the history of the stochastic buy and sell signals
Bullet7 uses the Scalper Helper Trends for entries by attempting to see how the overall trend is changing. More refinement is needed here.
Bullet8 uses the Scalper Helper Trends on multiple timeframes for entries.
Bullet9 strict buy/sell signals from Stochastic RSI
Bomb1 relies on the Fast, Medium and Slow MA's being correctly lined up as well as the Stochastic, this hints at a more imminent move and so the strategy suggests a quicker entry.
Bomb2 relies on the Fast, Medium and Slow MA's NOT being correctly lined up as well as the Stochastic, and therefore has the luxury of suggesting Limit orders near the local high/low.
Bomb3 looks for two or more Stochastics signals in the same direction and then performs a divergence calculation.
Bomb4 looks a change in the Stochastics signals direction and then performs a divergence calculation.
===========================================================================
===========================================================================
Configuration settings:
===========================================================================
===========================================================================
Users can chose to show mainly buy and/or sell signals and can select a level of strictness. Enabling strict rules will force a multi timeframe comparison of Stochastic analysis.
Users can try different levels for long and short targets for profit and stop loss. This is important because the market does not behave the same going up as it does going down.
The RSI conditional check makes the strategy more selective. This discernment can be applied to bullets or bombs in order to validate entry and exits.
During the bull run and perhaps even in ranging markets, the RSI overbought levels is usually 70-80, but in the bear market we are seeing in Crypto now, a value of 60 is more useful. Try for yourself to see what works for you and feedback in the comments.
An additional indicator, Scalper Helper Trends is recommended to get a quick view on the trend condition (rally, base, down) by viewing the MACD from multiple time frames. Further research is required to know which larger timeframes work best here.
For the 15min chart, 15m, 30m, 45m, 60m, 120m, 240m, 360m, 960m would work well. Note it is not possible to go higher than 1000 at this time.
Whether you use the Scalper Helper trends or not for your own visual confirmation, it is possible to allow this indicator to attempt to read it for you. More research is required to best model the reading of this. For now, it will simply measure the gradient of the number of up versus down colors.
The system can also find entries off the Scalper Helper Trends - but really this, by design is not the best use of Scalper Helper Trends. Although you may prove me wrong so the option is given for you to find buy/sells with your own testing.
Users can chose to use some engulfing candle arrangements to trigger exits and define the length of the 200MA and decide if this should play a part in the filtering of the signals. Similarly, a check can be made to ensure that the first two candles after a signal are behaving as we would expect with the "Wait for 2 closing in the direction of the signal" option. This has a lot of value on the 1min chart.
When Revenge trade is set to true you may re-enter a trade in the same direction as the last one when the last one was stopped out, otherwise you would only be looking for trades in the other direction. We all should not revenge trade, and indeed I have only seen a few cases when it has increased the profitability, however this option remains for now.
The flip opens a new trade in the reverse direction when a signal is given to close a trade, but does not apply to scenarios where stop losses or take profit closed the trade.
3 EMA + Stochastic RSI + ATR 3ESRA
v0.2a
Coded by Vaida Bogdan
3ESRA consists of a 3 EMA cross + a close above (for longs) the quickest EMA
or below (for shorts). Note that I've deactivated the RSI Cross Over/Under
(you can modify the code and activate it). The strategy also uses a stop loss
that's at 1 ATR distance from the entry price and a take profit that's at
4 times the ATR distance from the entry price.
RSI2 BTCUSD Sell Strategy (Erroneously Profitable)I put this strategy here to attract the attention of someone and see if he finds the error in the code that leads to error in the calculation.
Relative Volume & RSI PopThis is a basic idea/script designed to take a breakout trade by taking advantage of volume spikes when price/strength is extended (either long or short).
The script only utilises two indicators, the Relative Volume (RV) and the Relative Strength Index (RSI). The script allows the user to select a RSI value between 69 up to 100 for a long trade and between 35 down to 0 for short trade and then pair this with RV from 0 - 10. The period for both the RSI and RV can also be amended by the user but I found in most cases there was no benefit gained by changing away from normal "14" period lookback. The script typically only has small draw downs as the script is designed to exit the trade when the RSI returns back to "normalised" level, therefore the trades are generally quite short. The exit condition for a long trade is when RSI crosses back below 69 (which is why you cannot enter a long below this value) and for a short the, trade will close when RSI crosses back above 35 (which is why you cannot enter a short above this value). These exit values are locked.
By allowing RSI value to go all the way up to "100" on the long side and "0" on the short side this in effect is a way of eliminating the script from taking either longs or shorts if lets say you wanted to back test the script for long only spikes or short only spike. E.G. By setting RSI upper value to "75" the RV to "1" and RSI lower value to "0" then no short trades will not be taken in your back test as the RSI never really gets down to zero.
I put this together with meme stocks in mind and back tested it on day charts for AMC and then a few trending style stocks too. It typically worked best as long only and with RSI settings between 71 - 75 and RV at 1 or 1.5. I also found it had okay results on some lower 1hr timeframe futures markets and weekly time frames too (albeit trades were few and far between on weekly timeframe).
The beauty of such a basic script you could easily set up a trading view screener to look for these opportunities everyday and perhaps even add in an ADX filter on the screener to see if the trend is increasing. Then use this script to run a back test on the stocks that you've selected from the screener.