Relativity BULLS FUTURES 50X 4H AlgorithmHi,
This system is prepared only for leveraged markets and for Futures and CFD markets.
Leveraged processing apply to cryptocurrency contracts that are also subject to.
System parameters:
Timeframe = 4H (4 Hours)
Leverage = 50X
Position Size = %1 (0.01) Each Trade
System features :
- It targets the Risk /Reward Ratio of 1/3 and above. (Risk/Reward Ratio >= 3 )
- If a Take Profit Point has come in a successful trade but the parameter conformity has not deteriorated, system continues the trade.
- In this way, you can catch strong long trends several times a year.
But it is strict as stop-loss and avoids large declines,whipsaws whenever possible.
- The system tries to avoid unnecessary processes as much as possible.
This means less commission and less sideways market.
- Since it takes advantage of the reverse market, it is suitable not only for long and short but only for long position, ie "bulls".
But this neutralizes unnecessary processes.
- Stop-Loss points and Snow-take points are shown in red and green.
-However, if there is a small amount of follow-up available at the computer, it is recommended to put stop-loss only.
Because the system revises both stop-loss and take profit points according to the conditions formed.
Doing this in the right major long trend here allows you to be in trades.
-The system takes into account the risk and only opens transactions where the value corresponding to 10 leverage ratio is greater than the risk.
This provides as much protection from risk as possible.
-Alerts added.
About Backtest :
Since this system uses leveraged market, backtest results are not healthy.
But since it targets the 1/3 Risk Reward Rate (3.00),
we must look Ratio Avg Win/Loss and it must be over 0.5 because :
This ratio means: When we reach 33% of our correct trades in all our trades, we are at breakeven.
This is 100 - 33 = 66
33/66 = 0.5
So whenever this rate is over 0.5, we make a profit.
*** The fact that this ratio is over 0.70-1.00 in terms of securing ourselves because there is a maturity in the future indicates that we are doing
successful snowball trades.(Because future contracts have loss of maturity and end dates)
And we achieve success cumulatively.
Important Note : This system is prepared only for these parameters.
These parameters are designed for Futures and CFDs.
It doesn't work in spot markets and Forex Markets.
NOTE :
The system has been prepared as a strategy to present success in a transparent manner.
Please check "Ratio Avg . Win / Avg Loss" rates in backtests.
Important Note 2 -
Although the system revises the stop and take profit points in the required parameters, the most accurate place is when the signal comes.
It should be entered when the signal comes as much as possible and if this did not happen,
trade must be opened in the nearest bars after the signal comes.
If the position is not closed, renew your position in the new month by observing the maturity conditions.
Here you should pay attention to the maturity, the cost of transportation.
Because the more time to maturity, the more advantageous it will be.
Best regards.
Algorithm
Relativity BEARS FUTURES 10X 1D AlgorithmHi,
This system is prepared only for leveraged markets and for Futures and CFD markets.
Leveraged processing apply to cryptocurrency contracts that are also subject to.
System parameters:
Timeframe = 1D (1 Day)
Leverage = 10x
Position Size = %1 (0.01) Each Trade
System features :
- It targets the Risk /Reward Ratio of 1/3 and above. (Risk/Reward Ratio >= 3 )
- If a Take Profit Point has come in a successful trade but the parameter conformity has not deteriorated, system continues the trade.
- In this way, you can catch strong long trends several times a year.
But it is strict as stop-loss and avoids large declines,whipsaws whenever possible.
- The system tries to avoid unnecessary processes as much as possible.
This means less commission and less sideways market.
- Since it takes advantage of the reverse market, it is suitable not only for long and short but only for short position, ie "bears".
But this neutralizes unnecessary processes.
- Stop-Loss points and Snow-take points are shown in red and green.
-However, if there is a small amount of follow-up available at the computer, it is recommended to put stop-loss only.
Because the system revises both stop-loss and take profit points according to the conditions formed.
Doing this in the right major long trend here allows you to be in trades.
-The system takes into account the risk and only opens transactions where the value corresponding to 10 leverage ratio is greater than the risk.
This provides as much protection from risk as possible.
-Alerts added.
About Backtest :
Since this system uses leveraged market, backtest results are not healthy.
But since it targets the 1/3 Risk Reward Rate (3.00),
we must look Ratio Avg Win/Loss and it must be over 0.5 because :
This ratio means: When we reach 33% of our correct trades in all our trades, we are at breakeven.
This is 100 - 33 = 66
33/66 = 0.5
So whenever this rate is over 0.5, we make a profit.
*** The fact that this ratio is over 0.70-1.00 in terms of securing ourselves because there is a maturity in the future indicates that we are doing
successful snowball trades.(Because future contracts have loss of maturity and end dates)
And we achieve success cumulatively.
Important Note : This system is prepared only for these parameters.
These parameters are designed for Futures and CFDs.
It doesn't work in spot markets and Forex Markets.
NOTE :
The system has been prepared as a strategy to present success in a transparent manner.
Please check "Ratio Avg . Win / Loss" rates in backtests.
Important Note 2 -
Although the system revises the stop and take profit points in the required parameters, the most accurate place is when the signal comes.
It should be entered when the signal comes as much as possible and if this did not happen,
trade must be opened in the nearest bars after the signal comes.
Here you should pay attention to the maturity, the cost of transportation.
Because the more time to maturity, the more advantageous it will be.
Best regards.
Intraday Trend Following Algorithm [Bitduke]Description :
Trend following strategy that constantly adjusts to volatility and avoids of most whipsaws; rapidly moves up or down according to a quickly changing market. Great strategy for high volatile markets, like crypto market.
Based on a couple of special moving averages with integrated smoother which helps to avoid whipsaws.
Backtesting
Backtested on BTCPERP ( FTX ). It shows much better results on 4h timeframe (more than 222% YTD) and relatively low drawdown which allows you to use up to x3 leverage without a fear of huge losses. I.e if we have 5% drawdown for this strategy and using x3 leverage then to be prepared to 15% drawdown maximum in this case.
Initial Capital: $1000
Capital per trade: $1000
Including fee: 0.075% (buy + sell) side, type "taker"
When we get a signal (green/red column on chart) algo opens a trade by the next candle open price.
Others:
Risk management: Stop loss/Take profit in %
Strategy doesn't repaint .
----------
To access: sign up on FTX using ref link from my signature.
Swing Algo V1.1Here I present an upgrade to 'Swing Algo V1'. For differences to V1, see below.
This indicator can be used for e.g. swing algorithmic trading. It will give Buy/Long and Sell/Short signals on the chart. This algorithm uses a combination of several (custom) functions and rules to find good entry points for trend trading. After many iterations and tests I came up with this particular setup, which is highly optimized for the $ETH/$USD trading pair on the daily (D) timeframe. It is however possible to change algorithmic parameters within the indicator settings to tune this swing algorithm for other assets and timeframes. You don't need any programming skills or similar abilities to navigate this indicator.
Also you can choose the backtest time interval to test the perfomance of this algorithm for different time windows and different trading pairs. Here various backtesting parameters (e.g. trading fees) can be customized. Additionally to the TradingView Strategy Tester you can also plot your equity directly on the chart to get a sense for the performance. For this you can also scale the equity graph to e.g. match the starting point of your equity with some price point on the chart to get a direct comparison to 'Buy & Hold' strategies over time.
Note: In general it seems that cryptocurrencies are rather swing-algorithm-friendly, while I cannot recommend trading classical assets like stock or indices (e.g. S&P 500) with this indicator (although you can of course try to find good setups).
This indicator (and all other content I provide) is no financial advice. If you use this indicator you agree to my Terms and Conditions which can be found on my Twitter profile linked on my TradingView profile or in my signature.
Differences to Swing Algo V1:
- Changed the oscillator part of the algorithm with a better suited one (at least) for the ETH/USD trading pair.
- Improved net profits by roughly 20% in comparison to V1 for ETH/USD on daily timeframe
- Reduced Max. Drawdown by roughly 1/4 in comparison to V1 for ETH/USD on daily timeframe
- However for other assets and timeframes V1 might perform better than V1.1. I leave you with both options to play so that you can find the best solution for a given trading pair.
For access please contact me via DM on TradingView or on Twitter (linked on my TradingView profile and my signature). People who purchased access to any 'Swing Algo 1.x' get access to all other 'Swing Algo V1.x' indicators automatically ('Swing Algo V1' counts as 'Swing Algo V1.0').
Fianchetto v1Hello, I created this script last year I decided I would release it to the public. This script uses Moving Averages to attack or defend price action given the current conditions of the market. This strategy is ONLY for currencies I would NOT recommend using on any other markets. This strategy is wrong about 55% of the time so use at your own risk. This strategy has 2 main focuses, 1. Catching trends and riding trends 2. Defending Profits from a Trend, as a trend starts to form you want to make sure you can get the most juice out of the trend while also ensuring profit taking throughout the trend. This algorithm uses moving averages in a more creative way than just trading crossover's, we use a small MA to use it's direction of travel as a traffic light while using a bigger MA as a filter for our trade bias (bear or bull). Our Traffic light or small MA is what ensures we are defending profits as when the traffic light switches colors we close our trade even if our filter is still the same bias. This however does not mean we are done trading the current trend wave, We wait for our traffic light to switch back to the same bias as our filter to re-enter the trade. I will be updating this system as time goes on, if you have any questions or problems please pm me, QuantsGambit
Hull Strategy [Bitduke]Description
The Hull Moving Average (HMA) was developed by Alan Hull for the purpose of reducing lag, increasing responsiveness while at the same time eliminating noise. Its calculation is elaborate and makes use of the Weighted Moving Average (WMA).
It uses two lagged hull moving averages at the intersection of which a change in trend is determined.
Risk Management
Risk is managed by limiting the loss per trade (in%) using stop loss variable.
Improvements
Can be improved by experiments with stop loss and take profit.
Backtesting
Bitmex XBTUSD
Timeframe 3H
Stop 2%, take profit : n/a
193.5% profit
22.42% drawdown
FTX BTC-PERP
Timeframe 3H
Stop 2%, take profit : n/a
187.5% profit
14.79% (!) drawdown
FTX SHIT-PERP
Timeframe 3H
Stop 2%, take profit : n/a
112.5% profit
13.79% (!) drawdown
Swing Algo V1This indicator can be used for e.g. swing algorithmic trading. It will give Buy/Long and Sell/Short signals on the chart. This algorithm uses a combination of several (custom) functions and rules to find good entry points for trend trading. After many iterations and tests I came up with this particular setup, which is highly optimized for the $ETH/$USD trading pair on the daily (D) timeframe. It is however possible to change algorithmic parameters within the indicator settings to tune this swing algorithm for other assets and timeframes. You don't need any programming skills or similar abilities to navigate this indicator.
Also you can choose the backtest time interval to test the perfomance of this algorithm for different time windows and different trading pairs. Here various backtesting parameters (e.g. trading fees) can be customized. Additionally to the TradingView Strategy Tester you can also plot your equity directly on the chart to get a sense for the performance. For this you can also scale the equity graph to e.g. match the starting point of your equity with some price point on the chart to get a direct comparison to 'Buy & Hold' strategies over time.
Note: In general it seems that cryptocurrencies are rather swing-algorithm-friendly, while I cannot recommend trading classical assets like stock or indices (e.g. S&P 500) with this indicator (although you can of course try to find good setups).
This indicator (and all other content I provide) is no financial advice. If you use this indicator you agree to my Terms and Conditions which can be found on my twitter profile linked in my signature.
GMS: RSI StrategyThis is just a basic RSI strategy that it easy to use and quite comprehensive so you can quickly test out an idea based on RSI.
- I made it comprehensive in that you can select long, short, or both.
- There is a simple moving average trend filter. You can filter for trades above, below, or don't include it at all.
- The exit is based on a simple moving average.
The source code should be open if you want to see it or modify it for your own project. I hope it helps!
Andre
Global Market Signals
[GM ELITE] Dynamic Introduction
This is the first of the GM ELITE indicator range. Designed for Algorithmic Traders looking to speed up their process of testing and optimizing their algorithm. This script contains an entire suite of indicators, that work together in unison to find optimal trade entries, based on NNFX rules. There are two versions of this script. One is a strategy and built in back-tester, and the other will update in real time designed for live trading and forward testing.
Entries/Exits
The System has 5 indicator slots, and the user can choose one indicator per slot
- Trend Confirmation Indicators to pick when the market has taken off
- Volume and volatility Indicators to determine the strength of the trend or whether tha market is ranging.
- Moving Averages for trend bias
- Exit Indicators to signal when to get out!
Money Management
Dynamic allows you to choose your Stop Loss and Take Profit distance based on a multiplier x ATR.
Options to exit the whole trade at TP or at a signal from the exit indicator of your choosing.
Start and End times (Window) to backtest.
Forex - $EVZ
Euro Volatility FX Vix (aka $EVZ) is built in. You can toggle a filter for low $EVZ or whether or not EVZ is above average. No signals will be given if EVZ is below threshold. EVZ is one of the best indicators of overall forex market volume and volatility.
Customization
Several visual and color customization options. Thousands of possible parameter combinations.
The "bias" or mode of the Confirmation Indicators appears at the top and bottom of the screen as horizontal rows of triangles.
For any two-line Indicator (eg MACD ) if the fast line is above the slow line, the triangles are green, other-wise, they are red.
For any "Level Cross" indicator, when the line is above the level, the triangles are green, otherwise, they are red.
The Arrows at the bottom of the screen determine whether or not there is sufficient volume
Out of the Box
The Indicators and parameters out of the box are chosen based on defaults. Please optimize for the market that you trade.My recommendation is to paper trade once you have found a combination of settings with good back-testing results, and have different settings for different markets, as not all markets behave in the same manner.
OnePunch Algo Hard BUY/SELL and Date Range - Version 1~~~ How to Detect Sell Signals ~~~
The First Red Outlined Yellow Bar after a purple "close entry order long" signal : then that is a SELL
~~ What is Purple Signal~~~
Purple "Close Entry Order Long" is a warning for a trend reversal. Normally this is given when the upward trend is reversed.
~~~ How to Detect Buy Signals ~~~
Like in the screenshot, the 1st blue "long" signal after 1 or couple of white bars; then it is a BUY.
Note: This is only available for invited members only. This is a new strategy with Dates ranges.
PA Researcher Algorithmic Trading Indicator PA Researcher Algorithmic Trading Indicator v1.
This Indicator is Algorithmic Trading Indicator.
Provide Best Buy/Sell Time & Good to check Long/Short term Trend For Swing/Scalping
Easy Trend Analysis for Beginner
Ability to Turn ON/OFF each Indicators
Ability to Change Colors
#This is not a Auto-Bot, This indicator Provide the Best Enter Time
-----------------------------------------------------------------------------------------------------------
PA Researcher Algorithmic Trading Indicator v1. 입니다.
자동화된 추세 분석을 통해 단/중/장기적인 추세 분석을 나타내주며,
알고리즘 값에 충족할 시 매수/매도 시그널이 나타납니다.
추세분석을 매우 쉽게 나타내며, 원웨이를 잡기에 매우 좋은 진입 시그널이 발생됩니다.
무엇보다, 추세변곡을 엄청나게 잘 잡아냅니다.
그 어떤것보다 시각적인 요소를 중요시 했기 때문에, 사용법을 잘 모르시는 분들도 쉽게 사용하실 수 있습니다.
Ex_)
Hit ratio example
적중률은 이 사진 한장으로 설명됩니다.
BITCOIN DOMINATOR-- BOT-- Bitmex Ready!ladies and gentlemen,
We cracked the XBT code.
For more information, visit the website in my bio.
Moon Bound! god speed!
Vix spread Betting/CFD strategy. Highest profit factor ever?Recently I have noticed that many CFD and spread betting providers (I wont mention which ones but they are easy to find with a quick google search) are letting users "trade" the CBOE Volatility Index ( VIX ). I thought this was unusual as the VIX is not a purchasable asset; it is a measure of implied volatility (both long and short) on the S&P500 calculated through a formula using the price of S&P options. As far as I know the VIX has never been directly tradeable until now, VIX related products like ETFs which attempt to follow the VIX has been available for nearly two decades however they suffer greatly from slippage which makes them difficult to trade.
I am astonished that we are now, for the first time, able to bet on the result of a formula. I think that CFD and spread betting providers have made a mistake, they were probably just looking to add more tradable products and didn't think through fully that the VIX is not like any of their other products, and is much easier to profit from when using a quantitative strategy.
This strategy works live on 4H and daily charts and achieves absolutely ridiculous results. I set it to start with $100 initial capital, and over the course of 465 trades it made $73154339495899.86 profit due to compounding profits. This is a profit factor of 695603.753. I don't expect to earn this much profit myself as I am sure that CFD and spread betting providers will eventually realize that it was a mistake to let traders have positions betting on the outcome of a formula, and eventually stop allowing VIX trades to be placed. I am currently trading using this algorithm, and will maybe let others use this script eventually after I've had my fun. So follow me :)
Bitcoin Trading Algo, 30,500% profit long + short. Beats HODLingREAD DISCRIPTION FIRST
Trading view have taken off the Invite Only options for scripts from free accounts and since I usually only like people I know using my scripts I have programmed my own password and Keycode system within pine script, the Keycode changes every month and is determined by a random number algorithm so you will need to know both the password and the keycode for the script to wok for you.
The objective for this strategy was to reduce the standard divination of bitcoin returns through risk management, this is done with both long and short trades. It looks to get on board when a trend is detected and adds to the position to average out all entry points. When the momentum begins to decelerate all trades are closed. 50% of these trades will usually be in profit and 50% will usually be a loss, however profits are 3x larger than losses.
To demonstrate that the deviation of retuns of the strategy is lower than hodling, I leaveraged the strategy to a similar drawdown level to hodling so that you can compare the two.
When risk adjusted, my strategy beats buy and hold returns by about 600%, although I am personally trading the strategy unleaveraged.
Strategy - Bobo's Pivot ATR SwingHi there, welcome to my pivot ATR swing bot. I put this out there with source code hidden to see what ideas others have to use it. Also if there are any coders of trading systems out there who wanted to work with me to put this into a form that could trade automatically we could both use... I'd welcome that kind of collaboration and will happily share the underlying rules of this and the more highly developed version that isn't public.
But as it is, the signals are free for all, use them as you wish and at your own risk. If you want to discuss the code, strategy or ideas, I'm around fairly regularly just message.
The bot is fairly simple design that will give you signals for long and short intraday/week on equity futures / CFDs / ETFs. You'll see it backtests fairly well on an hourly SPX500 chart as configured. You will need to set up certain parameters to account for any different timeframes and markets you wish to trade. For me it's most effective pick out a few good swing trades per week in equity futures. However part of the idea of putting this in the public domain is to see if other people will have good but different ideas how to use it. Please share with me if so :).
The basic concept is a series of 3 lines that define the area and movement we wish to trade. The daily pivot is the central line (blue). We are looking to capture reversions to this middle line from extremes (red and green). Therefore the bot will signal exit at the close of every candle that has passed through the pivot.
Entry is decided by the outer bands around the blue line. Red is the top band, green the bottom. As configured, these are simply placed a daily ATR value apart, centred around the pivot. You can change this quite a lot though, so let's go through the settings:
Pivot Timeframe - simple, a daily pivot is calculated from the previous day's values (high + low + close)/3 . BUt the same calculation can be applied to any length candle, day, minute, month or whatever. This makes the middle target line more or less responsive to recent price action.
ATR Band Timeframe - When we calculate the average range, we need to know what candle length makes up our series. Daily candles is the default, but you can change that here.
ATR Lookback - When we calculate the average range, we need to know how many instances of the timeframe (day, minute, hour etc) we look back to create an average. The lower the lookback value, the more the width of the bands (the distance from pivot) will change quickly based on the volatility of previous candles. The higher the lookback value, the more stable the band width will be to recent volatility.
ATR divisor - The ATR value above is divided by this value, before being added or subtracted to the pivot to create the red and green lines. Default value is 2, and this means the distance from the red band to the green band will be equal to 1 ATR, as calculated according to the parameters above. Setting this to 1 would mean that each band is one ATR away from pivot (ie the bands got wider apart). Set this to 4, and it means that it is only 1/2 an ATR from green to red.
Take Profit / Stop Loss. - We know what a stop and profit target are, but worth nothing that a 0 value disables stop loss or profit targets. The bot will still close positions when crossing pivot.
Also, note the mintick value of the instrument you apply this to. For example for the CFD chart SPX500 the mintick value is 0.1. So a 100 value for stop loss = 10 points on SPX500. but if you were to trade the same thing basically, but the emini future ES, the mintick value is 0.25. So for a 10 point stop on the ES chart, you would need a value of 40 in this bot. US30 and YM have convenient mintick values of 1. Currencies can be a bit of a nightmare :).
Oscillating Market Case StudyThis is a little something I created to analyze the market. Ultimately, I wanted to create something that could encapsulate the entire market as best as possible. The idea was simple, use technical analysis to create cases that would indicate entry positions and exit positions for long positions initially. After completing that, I decided to add a few shorting cases.
A combination of 25-30 indicators were used to create this, and the indicators were modified with a filter to create a smoothed overlay.
So here's the breakdown:
- 10 total cases: 7 long, 3 short
- The 7 long cases are broken down into three categories; long term, medium term, short term
- Short Term: OC1, OC2, STB1, STB2
- Medium Term: STB1, STB2
- Long Term: LTB1
- Shorting Cases: SC1, SC2, SC3
- The cases are both plotted as text and entry orders; this can be toggled on and off through the format menu.
I suggest you use the format menu to get the most out of this script. The menu consists of toggles to turn of the plots and/or the entries. It's pretty self explanatory. Use it to keep the chart cleared and concise so you only visualise the cases that you need.
Personally, the cases that have worked the best for me are:
- Long Cases: OC1, OC2, STB2, LTB1
- Shorting Cases: SC2, SC3
I kept this description as short as possible, but please feel free to reach out if you have any questions.
Pretty much, use the cases and see if it works for you.
OmenImproved momentum-based trading algorithm based on my previous Merlin V6 script. Adjusted trade filtering rules to improve net return and profit factor on both long and short positions.
Works best with mid time-frame Heikin-Ashi data.
Forex Master v4.0 (EUR/USD Mean-Reversion Algorithm)DESCRIPTION
Forex Master v4.0 is a mean-reversion algorithm currently optimized for trading the EUR/USD pair on the 5M chart interval. All indicator inputs use the period's closing price and all trades are executed at the open of the period following the period where the trade signal was generated.
There are 3 main components that make up Forex Master v4.0:
I. Trend Filter
The algorithm uses a version of the ADX indicator as a trend filter to trade only in certain time periods where price is more likely to be range-bound (i.e., mean-reverting). This indicator is composed of a Fast ADX and a Slow ADX, both using the same look-back period of 50. However, the Fast ADX is smoothed with a 6-period EMA and the Slow ADX is smoothed with a 12-period EMA. When the Fast ADX is above the Slow ADX, the algorithm does not trade because this indicates that price is likelier to trend, which is bad for a mean-reversion system. Conversely, when the Fast ADX is below the Slow ADX, price is likelier to be ranging so this is the only time when the algorithm is allowed to trade.
II. Bollinger Bands
When allowed to trade by the Trend Filter, the algorithm uses the Bollinger Bands indicator to enter long and short positions. The Bolliger Bands indicator has a look-back period of 20 and a standard deviation of 1.5 for both upper and lower bands. When price crosses over the lower band, a Long Signal is generated and a long position is entered. When price crosses under the upper band, a Short Signal is generated and a short position is entered.
III. Money Management
Rule 1 - Each trade will use a limit order for a fixed quantity of 50,000 contracts (0.50 lot). The only exception is Rule
Rule 2 - Order pyramiding is enabled and up to 10 consecutive orders of the same signal can be executed (for example: 14 consecutive Long Signals are generated over 8 hours and the algorithm sends in 10 different buy orders at various prices for a total of 350,000 contracts).
Rule 3 - Every order will include a bracket with both TP and SL set at 50 pips (note: the algorithm only closes the current open position and does not enter the opposite trade once a TP or SL has been hit).
Rule 4 - When a new opposite trade signal is generated, the algorithm sends in a larger order to close the current open position as well as open a new one (for example: 14 consecutive Long Signals are generated over 8 hours and the algorithm sends in 10 different buy orders at various prices for a total of 350,000 contracts. A Short Signal is generated shortly after the 14th Long Signal. The algorithm then sends in a sell order for 400,000 contracts to close the 350,000 contracts long position and open a new short position of 50,000 contracts).
Forex Master v2.0 (EUR/USD)This is version 2 of my Forex Master algorithm originally posted here:
BACKTEST CONDITIONS:
Initial equity = $100,000 (no leverage)
Order size = 100% of equity
Pyramiding = disabled
TRADING RULES:
Long entry = EMA5(RSI20) cross> 50
Profit limit = 50 pips
Stop loss = 50 pips
Short entry = EMA5(RSI20) cross< 50
Profit limit = 50 pips
Stop loss = 50 pips
Long entry = Short exit
Short entry = long exit
DISCLAIMER: None of my ideas and posts are investment advice. Past performance is not an indication of future results. This strategy was constructed with the benefit of hindsight and its future performance cannot be guaranteed.
SPY Master v1.0This is a simple swing trading algorithm that uses a fast RSI-EMA to trigger buy/cover signals and a slow RSI-EMA to trigger sell/short signals for SPY, an xchange-traded fund for the S&P 500.
The idea behind this strategy follows the premise that most profitable momentum trades usually occur during periods when price is trending up or down. Periods of flat price actions are usually where most unprofitable trades occur. Because we cannot predict exactly when trending periods will occur, the algorithm basically bets money on all trade opportunities during all market conditions. Despite an accuracy rate of only 40%, the algorithm's asymmetric risk/reward profile allows the average winner to be 2x the average loser. The end result is a positive (profitable) net payout.
TRADING RULES:
Buy/Cover = EMA3(RSI2) cross> 50
Sell/Short = EMA5(RSI2) cross< 50
BACKTEST SETTINGS:
- Period = March 2011 - Present
- Initial capital = $10,000
- Dividends excluded
- Trading costs excluded
PERFORMANCE COMPARISON:
There are 657 trades, which means 1,314 orders. Assuming each order costs $2 (what I pay for at Interactive Brokers), total trading costs should be $2,628.
-SPY (buy & hold) = 132.73 ---> 193.22 = +45.57% (dividends excluded)
-SPY Master v1.0 = $12,649 - $2,628 = $10,021 = +100.21%
DISCLAIMER: None of my ideas and posts are investment advice. Past performance is not an indication of future results. This strategy was constructed with the benefit of hindsight and its future performance cannot be guaranteed.