Primus V1 - BybitHey everyone,
The current version its a scalping strategy for Bybit but for those that prefers swing trading algo I can do a different version as well for different exchanges.
This is the first version on my algo Primus, expect updates on the months to come.
Osilatörler
BlueFX Strategy GOLD M15We are releasing this separate script file for trading Gold on the M15 time frame using our strategy. This can now run independently from the main file instead of changing parameters and saving as a template - thus making the use of these specific settings even easier for our traders.
You can see the back testing profitability shown below, although you can not use back testing to predict the future, both the volume of trades, net profit, win rate and draw down demonstrate a solid foundation and data to move forward from.
The strategy itself is explained in the 'Blue FX Strategy' but see below too for more info.
Our strategy will help you identify the current trend in the markets and highlight when this is changing. The strategy itself is based upon 4 indicators lining up in total confluence to increase the probability of the trade being a success.
Absolutely no technical analysis is needed to trade this - this is a trading tool and has solid back testing results trading in isolation - although you may also use to support your own trading - the choice is yours.
When a trade is valid - a Buy or Sell label will appear with the Entry price, SL and multiple TP's shown on the chart.
IMPORTANT note, the test results show and confirm that the most profitable exit strategy with these Gold settings is 'FT&SL' this means we enter the trade with a Stop Loss (SL) and simply hold and follow the trend (Follow Trend = FT) until a reverse signal is printed.
In our supporting video (see related ideas) you can see the impact of changing this target between multiple TP's and the net effect on both win rate and overall net profitability.
The Lot size will also be displayed and this is based on the risk parameters you have set personally in the calculation section.
What is a Trading View Script?
A script is like an indicator but better, we can verify the success of our strategy by using Trading Views strategy tester function. As shown below and on the chart - you can see the 'Buy' and 'Close Buy' on the chart, supported by a live trading log showing you the entry, entry price date, volume and closing price.
This is a great function for numerous reasons; firstly, you know you are using a strategy that has provided a positive expectancy in back testing, secondly you can use this as a trading journal to support your trading too. This in itself can help you with your trading psychology - letting winning trades run is a prime example of this. Take confidence in the statistics and performance over time.
Ultimately, we believe we have saved YOU the need to firstly, find an edge and a strategy - and all of the time it takes to BACKTEST a strategy - to then find it may or may not work - and then you start again!
Disclaimer alert; Please remember past performance is exactly that - how our strategy performed over those dates tested, it is not obviously a guarantee of future performance.
Interested in access or more information?
No problem, simply drop us a DM via trading view for access information.
Thank you for reading.
Darren
WaveTrend+ Strategy [SystemAlpha]This is a WaveTrend strategy based on WaveTrend Oscillator. In addition to using the normal crossovers, we use trend filters, trailing stop loss and take profit targets. WT+ Strategy was developed for crypto, forex and stocks for 15 minutes to daily timeframe. The main goal was to catch long term trends and ride them.
In this strategy you have a choice of:
Trend Filters:
- Average Directional Index (ADX) – buy when price is trend is up and sell when trend is down.
- Moving Average (MA) – buy when price close above the defined moving average and sell when price close below moving average
- Parabolic SAR – buy when SAR is above price is above price and sell when SAR is below price.
- All - Use ADX, MA and SAR as filters
For MA Filter , you can use the “TF MA Type” and "TF MA Period" parameter to select Simple or Exponential Moving Average and length.
Stop Loss:
- Average True Range (ATR) – ATR % stop as trailing stop loss.
- Parabolic SAR (SAR) – Parabolic SAR adapted as trailing stop loss.
For ATR , you can use the “ATR Trailing Stop Multiplier” parameter to set an initial offset for trailing stop loss.
Take Profit Target:
- Average True Range (ATR) – ATR % stop as trailing stop loss.
- Standard % – Percent as target profit
For ATR , you can use the “ATR Take Profit Multiplier” parameter to set an initial offset for trailing stop loss.
Additional feature include:
- Regular and Hidden Divergence display and alerts
- Filter Overbought and Oversold
- Use WT Cross for Exit
STRATEGY ONLY:
- Set backtest dates
- Set Trade direction - Long, Short or Both
- Use timed exit - Select method and bars
- Method 1: Exit after specified number of bars.
- Method 2: Exit after specified number of bars, ONLY if position is currently profitable.
- Method 3: Exit after specified number of bars, ONLY if position is currently losing.
TradingView Links:
WT+ Oscillator Companion:
WT+ Alerts:
How to use:
1. Apply the script by browsing through Indicators --> Invite-Only scripts and select the indicator
2. Once loaded, click the gear (settings) button to select/adjust the parameters based on your preference.
3. Wait for the next BUY or SELL signal to enter the trade!
Disclaimer:
The indicator and signals generated do not constitute investment advice; are provided solely for informational purposes and therefore is not an offer to buy or sell a security; are not warranted to be correct, complete or accurate; and are subject to change without notice.
HFT Divergence Hunter BacktesterDefault Settings are meant to be used in BTC /USDT chart on 5 min time frame on Binance Futures . If you want to use for another asset on another time frame YOU MUST CHANGE THE SETTINGS
This is a divergence finding strategy developed by HFT Research. It is a highly customizable strategy and provides endless opportunities to find profitable trades in the market.
Default Settings are meant to be used in BTC /USDT chart on 5 min time frame on Binance Futures . If you want to use for another asset on another time frame YOU MUST CHANGE THE SETTINGS
This is a divergence finding indicator developed by HFT Research. It is a highly customizable indicator and provides endless opportunities to find profitable trades in the market.
Use Envelope , this is the main decision maker in this strategy. The idea behind is that you choose the length of the moving average and set an offset % to create an upper and lower band. If you click on “display envelope” you will be able to visually see the band you have created. This way, you get to scalp the market as the price is diverging and moving away from the moving average. As the famous saying goes, moving averages act like magnets and prices always visits them back. Using this ideology, we aim to capitilize on the price swings that move away from the chosen moving average by x%.
STARC Bands ;
These are two bands that are applied above and below a simple moving average of an asset’s price. The upper band is created by adding the value of the average true range (ATR) or a multiple of i. The lower band is created by subtracting the value of the ATR from the SMA . The channel can provide traders with ideas on when to buy or sell. During an overall uptrend, buying near the lower band and selling near the top band is favorable. However, from our testing results it does fairly poorly in crypto markets while it does pretty well in traditional markets.
Use RSI ;
One of the most commonly used indicators in the trading world. The idea is simple, buy when its oversold and sell when its overbought. You can use RSI as a secondary confirmation of the dips. It can be turned on and off.
Use MFI
MFI stands for Money Flow Index and it is an oscillator like RSI . However, it does track the price in a different fashion than RSI providing a reliable option. It uses the price and volume data for identifying overbought and oversold signals in an asset.
Use Fisher Transform
Even though, it has a funny name, Fisher is actually a very decent and reliable indicator. It converts the prices into a Gaussian normal distribution channel. Therefore, the indicator detects when the prices have moved to an extreme, based on recent price action.
Use VWAP
VWAP stands for volume weighted average price . It is an extremely useful indicator when trading intra-day. It does reset every trading session which is at 00:00 UTC . Instead of looking at x number of candles and providing an average price, it will take into consideration the volume that’s traded at a certain price and weigh it accordingly. It will NOT give entry signals but act as a filter. If the price is above VWAP will filter out the shorts and other way around for longs.
Use ADX
Average directional index is a powerful indicator when one is assessing the strength of a trend as well as measuring the volatility in the market. Unfortunately, the worst market condition for this strategy is sideways market. ADX becomes a useful tool since it can detect trend. If the volatility is low and there is no real price movement, ADX will pick that up and will not let you get in trades during a sideways market. It will allow you to enter trades only when the market is trending.
Use Super trend Filter
The indicator works well in a trending market but can give false signals when a market is trading in a range.
It uses the ATR ( average true range ) as part of its calculation which takes into account the volatility of the market. The ATR is adjusted using the multiplier setting which determines how sensitive the indicator is.
Use MA Filter
Lookback: It is an option to look back x number of candles to validate the price crossing. If the market is choppy and the price keeps crossing up and down the moving average you have chosen, it will generate a lot of “noisy” signals. This option allows you to confirm the cross by selecting how many candles the price needs to stay above or below the moving average. Setting it 0 will turn it off.
MA Filter Type: There is a selection of moving averages that is available on TradingView currently. You can choose from 14 different moving average types to detect the trend as accurate as possible.
Filter Length: You can select the length of your moving average. Most commonly used length being 50,100 and 200.
Filter Type: This is our propriety smoothing method in order to make the moving averages lag less and influence the way they are calculated slightly. Type 1 being the normal calculation and type 2 being the secret sauce .
Reverse MA Filter: This option allows you to use the moving average in reverse. For example, the strategy will go long when the price is above the moving average. However, if you use the reserve MA Filter, you will go short when the price is above the moving average. This method works best in sideways market where price usually retraces back to the moving average. So, in an anticipation of price reverting back to the moving average, it is a useful piece of option to use during sideway markets.
Use MACD Filter
MACD here will act as a filter rather than an entry signal generator. There are a few different ways to use this MACD filter. You can click on the Use MACD filter and it will use filter out the shorts generated in a bullish territory and longs generated in the bearish territory. It will greatly reduce the number of trades the strategy will trade because MACD is a lagging indicator. By the time MACD turns bullish or bearish , most of the other indicators will have already generated the signals. Therefore, resulting in less trades. You can use MACD filter as MA oscillator meaning that it will only look at the MA lines in MACD to filter out trades. Alternatively, you can use it with the histogram (Signal lines) meaning that it will only look at the histogram whether its below or above the zero line in order to filter out the trades.
TP (%)
Place your desired take profit percentage here. Default is 1.5%
Move SL At Entry x% Profit
This is when the strategy will move your SL to the entry point if the position reaches x% profit. It can also generate a signal which can be automated to adjust the SL on the exchange.
SL (%)
Place your desired stop loss percentage here. Default is 1%
The backtester assumes the following;
- 1000$ capital
- 0.06% commission based on binance
- 1% risk meaning 100% equity on cross leverage
- Backtest results are starting from 2020
If you want to get access to this indicator please DM me or visit our website.
TRM StrategyThis is a strategy version of the "True Relative Movement" script:
It is virtually identical to the original script, except now you can back test different conditions and parameters.
TRM has 3 different conditions:Buy (Blue Bars), Hold/Take Profit (Gray Bars), and Sell (Pink Bars).
This script is only coded for Long only condition. It will exit the position when there is a sell signal, no take profit parameters are coded.
The example backtest results shown are on $AAPL with a starting Capital of 10k, with each trade investing 10% of capital. I cannot show results vs buy and hold (meaning re-investing 100% of capital) as this is against house rules. However, I HIGHLY encourage you to experiment with different trade parameters, time frames, symbols and settings for TRM. You will find that certain time frames perform better under different TSI and RSI settings. The "Slower paced trader" can use the "Slow settings" for TRM ( Instructions embedded in the settings window). This will produce less signals ect.... I am personally, constantly finding different settings that work for different ETF's, symbols ect...
As a discretionary trader, it is important to have a system that has an "edge". That is what the script is meant for... finding an edge to help you make sound trading decisions and help you manage risk accordingly.
Enjoy, and please DO NOT hesitate to ask me any questions.
PSAR Strategy (No Overnight Holds)This script utilizes the logic of the TradingView built-in Parabolic SAR strategy, and is adjusted to only give signals during real trading hours (in other words excluding pre-market and after-hours) and to exit all trades before the close of the market.
I personally have found the best results for this strategy to be on a 1 minute time period, and have a great interest in optimizing the profits of this strategy relative to the amount of closed trades and commissions involved. These results are calculated on a 100-share basis, with an estimated $1.00 commission per closed trade. Note that this strategy is extremely active and assumes a long or short 100-share position at any given moment throughout real trading hours.
Definitely take some time to play with the settings to find what works best for a given ticker, as results will vary; using a 100-share basis, I have found profits of over $15,000 with less than 1500 closed trades (on a 1 minute time period, back-tested to one month), and I have also found profits of over $30,000 with nearly 5000 closed trades. There is surely room for a lot of optimization with this strategy.
AltBetaHello Tradingivew!
This is a new script I have been working on for last few weeks, its still in a beta mode version but i want to publish it to get some feedback on it
This script uses a variety of indicators in conjunction with each other
Its unique in a way as it only LONGS and gives the exits rather than shorting too
It uses a percentage of the spread between average of high, low and close with ema crossover
it's uni-directional, picking longs only
Stop losses are wide enough to give the signal room for good results
it works best by backtesting against data to see results before using it on any particular symbol or timeframe
To try it our you may message me directly on tradingview chat
Thanks
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.
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
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