A Physicist's Bitcoin Trading Strategy
1. Summary
This strategy and indicator were designed for, and intended to be used to guide trading activity in, crypto markets, particularly Bitcoin. This strategy uses a custom indicator to determine the state of the market (bullish vs bearish) and allocates funds accordingly. This particular variation also uses the custom indicator to determine when the market is significantly oversold and takes advantage of the opportunity (it buys the dip). The specific mathematical formula that is used to calculate the underlying custom indicator allows the trader to get in before, or near the start of, the bull trends, and get out before the bear trends. The strategy's properties dialogue box includes many display settings and parameters for optimization and customization to meet the user's needs and risk tolerance; this is both a tool to gauge the market, as well as a trading strategy to beat the market. Guidelines for parameter settings are provided. A sample dataset of backtest results using randomized parameters, both within the guidelines and outside the guidelines, is available upon request; notably, all trials outperformed the intended market (Bitcoin) during the 9-year backtest period.
2. The Indicator and Strategy
2.1. The Indicator
A mathematical formula is used to determine the state of the market according to three different "frequencies", which, for lack of better terminology, are called fast, moderate, and slow indicators. There are two parameters for each of the three indicators, one called response time and the other is a simple look-back period. Finally, four exponential moving averages are used to smooth each indicator. In total, there are 18 different levels of bullishness/bearishness. The purpose of using three indicators, rather than one, is to capture the full character of the market, from a macro/global scope down to a micro/local scope. I.e. the full indicator looks at the forest, the trees, and the branches, simultaneously.
2.2. The Strategy
The trend-trading strategy is very simple; there are only four types of orders: 1) The entire position (e.g. all bitcoins held) is sold (if it hasn't already been totally sold) when the indicator becomes maximally bearish, 2) When the movement of the indicator is in the bullish direction, the strategy dollar-cost-average (DCA) buys at an exponentially decreasing rate, i.e. it buys more in the early stages of the transition from bear->bull. 3) When the indicator is maximally bullish, it goes "all-in" † (if it hasn't already gone all-in), i.e. it converts all available cash into the underlying security/token. And, 4) when the movement of the indicator is in the bearish direction, the strategy DCA sells (again, exponentially decreasing) to get out quickly. No leverage is used in this strategy. The strategy never takes a short position.
A second "buy-the-dip" strategy is also used, and it is the synergy of these two strategies, together, that is responsible for most of the outperformance in the backtests (this strategy handily beats the non-dip-buying variation in backtests). To do this, the custom indicator is used to determine when the market is significantly oversold on a short-term basis, and the strategy responds by DCA buying. However, unlike the DCA buying during bull/bear transitions, the buy-the-dip DCA buying increases with time. Specifically, within each candle that is short-term oversold, the strategy converts 10% x # of candles since becoming oversold (up to a max of 6 candles) of available cash into the underlying security/token. I.e. the first buy is 10% of available cash and occurs in the first oversold candle, the second buy is 20% of available cash and occurs in the second oversold candle, etc. up to six consecutive oversold candles. Lastly, to ensure no conflicting orders and no leverage (buying more than what is affordable with the available cash in the fund), buy-the-dip orders take precedence over the trend-trading orders enumerated in the previous paragraph.
† Technically the strategy goes 99.5% in when it goes "all-in". This is to ensure no leverage is used given that there may be a commission of 0.5%.
3. Backtest Results
Backtest results demonstrate significant outperformance over buy-and-hold. The default parameters of the strategy/indicator have been set by the author to achieve maximum (or, close to maximum) outperformance on backtests executed on the BTCUSD (Bitcoin) chart. However, significant outperformance over buy-and-hold is still easily achievable using non-default parameters. Basically, as long as the parameters are set to adequately capture the full character of the market, significant outperformance on backtests is achievable and is quite easy. In fact, after some experimentation, it seems as if underperformance hardly achievable and requires deliberately setting the parameters illogically (e.g. setting one parameter of the slow indicator faster than the fast indicator). In the interest of providing a quality product to the user, suggestions and guidelines for parameter settings are provided in section (6). Finally, some metrics of the strategy's outperformance on the BTCUSD chart are listed below, both for the default (optimal) parameters as well as for a random sample of parameter settings that adhere to the guidelines set forth in section (6).
Using the default parameters, relative to buy-and-hold strategy, backtested from August 2011 to August 2020,
Total cumulative outperformance (total return of strategy minus total return of buy-n-hold): 13,000,000%.
Rolling 1-year outperformance: mean 318%, median 84%, 1st quartile 55%, 3rd quartile, 430%.
Rolling 1-month outperformance: mean 2.8% (annualized, 39%), median -2.1%, 1st quartile -7.7%, 3rd quartile 13.2%, 10th percentile -13.9%, 90th percentile 24.5%.
Using the default parameters, relative to buy-and-hold strategy, during specific periods,
Cumulative outperformance during the past year (August 2019-August 2020): 37%.
12/17/2016 - 12/17/2017 (2017 bull market) absolute performance of 2563% vs buy-n-hold absolute performance of 2385%
11/29/2012 - 11/29/2013 (2013 bull market) absolute performance of 14033% vs buy-n-hold absolute performance of 9247%
Using a random sample (n=20) of combinations of parameter settings that adhere to the guidelines outlined in section (6), relative to buy-and-hold strategy, backtested from August 2011 to August 2020,
Average total cumulative outperformance, from August 2011 to August 2020: 2,000,000%.
Median total cumulative outperformance, from August 2011 to August 2020: 1,000,000%.
4. Limitations
This strategy is basically a DCA-swing trading strategy, and as such it is intended to be used on the 6-hr chart. Similar performance is expected on daily chart, 12-hr chart, and 4-hr chart, but performance is likely to be limited when used on charts of shorter time-frames. However, due to the flexibility afforded by the large quantity of parameters, as well as the tools included, it may be possible to tweak the indicator settings to get some outperformance on smaller time-frames. Admittedly, the author did not spend much time investigating this.
As is apparent in the backtests, this strategy has very limited absolute performance during large bear markets, such as Bitcoin's 2018 bear market. As described, it does outperform the underlying security by a large amount in backtests, but a large absolute return is unlikely during large and prolonged declines (unless, of course, your unit of account is the underlying token, in which case an outperformance of the underlying is, by definition, an absolute positive return).
This strategy is likely to underperform if used to trade ETFs of broad equity markets. This strategy may produce a small amount of outperformance when used to trade precious metals ETFs, given that the parameters are set optimally by the user.
5. Use
The default parameters have already been set for highly optimal backtest results on the chart of BTCUSD (Bitcoin / US Dollar BITSTAMP), (although, a different combination of parameter settings may yet produce better results). Still, there is a great number of combinations that can be explored, so the user is free to tweak the settings to meet his/her/their needs. Some display options are provided to give the user a visual aid while tweaking the parameters. These include a blue/red background display of the custom indicator, a calibration system, and options to display information about the backtest results. The background pattern represents the various levels of bullishness/bearishness as semi-transparent layers of blue and red, with blue corresponding with bullish and red corresponding with bearish.
The parameters that affect the indicator are the response times, the periods, and some EMA lengths. The parameters that affect the quantity of contracts (tokens/shares/bitcoins/etc) to be bought/sold are the transitionary buy/sell rates. There are also two sets of date parameters.
The response time and period parameters are direct inputs into the underlying math formula and are used to create the base-level indicators (fast, moderate, and slow). The response times control the speed of each of the three indicators (shorter is fast, longer is slower) and the period controls how much historical data is used in computation. Information about how these should be set are included in section (6). Another set of parameters control EMA look-back periods that serve to smooth the base-level indicators. Increasing these EMA lengths makes the overall indicator less sensitive to short-term price action, while reducing them does the opposite. The effect of these parameters are obvious when the background blue/red visualization is displayed. Another EMA length is an EMA for the entire indicator. Increasing this parameter reduces the responsiveness of the trading strategy (buy/sell orders) to quick/small changes of the overall level of the indicator, so as to avoid unnecessary buying and selling in times of relatively small and balanced price perturbations. Note, changing this parameter does not have an effect on the overall indicator itself, and thus will not affect the blue/red background representation.
The transitionary buy/sell rates control the portion of the available asset to be converted to the other. E.g. if the buy rate is set to 90%, then 90% of the available cash will be used to buy contracts/tokens/shares/bitcoins during transitions bullish transitions, e.g. if the available cash at the start of the bullish transition is $10,000 and the parameter is set to 90%, then $9,000 will be used to buy in the first candle during which the transition is bullish, then $900 will be used to buy in the second candle, then $90 in the third candle, etc.
There are two dates that can be set. The first is the date at which the strategy goes all in. This is included because the buy-and-hold strategy is the benchmark against which this strategy is compared, so setting this date to some time before the strategy starts to make trades will show, very clearly, the outperformance of the strategy, especially when the initial capital parameter in the Properties tab is equal to the price of one unit of the underlying security on the date that is set, e.g. all-in on Bitcoin on 8/20/2011 and set initial capital to the BTCUSD price on that date, which was $11.70. The second date is a date to control when the strategy can begin to place trades.
Finally (actually, firstly in the Inputs dialogue box), a set of checkbox inputs controls whether or not the backtest is on or off, and what is displayed. The display options are the blue/red (bull/bear) background layers †, a set of calibrators, a plot of the total strategy equity, a plot of the cash position of the strategy, a plot of the size of the position of the strategy in contracts/shares/units (labeled as BTC position), and a plot of the rolling 1-year performances of buy-and-hold and the strategy.
About the calibrators: The calibration system allows the user to quickly assess and calibrate how well the indicator... indicates. Quite simply, the system has two parts: one plot that is the cumulative sum of the product of the indicator level and the change in the underlying price, i.e. sum of ‡, over all candles. The second part is a similar plot that is reduced according to the quickness with which the indicator changes, i.e. sum of . Maximizing the first plot at the expense of the second will cause the indicator to match the price action very well but therefore it will change very rapidly, from bullish to bearish, which is visualized by a background pattern that changes frequently from blue to red to blue. Ignoring the first plot and maximizing the second will also cause the indicator to more closely match the price action, but the transitions will be slower and less frequent, and will therefore focus on identifying the major trends of the market.
† The blue/red background has many layers and will make the chart lag as the user interacts with it.
‡ Bearish states are coded as negative quantities, so a bearish state x negative price action = positive number, and bullish state x positive price action = positive number.
6. Suggestions and Guidelines
As described in section (2.1), the indicator used in this strategy was designed to determine the state of the market--whether it is bullish or bearish--as well as the change in the state of the market--whether it is increasingly bullish or increasingly bearish. As such, the following suggestions are provided based on the principles of the indicator's design,
1. Response Time 1 should be less than (<) Response Time 2 which should be < Response Time 3
2. Fast Period < Moderate Period < Slow Period
3. In terms of the period of a full market cycle (e.g. ~ 4 years for BTC, ~ 5.5 years for equities, etc.), response times 1, 2, and 3 should be about 0.3% to 1%, 3% to 20%, and 20% to 50% of a full market cycle period, respectively. However, this is a loose guideline.
4. In terms of the period of a full market cycle, periods 1, 2, and 3 should all be about 25% to 75% of a full cycle period. Again, this is a loose guideline.
4. EMA 1 Length < EMA 2 Length < EMA 3 Length < EMA 4 Length
5. EMA Lengths 1, 2, 3, and 4 should be limited to about 1/4th the length of a full market cycle. Note, EMA lengths are measured in bars (candles), not in days. 1/4th of 1000 days is 250 days which is 250 x 4 = 1000 6-hr candles.
The following guidelines are provided based on results of over 100 backtests on the BTCUSD chart using randomized parameters †,
1. 9 days < Response Time 1 < 14 days
2. 5 days < EMA 1 Length < 100 days
3. 600 days < EMA 4 length < 1000 days
4. The ratio of the EMA range (EMA 4 len - EMA 1 len) to the sum of EMA lengths (EMA 1 len + EMA 2 len + ...) be greater than 0.4
5. The ratio of the sum of EMA 1 and EMA 2 lengths to the sum of EMA 3 and EMA 4 lengths be less than 0.3.
A suggestion from the author: Given that backtests show a high degree of outperformance using the guidelines enumerated above, a good trading strategy may be to not rely on any one particular combination of parameters. Rather, a random set of combinations of parameter settings that adhere to the guidelines above could be used to create multiple instances of the strategy in a TradingView chart, each of which varies by a small amount due to their unique parameter settings. The proportion of the entire set of strategy instances that agree about the current state of the market could indicate to the trader the level of confidence of the indicator, in aggregate.
† A sample dataset of backtest results using randomized parameters is available upon request; notably, all trials outperformed the intended market (Bitcoin).
7. General Remarks About the Indicator
Other than some exponential moving averages, no traditional technical indicators or technical analysis tools are employed in this strategy. No MACD, no RSI, no CMF, no Bollinger bands, parabolic SARs, Ichimoku clouds, hoosawatsits, XYZs, ABCs, whatarethese. No tea leaves can be found in this strategy, only mathematics. It is in the nature of the underlying math formula, from which the indicator is produced, to quickly identify trend changes.
8. Remarks About Expectations of Future Results and About Backtesting
8.1. In General
As it's been stated in many prospectuses and marketing literature, "past performance is no guarantee of future results." Backtest results are retrospective, and hindsight is 20/20. Therefore, no guarantee can, nor should, be expressed by me or anybody else who is selling a financial product (unless you have a money printer, like the Federal Reserve does).
8.2. Regarding This Strategy
No guarantee of future results using this strategy is expressed by the author, not now nor at any time in the future.
With that written, the author is free to express his own expectations and opinions based on his intimate knowledge of how the indicator works, and the author will take that liberty by writing the following: As described in section (7), this trading strategy does not include any traditional technical indicators or TA tools (other than smoothing EMAs). Instead, this strategy is based on a principle that does not change, it employs a complex indicator that is based on a math formula that does not change, and it places trades based on five simple rules that do not change. And, as described in section (2.1), the indicator is designed to capture the full character of the market, from a macro/global scope down to a micro/local scope. Additionally, as described in section (3), outperformance of the market for which this strategy was intended during backtesting does not depend on luckily setting the parameters "just right." In fact, all random combinations of parameter settings that followed the guidelines outperformed the intended market in backtests. Additionally, no parameters are included within the underlying math formula from which the indicator is produced; it is not as if the formula contains a "5" and future outperformance would depend on that "5" being a "6" instead. And, again as described, it is in the nature of the formula to quickly identify trend changes. Therefore, it is the opinion of the author that the outperformance of this strategy in backtesting is directly attributable to the fundamental nature of the math formula from which the indicator is produced. As such, it is also the opinion of the author that continued outperformance by using this strategy, applied to the crypto (Bitcoin) market, is likely, given that the parameter settings are set reasonably and in accordance with the guidelines. The author does not, however, expect future outperformance of this strategy to match or exceed the outperformance observed in backtests using the default parameters, i.e. it probably won't outperform by anything close to 13,000,000% during the next 9 years.
Additionally, based on the rolling 1-month outperformance data listed in section (3), expectations of short-term outperformance should be kept low; the median 1-month outperformance was -2%, so it's basically a 50/50 chance that any significant outperformance is seen in any given month. The true strength of this strategy is to be out of the market during large, sharp declines and capitalizing on the opportunities presented at the bottom of those declines by buying the dip. Given that such price action does not happen every month, outperformance in the initial months of use is approximately as likely as underperformance.
9. Access
Those who are interested in using this strategy may send a personal message to inquire about how to gain access. Those who are interested in acquiring the sample dataset of backtest results may send a personal message to request a copy of the data.
Oscillators
BV's MACD SIGNAL TESTERHello ladies and gentlemen,
Today, as you may have seen in the title, I have coded a strategy to determine once and for all if MACD could make you money in 2020.
So, at the end of this video, you will know which MACD strategy will bring you the most money.
Spoiler alert: we've hit the 90% WinRAte mark on the Euro New Zealand Dollar chart.
I've seen a lot of videos of people testing different MACD signals, some up to 100 times.
But In my opinion, all traders must rely on statistics to put all the odds on their side and good statistics require a lot more data.
The algorithm I'm showing you tests each signal one by one over a 3 year period and on 28 different graphs.
That way we are sure that we have encountered all possible market behavior.
From phases of congestion to major trends or even the effects of COVID-19
I use the ATR to determine my Stop Loss and Take Profits. The Stop Loss is placed at 1.5 times the ATR, the Take Profit is placed at 1 time the ATR.
If my Take Profit is hit, I take 50% of the profits and let the position run by moving my Stop Loss to Zero.
This way, the position can no longer be a losing position.
If you are not familiar with this practice, I invite you to study the "Scaling out" video from the NoNonsenseForex channel.
BV's Trading Journal.
Pivot Sniper (Double RSI, Safe Zones, Divergence, Trend Sensor)Pivot Sniper establishes safe zones to trade at the top half or bottom half of the market using 1000 bar highest high and lowest low respectively. It makes entry decisions scanning for a special RSI pattern and then confirms using Divergence and whether it is above or below a moving average. It also has a trend sensor that avoid betting against long running trends.
Use on a 5 minute chart only. It needs this resolution to make it's decisions. It is designed for forex only.
If you would like access to try this script out post below or message me.
Thanks, Doug
Custom Screener with Alerts [QuantNomad]Some time ago I published an example of simple custom screener in PineScript:
The only thing this screener did is created a dynamic label with screener output.
Recently TradingView announced alerts from the strategy with the possibility to add custom messages to alerts.
So using it I was able to create a bit more advanced screener which sends results as alert messages. With tools like Alertatron, you can easily redirect them to Telegram if you want.
It works for 40 symbols (limitation of the number of security calls).
To create your own screener you need to change only screenerFunc. The logic of this function is very simple, it outputs value you want to display in screener and condition based on which your screener should filter your stocks.
To create alerts for this screener create an alert from strategy and use {{strategy.order.alert_message}} as alert message.
Do you know now how to make this screener better? Let me know.
Disclaimer
Please remember that past performance may not be indicative of future results.
Due to various factors, including changing market conditions, the strategy may no longer perform as good as in historical backtesting.
This post and the script don’t provide any financial advice.
Strategy - Uber STC - Schaff Trend Cycle [UTS]Backtesting of Uber STC - Schaff Trend Cycle
Backtest with focus win/loss profitability.
Formula: profitability = win / (win+loss)
Default equity 100k USD
Default 2% Risk per trade
Default currency USD
Define backtest interval precisely by month, year, day
LONG and SHORT positions
Visualize SL and TP on chart
ATR (len: 14, smooth: SMA)
ATR based Stop-Loss, if hit trade will be closed and considered as loss
ATR based Take-Profit, if hit trade will be closed and considered as win
On TP or SL hit the trade is closed and marked as win/loss
Forex levrage 1 minOk this is more complex code the scanner system that why I protected it so folks will not abuse it . this system have no repaint as no security attach to mtf
the problem with the scanner system
that it only long system ,if you stuck in a loop you cannot get out of it unless a new win trade will start. this can be catastrophe if we use leverage system as it will destroy our all account. in the scanner system one can use stop loss but it will reduce profit very much.so that will be the exit . and there is no way for short. in this system which is based on the scanner system you do short. you can still use stop loss or exit by short
so since forex go by pairs. if the strategy of long does not work then flip sides for the longs neaning oposite coin. or short it.
this sytem allow you to use leverge and see by test how to calculate your best way to enter a levrage .
since it 1 min I set it to take profit as 0.2,0,0.4 0.5 and 0.7 . and to take 25% each time .
if you are familar with scanner system then it will easy to navigate with this one as well
the exit system you can see min time. HTF and candle time. the HTF is on the frame that we use . try to play either with minute time or candle time to get better results this sytem great for coins that are going up. so beaware of this issue
if you have questions please let me know
the levrage is set to 100% of your lot at 1 X
in real life I use 10% of my lot and then i put any leverage that i want depend on the strategy that I use
so be aware of this fact
this system buy and sell in avreage 800-1500 min cycle so about a day or so to get our profit out of it.
you can use it as advisor not as bot and then you decide by your self where the best exit need to be.
take this sytem only as helper for your forex trades
there is no subsitution for common sense..that a bot can never give you. so be carfull with the money that you risk
Jarvis for SPX500 (S&P500) by Goldman ArmiThis strategy is called JARVIS after the famous AI from the MARVEL movie Iron Man.
It is an improvement of the Copernicus Strategy to get better results. More exactly I was aiming to obtain over 50% of the number of trades profitable, for every pair provided (see the title).
The strategy tester does not include leverage trading, please keep that in mind and feel free to change the parameters of the volume for the position in the strategy settings to see the closer to reality results.
The setup for this strategy is more complicated because it includes 3 averages, all of them calculated with prices obtain by various formulas for each one of them and I call this: Sophisticated Moving Average (Copyright). Each of the 3 averages are applied to different timeframes and have different values. All of these parameters are configured separately for every trading pair and this is why I am publishing them separately.
There are not a lot of trades in this strategy, the average is around 3/month and the backtest you see here is from January 2020 until the time of this publication.
You can use the Tradingview alert services to configure this to execute (webhook) on your exchange/broker, because strategies have now the possibility to send alerts.
For other questions please send me a message.
Jarvis for EURUSD by Goldman ArmiThis strategy is called JARVIS after the famous AI from the MARVEL movie Iron Man.
It is an improvement of the Copernicus Strategy to get better results. More exactly I was aiming to obtain over 50% of the number of trades profitable, for every pair provided (see the title).
The strategy tester does not include leverage trading, please keep that in mind and feel free to change the parameters of the volume for the position in the strategy settings to see the closer to reality results.
The setup for this strategy is more complicated because it includes 3 averages, all of them calculated with prices obtain by various formulas for each one of them and I call this: Sophisticated Moving Average (Copyright). Each of the 3 averages are applied to different timeframes and have different values. All of these parameters are configured separately for every trading pair and this is why I am publishing them separately.
There are not a lot of trades in this strategy, the average is around 3/month for EURUSD and the result you see in this strategy is from January 2020 to this date of publishing.
You can use the Tradingview alert services to configure this to execute (webhook) on your exchange/broker, because strategies have now the possibility to send alerts.
For other questions please send me a message.
Jarvis for ETHUSD by Goldman ArmiThis strategy is called JARVIS after the famous AI from the MARVEL movie Iron Man.
It is an improvement of the Copernicus Strategy to get better results. More exactly I was aiming to obtain over 50% of the number of trades profitable, for every pair provided (see the title).
The strategy tester does not include leverage trading, please keep that in mind and feel free to change the parameters of the volume for the position in the strategy settings to see the closer to reality results.
The setup for this strategy is more complicated because it includes 3 averages, all of them calculated with prices obtain by various formulas for each one of them and I call this: Sophisticated Moving Average (Copyright). Each of the 3 averages are applied to different timeframes and have different values. All of these parameters are configured separately for every trading pair and this is why I am publishing them separately.
There are not a lot of trades in this strategy, the average is around 1/month.
You can use the Tradingview alert services to configure this to execute (webhook) on your exchange/broker, because strategies have now the possibility to send alerts.
For other questions please send me a message.
SOJA PIVOTStrategy using SOJA HUNTER indicator for buy and Pivot points for sell :
-1st TP at R1 with 25% shares
-2nd TP at R2 with 25% shares
SL using trailing stop.
percentrank strategySrategy for percentrank
Percent rank is the percents of how many previous values was less than or equal to the current value of given series.
long entry: intersection line 1 from bottom to top
short entry: crossing line 2 from top to bottom
Стратегия для индикатора percentrank
Процентный рейтинг — это процент от количества предыдущих значений, которые были меньше или равны текущему значению данной серии.
вход в лонг: пересечение line 1 снизу вверх
вход в шорт: пересечение line 2 сверху вниз
[AngelHouse] The Monster StrategyHello, I'm Angelhouse, a crypto analyst and indicator developer. :)
I would like to introduce you to the newly developed "The Monster" strategic indicators.
The indicator is an upgraded version of the existing "All Eating" strategy indicator.
- The "Monster" indicator is a strategic indicator created for crypto market transactions.
- This indicator is based on a four-hour time zone and is a strategic indicator using the intersection of the threshold.
- If a plot is crossed, a call is in progress or crossed, a sales signal is generated.
※ Explanation of the "The Monster" Strategy Indicator v1.0
1. Long & Short: You can configure your swing strategy based on the signal.
The All Eating Strategy indicator is based on a four-hour frame. Due to the logic nature, the signal does not match at a time higher than 4 hours. Therefore, we recommend that you use the indicator only in a time zone of 4 hours or less.
Also, the signal does not have 100% accuracy, so even if you configure a strategy based on the signal, it is recommended that you set the break/break line and respond.
2. Long Feel & Short Feel: The signal is also quite reliable. The strength of the signal is very reliable when a strong rise and a strong fall occur.
However, the downside is that there may be some offbeat in the transverse section. However, even if the index is offbeat, the loss is small, and if the stock price rises or falls, high expected returns can be expected.
You can use the signal alone, but if you use the Long & Short indicator, you can get better results. If the Long Feel & Short Feel signal is also generated where the Long & Short signal is generated, the probability will be higher, right?
3. Candle color: White cans are formed when cans such as dojorpoenor hammer are generated. The cans have a meaning of reversal when they occur after a strong rise or fall, and can continue the trend when they occur during an ongoing trend.
4. Single item band: The single item band consists of the strong area (blue area) and the weak area (red area) based on the reference line. Stock prices can indicate additional gains when they are in the bullish zone, and additional declines when they are in the weak zone.
Also, you can recognize the top of the strong zone as the resistance line and the bottom of the weak zone as the support line.
The cloud stand in the single band should be located in front of the band for 26 days, but it is also recognized as a role of support and resistance.
5. 1D Baseline: The line of one bar is recalled to 4 hours. blue when the reference line is positive, red when negative, and gray when horizontal, and red when the reference line is positive,
Or, in the opposite case, it's time to suspect a trend inflection.
6. Target line : When a specific period is set (default 20 days setting), the target point is provided in each of the 5 lines, from the highest point in the period to the low point of the current bar, and from the lowest point to the high point of the current bar.
※ If you want to obtain access to this indicator with a script dedicated for the first time, please contact the link shown in the signature.
ADX_TSI_Bol Band Trend ChaserThe idea of this script is to be a low risk strategy on trending stocks (or any other trending market), aiming to achieve minimal draw down (e.g. at time of writing AAPL only had ~1.36% draw down, FB ~1.93% draw down and the SPY was 0.80% draw down and all remained profitable).
Testing proved it shouldn't be used in choppy stocks and best period was on daily charts. The back test filter goes back until 2010 so you can obtain 10 years of data.
The strategy utilizes the 200 Moving Average, a Custom Bollinger Band, a TSI with 52 period weighted moving average and ADX strength.
Although back test dates are set to 2010 - 2020, all other filters (moving average, ADX, TSI , Bollinger Band) are not locked so they can be user amended if desired. However the current settings have been tested with manual trading for quite some time to get this combination correct.
Buy signal is given when trading above the 200 moving average + 5 candles have closed above the upper custom Bollinger + the TSI is positive + ADX is above 20.
As back testing proved that this traded better only in tends then some Sell/Short conditions have been removed from the script and this only takes Long orders.
Only requires 2 additional lines of code to add shorting order and then remove the "buy" condition and this could be used for a downward trending stock instead.
Close for either long or short trades is signaled once the TSI crosses in the opposite direction indicating change in trend strength.
Further optimization could be achieved by adding a stop loss, which I may do in the future.
NOTE: This only shows the lower indicators however for visualization you can use my script "CUSTOM BOLLINGER WITH SMA", which is the upper indicators in this strategy.
This is my first attempt at coding a strategy so I'm happy to receive any feedback or hints on how this could be written better from any experienced coders!
NASDAQ:AAPL AMEX:SPY
Combo Backtest 123 Reversal & Ergodic TSI 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
r - Length of first EMA smoothing of 1 day momentum 4
s - Length of second EMA smoothing of 1 day smoothing 8
u- Length of third EMA smoothing of 1 day momentum 6
Length of EMA signal line 3
Source of Ergotic TSI Close
This is one of the techniques described by William Blau in his book "Momentum,
Direction and Divergence" (1995). If you like to learn more, we advise you to
read this book. His book focuses on three key aspects of trading: momentum,
direction and divergence. Blau, who was an electrical engineer before becoming
a trader, thoroughly examines the relationship between price and momentum in
step-by-step examples. From this grounding, he then looks at the deficiencies
in other oscillators and introduces some innovative techniques, including a
fresh twist on Stochastics. On directional issues, he analyzes the intricacies
of ADX and offers a unique approach to help define trending and non-trending periods.
WARNING:
- For purpose educate only
- This script to change bars colors.
Combo Backtest 123 Reversal & Ergodic MDI 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 is one of the techniques described by William Blau in his book "Momentum,
Direction and Divergence" (1995). If you like to learn more, we advise you to
read this book. His book focuses on three key aspects of trading: momentum,
direction and divergence. Blau, who was an electrical engineer before becoming
a trader, thoroughly examines the relationship between price and momentum in
step-by-step examples. From this grounding, he then looks at the deficiencies
in other oscillators and introduces some innovative techniques, including a
fresh twist on Stochastics. On directional issues, he analyzes the intricacies
of ADX and offers a unique approach to help define trending and non-trending periods.
WARNING:
- For purpose educate only
- This script to change bars colors.
ECG MACD Botok this is hybrid of ECG bot -and MACD
in the ECG bot it combination of vwap and RSI
here I use different combination that may be even better which is a regular MACD and the rsi ECG bot .
you need to understand how this system work in order to make it best for you
first theory-
The ECG bot and this one base on simple but very strong idea which is there is differnt between repainted MTF to non repainted MTF
So if you put the same MTF 1 security (repaint ) and MTF 2 security (non repaint ) then the difference between them is the repaint distance.
so if i build model of buy force vs sell force on this diffrence.
SInce security is so dominant in the repaint model it force the signal to be at certain time . but also doing so it calculate the buy and sell force of the privoius day . which is very powerfull signal.
so puting to system of minus and plus the repaint model will produce signals. and due to security the strongest one will be when security finish it calculation at a specic time done by the MTF. so this is the "repaint signal" that make the repiant strategy to work so well.
my system is just to dump the unwanted noise and to keep the repaint ones. so by this reduce true repaint to be mimimum.
I hope you understand the idea . it not perfect but i thnk we are very close (i hope)
The MACD is your source so you can change the fast and slow to what ever you wish
the repaint system is conrol by the repaint control
if you use 60 min it need to to be 60 or more then that . if you use 30 min candle then use 30 etc
for each thing you do you must use the bar control to adjust it
as you need to adjust the upper treshold of the buy and the sell
for crypto this setting ok, you may change the lower treshold so use bar repaly to see where it was repaint and by that you can fix it
for stocks use 1 week MTF on 4 hour candle , increase repiant control to 240
for forex it same as crypto but you need to adjust to any coin that you use.
for further questions please let me know
once this project prove it idea that it safe i will make study version .
So do not put any 1 cent before you run all the test needed and live demo test to see how it work on real life
I put lower treshold on -450, on alts change it o -400
ECG BotSo this is just a proff of concept. the name is ECG (it look similar:) as a Senior ER doctor (my daily work) I had to design something similar:) . so before i explain in detail. I need to ask you some questions? can we take change the way security work? no. can we control repaint ? no one know. maybe ? probably not:) .
So what the aim to do it? curiuosity ....and maybe to make something that actualy work?...
The ecg model is actualy a rsi where I took two MTF . one repainting , the other one is not . and then the difference between the repaint and the non repaint allow me to create the this special rsi. in the strategy you find ability of non repaint which will tell you that the non repaint version is totaly worthless and you will lose if you use it. on the other hand the repaint one is working as charm. but it still stupid repaint.
So in privoius strategy i try to control the repaint but sadly it was only partly working (look on test me and rsi bot in my scripts lists in my page.
here the aim was different: can i take out the strong repainting signals and remove the all the noise (those shity buy and sell that send us to bancrupcy:) ?
So first step was to slow down the close state so it still allow repaint but not as drastic as regular close state which totaly unpredictle.
once it done . i move to next step . which is to keep only the ones that are true signal , diregard the noise.
So how to operate this model?
the model will buy if ECG line pass upper treshold. will selll if pass lower treshold. stronger signal are seems to be real and weaker signal seems to be false. so the treshold is a way to seperate between the false and the true.
next you have repaint control - which need to be set at the same or above the candle you use. my setting are optimised for etherium 1 hour . if you use other asset or other chart time. then you need to configure where is the point where it the real signal will look similar or exact to the repaint one. for this you need to use the bar replay and see which treshold work the best to filter bad signals.
for BTC 1 hour candles. the setting will be different (repaint control 75 , upper treshold 75 and lower treshold -80)
for etherium it repaint control 60 and and upper =75,lower=-75
you can also find a way to control the smoothness which is set to 1,4,5 now. (fast ,slow,curve) . i preffer not so uch to touch this setting but more to play with the setting above in order to remove bad signals.
So this bot not intend to say it not repaint . no. it is. but its aim is to send to us only the strong repaint signal out. and removing the bad crazy ones out .
So if you have questions about it? just write me or put bellow and i try my best to figure out. you need to becarfull when you play with money so if you plan to invest using this signals make sure you check this system at list a week as demo before you put 1 cent on it. and use the bar repaly . in any case you need the bar replay for adjusting the treshold and the repaint control to find optimum of filter out option.
Combo Backtest 123 Reversal & Ergodic CSI 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 is one of the techniques described by William Blau in his book
"Momentum, Direction and Divergence" (1995). If you like to learn more,
we advise you to read this book. His book focuses on three key aspects
of trading: momentum, direction and divergence. Blau, who was an electrical
engineer before becoming a trader, thoroughly examines the relationship between
price and momentum in step-by-step examples. From this grounding, he then looks
at the deficiencies in other oscillators and introduces some innovative techniques,
including a fresh twist on Stochastics. On directional issues, he analyzes the
intricacies of ADX and offers a unique approach to help define trending and
non-trending periods.
This indicator plots Ergotic CSI and smoothed Ergotic CSI to filter out noise.
WARNING:
- For purpose educate only
- This script to change bars colors.
RSPRO StrategyStrategy for RSPRO indicator
Based on resistance/support and bollinger band fluctuations this indicator also has filter with x bars after RSI overbought/oversell zones from settings.
There are two types of entries and signals: early (usually before trend changes) and main (when trend started to reverse)
Fits for BTC and any altcoins. And any assets. Good for both scalping and position trading (depends on timeframe that you use)
Best use it with big timeframes: 45 and 90min, 2 and 4 hours for position trading.
For scalping 5-30min timeframes are good too.
In Script settings you can specify:
1) RSI period, 14 by default.
2) Show early entries (squares), enabled by defaults.
3) Show main entries (triangles), enabled by defaults.
4) Enable/Disable filter to show main entries only after RSI overbought/oversell regions
Disabled by defaults and RSI is 67 for upper zone and 33 for lower zone.
You can also specify how many bars back before current bar this filter must do. It's 10 by default, you can vary it up to 90.
+With customisable start/end date, take profit and stop-loss.
This is invite only script. PM me if you want to test it.
Trading Technicals Strategy V1This strategy was developed in order to optimize 'bull' and 'bear' entry and exit signals based on a set of relatively basic but unique parameters, consisting of Exponential Moving Averages, candlestick formation, as well as data from the common RSI and MACD indicators.
Revisions should be expected as my goal with this strategy is to collect data by manipulating the existing entry and exit conditions in order to find the most successful results. I would like to optimize this strategy for a certain time period as well, as there are varying degrees of results between, say, the 5m chart and the 1h chart. I hope to revise this script when I have what I believe to be significantly improved results, and I would also consider the idea of publishing multiple strategies based on the code that works best for each time frame (V1 may work best for the 30m period, a future V2 may be best suited for the 45m period, etc.)
As of publishing this script, two significant points to note are:
1. There are no overnight holds - all positions are exited before market close
2. While you may see several instances in one day's time of the 'bull' signal rising, then returning to zero, a bullish position will not exit at zero, only - the position will remain active until a 'bear' position is signaled, at which point the 'bull' position will be closed and a 'bear' position will open. The same is true in the opposite scenario.
These points are of course subject to change throughout the optimization process. Lastly, my goal is not to look for the strategy that only yields the most profit, but the one that provides the most consistency in achieving those profits.
Retail Slayer StrategyRetail Slayer Strategy
Intended Markets: Forex, Indices, Cryptocurrencies, and metals (Gold, Silver)
Timeframe Use: 15 minutes only
Trailing Stop: 35-pips for Forex
The purpose of this strategy is to answer the question many retail traders have: Why does it feel like trades go against me immediately after placing a buy/sell? This strategy puts you into the position of taking trades against the majority of retail traders.
The underlying logic of this strategy involves the use of specific momentum, volatility, intra-week, and intra-day data to determine whether certain extremes that exist in common retail oscillators are truly indicative of a corrective move or a trend reversal. This strategy checks against those conditions to monitor whether certain breaks of certain price ranges are truly honest, or just fake-outs.
The 35-pip trail is intended for all of the Intended Markets listed above (ticks/points where necessary), and the 15-minute chart is also intended for all of the above-Intended Markets. There are options for you to adjust the trailing-stop, profit target, and stop(s) to fine-tune an instrument to your desired settings. However, I would recommend you stick with the 15-min, 35-pip default settings until you are more familiar with how this strategy works.
To utilize this strategy as an alert, simply add it to your chart then click on the Strategy Tester below. You will see a small alarm clock icon next to the cog-wheel - click the Alarm Icon and you can create the alert utilizing this strategy.
You will receive a notification warning you that this strategy can cause issues with repainting, and that is a known issue. However, with any strategy, it pays to confirm and do your own due diligence before committing to any trade. This strategy is intended to help identify and confirm entries in conjunction with your own analysis.
To inquire about access, please send me a PM. Please reach out if you have any questions.
[AngelHouse] All Eating StrategyHello, I'm Angelhouse, a crypto analyst and developer of the index :)
I would like to introduce the newly developed strategic indicators.
- The All Eating indicator is a strategic indicator made for trading in the crypto market.
- This indicator is based on the four-hour time zone, and is a strategic indicator using the intersection of the threshold.
- If the plot is crossed over, busy signal or crossunder, a sell signal is generated.
★ Describe the All Eating Strategy v3.2 indicator
1. Long & Short: You can configure your swing strategy based on the signal.
The All Eating Strategy indicator is based on a four-hour frame. Due to the logic nature, the signal does not match at a time higher than 4 hours. Therefore, we recommend that you use the indicator only in a time zone of 4 hours or less.
Also, the signal does not have 100% accuracy, so even if you configure a strategy based on the signal, it is recommended that you set the break/break line and respond.
2. Long Feel & Short Feel: The signal is also quite reliable. The strength of the signal is that when a strong rise and a strong fall occur, it is almost 100% probability that the signal is sold.
However, the downside is that there may be some offbeat in the transverse section. However, even if the index is offbeat, the loss is small, and if the stock price rises or falls, high expected returns can be expected.
You can use the signal alone, but if you use the Long & Short indicator, you can get better results. If the Long Feel & Short Feel signal is also generated where the Long & Short signal is generated, the probability will be higher, right?
3. Long Signal Cancel / Short Signal Cancel : After the sale signal, if the stock price moves in the opposite direction of the signal, the Long Signal Cancel / Short Signal Cancel signal will be generated. If the signal is triggered, close the sale at a break.
Please wait for the next signal.
4. Candle color: White cans are formed when cans such as the Dojorpoenor hammer are generated. The cans have a meaning of reversal when they occur after a strong rise or fall, and can continue the trend when they occur during an ongoing trend.
5. Single item band: The single item band consists of the strong area (blue area) and the weak area (red area) based on the reference line. Stock prices can indicate additional gains when they are in the bullish zone, and additional declines when they are in the weak zone.
Also, you can recognize the top of the strong zone as the resistance line and the bottom of the weak zone as the support line.
The cloud stand in the single band should be located in front of the band for 26 days, but it is also recognized as a role of support and resistance.
6. 1D Baseline: The line of one bar is recalled to 4 hours. blue when the reference line is positive, red when negative, and gray when horizontal, and red when the reference line is positive,
Or, in the opposite case, it's time to suspect a trend inflection.
※ If you want to obtain access to this indicator with a script dedicated for the first time, please contact the link shown in the signature.
Ehlers Bandpass FilterThis script uses @cheatcountry script to determine Ehlers Bandpass Filter.
Backtest offers 3 capital management tools. One that will always calculate order size as initial capital/close, one that uses the same calculation but adds or substracts profit. The last one allows you to enter manually the size you want to trade.
The time-based stop will close the position after a set number of bars.