Combo Backtest 123 Reversal & MovROC (KST indicator) 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 indicator really is the KST indicator presented by Martin Pring.
the KST indicator is a weighted summed rate of change oscillator that
is designed to identify meaningful turns. Various smoothed rate of change
indicators can be combined to form different measurements of cycles.
WARNING:
- For purpose educate only
- This script to change bars colors.
震盪指標
McClellan Oscillator StrategyBuy and sell programs when 5 day EMA goes above and below zero, respectively.
Useful for LEVERAGED ETF trading such as SPXL, TECL, FNGU, etc. Not so much for general portfolio holdings.
Combo Backtest 123 Reversal & Moving Average Envelopes 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
Moving Average Envelopes are percentage-based envelopes set above and
below a moving average. The moving average, which forms the base for
this indicator, can be a simple or exponential moving average. Each
envelope is then set the same percentage above or below the moving average.
This creates parallel bands that follow price action. With a moving average
as the base, Moving Average Envelopes can be used as a trend following indicator.
However, this indicator is not limited to just trend following. The envelopes
can also be used to identify overbought and oversold levels when the trend is
relatively flat.
WARNING:
- For purpose educate only
- This script to change bars colors.
HiLo Extension This Strategy is finding high and low breaks of the day and enter into the trader based on RSI value and time value
1) This strategy is created for Indian Index like Nifty, Bank Nifty and so...
2) Trades are initiate only after 10:15 AM and before 3:10PM
3) High and Low of the day break will be check during the above time frame
4) RSI value will be check (RSI 50)
5) and trade will be initiate
6) Stop loss set as vwma 20...
Note: This Script will work fine in Index future chart not index spot chart...
This is just my idea only... Please back test yourselve, before using it..
Your comments are welcome!
Momentum Strategy (BTC/USDT; 1h) - MACD (with source code)Good morning traders.
It's been a while from my last publication of a strategy and today I want to share with you this small piece of script that showed quite interesting result across bitcoin and other altcoins.
The macd indicator is an indicator built on the difference between a fast moving average and a slow moving average: this difference is generally plottted with a blue line while the orange line is simply a moving average computed on this difference.
Usually this indicator is used in technical analysis for getting signals of buy and sell respectively when the macd crosses above or under its moving average: it means that the distance of the fast moving average (the most responsive one) from the slower one is getting lower than what it-used-to-be in the period considered: this could anticipate a cross of the two moving averages and you want to anticipate this potential trend reversal by opening a long position
Of course the workflow is specularly the same for opening short positions (or closing long positions)
What this strategy does is simply considering the moving average computed on macd and applying a linear regression on it: in this way, even though the signal can be sligthly delayed, you reduce noise plotting a smooth curve.
Then, it simply checks the maximums and the minimums of this curve detecting whenever the changes of the values start to be negative or positive, so it opens a short position (closes long) on the maximum on this curve and it opens a long position (closes short) on the minimum.
Of course, I set an option for using this strategy in a conventional way working on the crosses between macd and its moving average. Alternatively you can use this workflow if you prefer.
In conclusion, you can use a tons of moving averages: I made a function in pine in order to allw you to use any moving average you want for the two moving averages on which the macd is based or for the moving average computed on the macd
PLEASE, BE AWARE THAT THIS TRADING STRATEGY DOES NOT GUARANTEE ANY KIND OF SUCCESS IN ADVANCE. YOU ARE THE ONE AND ONLY RESPONSIBLE OF YOUR OWN DECISIONS, I DON'T TAKE ANY RESPONSIBILITY ASSOCIATED WITH THEM. IF YOU RUN THIS STRATEGY YOU ACCEPT THE POSSIBILITY OF LOOSING MONEY, ALL OF MY PUBBLICATIONS ARE SUPPOSED TO BE JUST FOR EDUCATIONAL PURPOSES.
IT IS AT YOUR OWN RISK WHETHER TO USE IT OR NOT
But if you make money out of this, please consider to buy me a beer 😜
Happy Trading!
[KL] RSI 14 + 10 StrategyThis strategy uses RSI14 for entry and exit signals; applies RSI10 for confirmation. The thresholds can adjusted in Settings.
Trailing stop can also be applied if wanted.
Tested on daily/hourly charts.
Heatmap - Multi-Timeframe Indicators - StrategyHeatmap - Multi-Timeframe Indicators - Strategy
▪ Main features :
- 19 Timeframes: 1m, 3m, 5m, 10m, 15m, 30m, 45m, 1h, 2h, 3h, 4h, 5h, 6h, 8h, 10h, 12h, 1D, 1W, 1M
- 6 indicators per timeframe
- choose specific timeframes for indicators (example - 1 hour)
- or choose specific timeframe ranges (example - 1 hour to 1 month)
The general idea is that the higher timeframe signals are stronger than the lower timeframe ones.
When a trend is starting, it is first visible on the lower timeframes.
The more time passes, the more the trend propagates through higher timeframes.
The default settings are meant to show all the available features. You may fine-tune it to your specific needs.
How to choose the timeframe for the chart : use the lowest of the choosen timeframes for indicators.
If the heatmap doesn't display correctly on your device, you may check the Heatmap Theme 🎨 setting.
It doesn't repaint.
"Repaint" version available though - good to check the past history, but very bad for real-time analysis.
▪ Indicators used for trend detection
1. MACD Cross
2. Stochastic Cross
3. Stochastic Cross and Overbought or Oversold
4. Moving Average
5. Parabolic SAR
6. Heikin Ashi
▪ Find the best Heatmap settings with the Strategy Tester version.
The signals generated by the Heatmap are considered to be valid at the bar open .
The Strategy Tester, however, uses the bar close in its calculations.
Therefore, the results may seem to be worse than they can be.
The Profitability, Profit Factor and other stats should be taken into consideration relatively to other configurations of the same Heatmap.
▪ Using a score system to consider a change in trend valid.
Example: consider the signal valid if 65% or more of all indicators (max 6) among all timeframes (max 19) hint at a change in trend.
The % percent value can be inserted in settings.
When using the default settings or when all timeframes and indicators are activated,
the ratio of 100% downtrend or 100% uptrend may be less occuring. Adjust accordingly.
The signals across timeframes and indicators are aggregated to show simple entry and exit signals.
▪ Combined Alerts, to be set to fire once per bar open :
0 - 📈 Long! - Heatmap - Multi-TFI
0 - 📈 Short! - Heatmap - Multi-TFI
0 - 📈 Long Exit! - Heatmap - Multi-TFI
0 - 📈 Short Exit! - Heatmap - Multi-TFI
1 *** BUY or SELL (single alert) ***
1 *** Entries or Exits (single alert) ***
▪ Note : The initial load may be slow. If something doesn't seem to work, you can try the following:
- wait more time for it to load
- hide & show or remove & add back to chart
- don't add the indicator to chart multiple times in a short amount of time, as you may be rate limited
▪ Related Studies :
- Heatmap - Multi-Timeframe Indicators - Alerts
- Risk Management System (Stop Loss, Take Profit, Trailing Stop Loss, Trailing Take Profit) - it can be connected to Heatmap - Multi-Timeframe Indicators - Alerts
▪ Layout example:
Delta-RSI Strategy (with filters)Delta-RSI Strategy (with filters):
This is a version of the Delta-RSI Oscillator strategy with several criteria available to filter entry and exit signals. This script is also suitable for backtesting over a user-defined period and offers several risk management options (take profit and stop loss).
Since the publication of the Delta-RSI Oscillator script, I have been asked many times to make it compatible with the Strategy Tester and add filtering criteria to minimize "false" signals. This version covers many of these requests. Feel free to insert your favorite D-RSI parameters and play around!
ABOUT DELTA-RSI
Delta-RSI represents a smoothed time derivative of the RSI designed as a momentum indicator (see links below):
INPUT DESCTIPTION
MODEL PARAMETERS
Polynomial Order : The order of local polynomial used to interpolate the relative strength index (RSI).
Length : The length of the lookback frame where local regression is applied.
RSI Length : The timeframe of RSI used as input.
Signal Length : The signal line is a EMA of the D-RSI time series. This input parameter defines the EMA length.
ALLOWED ENTRIES
The strategy can include long entries, short entries or both.
ENTRY AND EXIT CONDITIONS
Zero-crossing : bullish trade signal triggered when D-RSI crosses zero from negative to positive values (bearish otherwise)
Signal Line Crossing : bullish trade signal triggered when D-RSI crosses from below to above the signal line (bearish otherwise)
Direction Change : bullish trade signal triggered when D-RSI was negative and starts ascending (bearish otherwise)
APPLY FILTERS TO
The filters (described below) can be applied to long entry, short entry and exit signals.
RELATIVE VOLUME FILTER
When activated, the D-RSI-driven entries and exits will be triggered only if the current volume is greater than N times the average over the last M bars.
VOLATILITY FILTER
When activated, the D-RSI-driven entries and exits will be triggered only if the N-period average true range, ATR, is greater than the M-period ATR. If N < M, this condition implies increasing volatility.
OVERBOUGHT/OVERSOLD FILTER
When activated, the D-RSI-driven entries and exits will be triggered only if the value of 14-period RSI is in the range between N and M.
STOP LOSS/TAKE PROFIT
Fixed and trailing stop loss as well as take profit options are available.
FIXED BACKTESTING START/END DATES
If the checkboxes are not checked, the strategy will backtest all available price bars.
Ninja Scalping: StrategyThis is a strategy version for scalping signals. The objective of these signals is to accumulate more BTC through buying and selling of Altcoins. Thus, it is expected that these signals yield BTC gains when the crypto market has bullish days, as when BTC bleeds, other coins bleed even more. Let us get ready for the altseason!!
As mentioned above, the goal is to increase BTC's holdings through buying and selling of Alts. However, different Alts react differently against BTC. Therefore, there is no set of parameters that works for all Alts. The good news is that I tried my best to limit the number of parameters required to be tuned for a specific Alt to two. Also, this strategy helps back-test and tune the parameters for the desired Altcoin, with no guarantee that what happened in the past would happen in the future. This strategy is generally conservative, and it does not enter many trades. However, you can be more aggressive by changing the multiplier value: the smaller the value, the more aggressive the strategies. One can be more aggressive when the market is super bullish. Actually, you can test this by playing with the dates for the back-testing to have an idea of what would be suitable parameters when BTC is strong or weak. For the image attached, the strategy is back-tested from Jan 1, 2021, to March 18, 2021, assuming an initial capital of 1 BTC.
For the time span parameter, typical values are 5, 10, 14, 21, 34, 50, and 100. For the multiplier, typical values range between 0.01 and 2.
Use it at your own risk. Feedbacks are more than welcome. Happy trading!
Combo Backtest 123 Reversal & MA Displaced EnvelopeThis 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
Moving Average Displaced Envelope. These envelopes are calculated
by multiplying percentage factors with their displaced expotential
moving average (EMA) core.
How To Trade Using:
Adjust the envelopes percentage factors to control the quantity and
quality of the signals. If a previous high goes above the envelope
a sell signal is generated. Conversely, if the previous low goes below
the envelope a buy signal is given.
WARNING:
- For purpose educate only
- This script to change bars colors.
[GBPUSD] DinhChienFX Swing [2 orders]* Take advantage of the 59% success rate of order 1 to enter position 2 with a higher Risk / reward ratio,
- Command 1: risk / reward 1/1. 59% success percentage.
- Order 2: risk / reward: 1 / 1.5 If you use Fibonacci retracement, it is 0.6 or 60%. Percent success 51.5%.
- Percent profitable 2 orders: 55%
- Number of consecutive wins in the past: 9.
- Number of consecutive losses in the past: 6. So to avoid psychological influence, choose risk = 1% x6 = 6% for 1 trading signal.
Currently, the Bot assumes 2% (orders 1: 1%, orders 2: 1%)
-------
Max risk: 2%.
1. Trend identification:
... Keltner: Price through Upper1 / Lower 1 gives 1 point.
...... Uptrend: If price crosses over once, the close on Upper 1.
...... Downtrend: If the price crosses under once, closes below the Lower 1.
... Stochastic:
..... D> 67 for Buy, D <16 for Sell
... ADX: 30 indicates strong trend trend.
...... ADX smooth: 7.
...... DI length: 7.
2. Entry point:
... Buy (BUY): When k cut up D in an uptrend, when D> 67.
... Sell (SELL): When k cuts D in a downtrend, when D <16.
Risk Reduction Ultimate TemplateThis is a template not actually meant for trading. I picked two random oscillators. This is a template meant to turn into a live trading strategy, however.
It's literally just a specialized take profit/stop loss system. It is to ensure your bot doesn't make any bad moves that you wouldn't have manually. The code should be pretty well annotated. Putting this into my scripts has made them much better. I will work on a Multiple Trigger template next.
[TVExtBot]Volatility Breakout Plus Strategy(BackTest)It is based on the legendary trader Larry R. Williams' volatility breakout strategy.
The volatility breakout strategy is a short-term trading strategy that realizes rapid profits on a daily basis, following the upward trend of a strong upward trend that exceeds a certain level on a daily basis.
The Volatility Breakout Plus strategy is a strategy modified to a long-term trend by supplementing the existing Volatility Breakout strategy.
변동성 돌파 전략이란 전설적인 트레이더 래리 윌리엄스(Larry R. Williams)의 변동성 돌파 전략을 기본으로 개발한 전략입니다.
변동성 돌파 전략은 일일 단위로 일정 수준 이상의 범위를 뛰어넘는 강한 상승세를 돌파 신호로 상승하는 추세를 따라가며 일 단위로 빠르게 수익을 실현하는 단기매매 전략입니다.
이번 출시하는 변동성 돌파 플러스 전략은 기존 변동성 돌파 전략을 보완하여 장기 추세로 수정한 전략입니다.
※특징으로는 선물보다는 현물차트에 더 효과적입니다.
기본적인 설정은 기존 변동성 돌파 전략과 동일하고 장기 추세에서의 리스크를 줄이기 위해 익절과 손절 기능을 추가하였습니다.
변동성 돌파 플러스 전략 백테스트 버전
Default Options(기본설정)
Slippage (슬리피지) : 3
Leverage (레버리지) : 1
BackTest Period (백테스트 기간) : 2018/ 01 / 01 ~ 2021/03/14
BeforeDay Open-Close Volatility (%) (전날 시가종가 변동률) : 6%
StopLoss (%) (손절) : 6%
TakeProfit (%) (익절) : 30%
Commission (거래수수료) : 0.06%
[TVExtBot]Volatility Breakout Plus Strategy(BackTest)It is based on the legendary trader Larry R. Williams' volatility breakout strategy.
The volatility breakout strategy is a short-term trading strategy that realizes rapid profits on a daily basis, following the upward trend of a strong upward trend that exceeds a certain level on a daily basis.
The Volatility Breakout Plus strategy is a strategy modified to a long-term trend by supplementing the existing Volatility Breakout strategy.
변동성 돌파 전략이란 전설적인 트레이더 래리 윌리엄스(Larry R. Williams)의 변동성 돌파 전략을 기본으로 개발한 전략입니다.
변동성 돌파 전략은 일일 단위로 일정 수준 이상의 범위를 뛰어넘는 강한 상승세를 돌파 신호로 상승하는 추세를 따라가며 일 단위로 빠르게 수익을 실현하는 단기매매 전략입니다.
이번 출시하는 변동성 돌파 플러스 전략은 기존 변동성 돌파 전략을 보완하여 장기 추세로 수정한 전략입니다.
※특징으로는 선물보다는 현물차트에 더 효과적입니다.
기본적인 설정은 기존 변동성 돌파 전략과 동일하고 장기 추세에서의 리스크를 줄이기 위해 익절과 손절 기능을 추가하였습니다.
Default Options(기본설정)
Slippage (슬리피지) : 3
Leverage (레버리지) : 1
BackTest Period (백테스트 기간) : 2018/01/01 ~ 2021/03/14
BeforeDay Open-Close Volatility (%) (전날 시가종가 변동률) : 6%
StopLoss (%) (손절) : 6%
TakeProfit (%) (익절) : 30%
Commission (거래수수료) : 0.06%
Strange RSI (sRSI) Backtesting strategyThis is the backtesting strategy module for my Strange RSI (sRSI) oscillator. The main scheme is grounded on setting up a long strategy for RSI crossing above a certain number, and shorting when RSI crosses below a certain number. This module allows you to:
*change these crossing thresholds
*change the Take Profit limits for long and short strategies
*change the RSI length
In this way, you may optimize to the parameters which fit best to your goals.
Cyatophilum Strategy BuilderAn indicator to create strategies, backtest and setup alerts.
The user can choose one or multiple TA entry conditions, if more than one the conditions are combined with a logical AND.
The entries will open up a trade, which is then handled by a risk management system including Trailing Stop, Take Profit and up to 100 Safety Orders.
This indicator can be used to backtest 3commas DCA bots who are using TA presets, RSI or ULT.
Its main goal is to create strategies by combining indicators.
Let's dive into the details of what's included:
Entry Condition: MACD
Triggers an entry when macd crosses with the signal line.
Configure the fast, slow length, signal smoothing and timeframe to trigger the condition.
Entry Condition: RSI
Triggers an entry when the RSI is higher or lower than the long/short threshold.
Configure the length, timeframe, long and short threshold to trigger the condition.
Entry Condition: ULT (Ultimate Oscillator)
Triggers an entry when the ULT is higher or lower than the long/short threshold.
Configure the 3 lengths, timeframe, long and short threshold to trigger the condition.
Entry Condition: Bollinger Bands
Triggers an entry when the price is above the upper band for long and below the lower band for short.
Configure the length, standard deviation and timeframe to trigger the condition.
Entry Condition: MFI (Money Flow Index)
Similar to RSI, it triggers an entry when the MFI is higher or lower than the long/short threshold.
Configure the length, timeframe, long and short threshold to trigger the condition.
Entry Condition: CCI (Commodity Channel Index)
Another oscillator that triggers an entry when its value is higher or lower than the long/short threshold.
Configure the length, timeframe, long and short threshold to trigger the condition.
Trend Filters
Use one or two trendlines to filter your trades: go only long/short when the trendline is bullish/bearish.
Choose between the several trendlines: ema, sma, wma, hull ma, kama, alma, rma, swma, vwma, Tilson T3, and the unique Adaptive T3 and Adaptive Hull MA.
If this is not enough, you can use the external trendline feature to plug in any other indicator for your trendline.
The second trendline can be MTF and come from another symbol if needed.
Combining Indicators
Most of the time we will not be using a single indicator at a time, but instead, combine them in order to get stronger entries.
The entry conditions are combined using a AND logical gate, meaning all conditions must be true for the entry to trigger.
Here is an example using a combination of 2 indicators: Bollinger Bands and RSI.
We can see less entries are being triggered on the bottom chart than on the top chart because the bottom chart is combining the 2 indicators while the top chart is only using Bollinger Bands.
You can combine up to all 6 indicators if you want, but keep in mind that combining too many may lead to triggering no entry at all.
Risk Management and Trade system
The indicator will not trigger more than one long or short entry in a row.
To start a new trade, the indicator will wait for either take profit, stop loss or an opposite entry if no SL and TP is set.
Stop Loss and Take Profit
Configure your stop loss and take profit for long and short trades.
You can also make a trailing stoploss and a trailing take profit.
Safety Orders
Just like 3commas bots, you can create a strategy with up to 100 safety orders.
Configure their placement and order size using the price deviation, step scale, take profit type (from base order or total volume), and volume scale settings.
Note: only the 20 first safety order steps or so will be plotted due to graphic limiations. The steps after that still trigger alerts and backtest results.
Creating Alerts
The indicator is using the newest alert system:
1. Write your alert messages in the indicator settings (alert section at the bottom)
2. Click "Create Alert" as usual, but choose "alert() function calls only"
Data Window
Since the indicator is applied on top of the price chart, the oscillator indicators cannot be plotted. You can always add them on another pane but if you want to just see their values, you can use the Data Window to see the value of each oscillator on each bar.
Backtest settings
Used to get the results below:
Initial Capital: 100 000$
Base Order Size: 0.1 contract (BTC)
Safety Order Size: 0.1 contract (BTC)
Commission: 0.1%
Slippage: 100 ticks
pyramiding: 6
The indicator settings are plotted in the main chart panel.
Flawless Victory Strategy - 15min BTC Machine Learning StrategyHello everyone, I am a heavy Python programmer bringing machine learning to TradingView. This 15 minute Bitcoin Long strategy was created using a machine learning library and 1 year of historical data in Python. Every parameter is hyper optimized to bring you the most profitable buy and sell signals for Bitcoin on the 15min chart. The historical Bitcoin data was gathered from Binance API, in case you want to know the best exchange to use this long strategy. It is a simple Bollinger Band and RSI strategy with two versions included in the tradingview settings. The first version has a Sharpe Ratio of 7.5 which is amazing, and the second version includes the best stop loss and take profit positions with a Sharpe Ratio of 2.5 . Let me talk a little bit more about how the strategy works. The buy signal is triggered when close price is less than lower Bollinger Band at Std Dev 1, and the RSI is greater than a certain value. The sell signal is triggered when close price is greater than upper Bollinger Band at Std Dev 1, and the RSI is greater than a certain value. What makes this strategy interesting is the parameters the Machine Learning library found when backtesting for the best Sharpe Ratio. I left my computer on for about 28 hours to fully backtest 5000 EPOCHS and get the results. I was able to create a great strategy that might be one of TradingView's best strategies out on the website today. I will continue to apply machine learning to all my strategies from here on forward. Please Let me know if you have any questions or certain strategies you would like me to hyper optimize for you. I'm always willing to create profitable strategies!
P.S. You can always pyramid this strategy for more gains! I just don't add pyramiding when creating my strategies because I want to show you the true win/loss ratio based buying one time and one selling one time. I feel like when creating a strategy that includes pyramiding right off the bat falsifies the win rate. This is my way of being transparent with you all. Have fun trading!
Strategia RSI sempliceQuesto semplice script sfrutta il RSI a 14 periodi per comprare (solo long) quando RSI crocia al rialzo i 30 (oversold line) e chiude l'operazione quando RSI crocia al ribasso i 70 (overbought line).
La strategia è stata progettata sul TimeFrame delle 4H (su BTC) e dimostra come una semplicissima strategia con un solo segnale poteva portare un 20% dal 2020 ad oggi su BTC/USD
stratRsi_MiguelThis strategy was created with the aim of trying to predict upper moves and to protect from falling prices. It is intended to out perform going from bottom to top and to bottom again (ex: BTC from 10k to 20k to 10k again and remain with substancial profit from the rise). It will not outperform from bottom to top. It is advised to do not enter short positions with this strategy. Only long and close.
Adjust "Period in minutes" to your time frame. ex: 60 for 1h, 240 for 4h, 1440 for 1D.
This will adjust the lengh of ema (RSI).
Default value is 1440 for 1D time frame.
Long condition is triggered when a FastEma(RSI) is bigger then a MeddiumEma(RSI), the MeddiumRSI is bigger than the SlowerEma(RSI), the FastRSI is larger then the Highest(FastRSI) with a length equal to input "High Length"(default value=6) and ema(close) is rising.
The short Condition is triggered when rsi(close,14) is lower then lowest(FastRSI) with a lenght equal to input "Low Length" (default value=3) and ema(close) is falling.
You can set up the time range to evaluate the strategy from "Start date" (default: year=2018, month=1, day=1) to "End date" (default: year=2050, month=1, day=1). Default commission=0.075%. Default Initial capital = 100 USD
TSI HMA CCIHi!
This strategy has TSI and CCI indicators with the CCI being based on a HMA instead of the Price.
There is a number of conditions that must combine to create buy or sell signals, but it is basically a couple of MA crossovers.
The strategy opens new orders on each candle if the conditions are met, Either direction, so it is hedging.
It wont open new orders if there is a floating loss, and so is constantly attempting to hold a floating profit (drawup instead of drawdown)
But It has a StopLoss (set by user) for closing of losing orders, and it closes all orders in basket style when account is in profit to users set amount target profit.
Low commission set to simulate swap but Forex pairs generally dont have commission like the crypto exchanges do. So if you use this on cryptos, remember to increase the commission to your brokers amount.
Crypto users will likely find that because this opens so many orders the commission could erase its profits.
So i recommend this for Forex only, and perhaps, only NZDUSD 4H chart. other pairs, change settings for.
The strategy has settings for testing on target time spans, so you could test it on just Jan-Feb 2020 for example, if you want, or from Jan 2020 to present day.
Have Fun! Open Script for copy/paste/edit/publish your own version :)
RSI Mean Reversion Bot StrategyI started developing this strategy as a way to plug in and test values before defining them in the bots on 3Commas, Coinrule, and Quadency. None of those bots performed the same way my script did and I kept working on it until the strategy finally yielded the same simulated results when paired with the Tradingview bot on Quadency. I looked at all the different RSI strategies already published and saw what each was missing and changed it in mine to make it better:
1. Backtest an actual timeframe by date and time
2. Define the RSI price source
3. Fully manipulate the RSI length
4. Define a stop loss that works
5. Pick Long or Short, or both, based on market conditions. Or compare side by side to decide which you want.
TRSI STRATEGYThis strategy is based on our very first indicator TRSI .
Which is at the same time made of TRIX, RSI and EMA indicators.
Use TRSI to see how the strategy and indicator behaves on your chart.
Make sure to use the same values on strategy and indicator options.
Entry conditions
Buy and sell signals are generated when TRSI's lines cross above and below 60 and 40 line levels.
Buy - TRSI line crosses over its EMA line above 60 horzontal line
Sell - TRSI line crosses under its EMA line below 40 horzontal line
Close position when lines cross in backwards direction
Recommendet timeframe - 60 min.
Default values (for BTC):
TRIX - 14
RSI - 6
EMA -6
Top line - 60
Bottom line - 40
Supplementary indicators
In options menu of the strategy you may switch on two EMA and bollinger bands indicators to
make extra decision while analysign your chart. Useful if you have limitation on indicator quantity on the chart.
Repaint
The strategy doesn't use lookehead and time security functions.
The entries are generated on confirmation of bar close.
------------------------------------------------------------------------------------------------------------------------------------------
Данная стратегия основана на одном из наших первых индикаторов TRSI ,
который в свою очередь был сделан из трех других индикаторов TRIX, RSI, EMA.
Используйте TRSI на графике чтобы визуально понять как индикатор и стратегия ведут себя.
Используйте одинаковые параметры в индикаторе и в стратегии.
Вход в позицию
Сигналы на покупку и продажу генерируются при пересечении линий TRSI над и под уровнями 60 и 40.
Покупка - линия TRSI пересекает сверху вниз свою EMA над уровнем 60.
Продажа - линия TRSI пересекает снизу верх свою EMA под уровнем 40.
Закрытие позиции при обратном пересечении линий.
Рекомендуемый таймфрейм - 60 минут.
Настройки по умолчанию (для BTC):
TRIX - 14
RSI - 6
EMA -6
Top line - 60
Bottom line - 40
Дополнительные индикаторы
В настройках стратегии можно включить две EMA и полосы боллинджера для дополнительного анализа
при принятии решения входа в позицию. Полезно если у вас ограничение на количество одновременных индикаторов на графике.
Репэйнт
В стратегии не использованы lookahead и временные security функции, которые могут привести к репэйнту.
Входы в позицию генерируются по подтверждению закрытия бара.