RSI MACD with conditional MA indicator backtestingbacktesting for the RSI MACD with conditional MA indicator:
M-oscillator
Noro's Shift Close Strategy v1.0It is Noro's Shift MA strategy, but looks as the oscillator. Positions open at the time of closing of a candle. Not the limit order. It is possible to use a pyramiding.
DPD+STOCH RSI +RSI Combination of DPD ,STOCHRSI and RSI indicators. Be careful for percantage selection to fit your candle size.
Vortex Ocillator - backtestingbacktesting strategy for the vortex oscilator indicator, slightly modified on this version so that the buy and sell signals work with the backtesting and are consistant
original idea i posted by accident
the script with alerts
not intended to be financial advice, strategy is for made for testing
Biffy
APEX - Tester - Buy/Sell Strategies - Basic - BACKTESTERThis is a upgraded version of the following study.
This is a simple Strategy for backtesting your APEX trading ideas.
Be aware that the results will not be exact same as with apex bot.
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.
Upper Timeframe - Repaint FixThis script is a proof of concept and one possible solution for how to deal with upper timeframe repainting issues. It works for Strategies only .
Strategies that utilize data from upper timeframes can still be subject to repainting issues when forward testing. Users can copy the code and use a similar solution in your own scripts.
For full code commentary, explanations and examples visit the backtest-rookies (.com) website.
[BoTo] RSI Trend StrategyOpen source code.
It is very old trade strategy. It is older than you :) Uses the RSI indicator. The RSI indicator has described Welles Wilder in the book in 1978. And all this is still profitable!
Additional articles
1. en.wikipedia.org
2. en.wikipedia.org
3. www.tradingview.com(RSI)
How it works
Step 1. The user chooses length for RSI
Step 2. If RSI is more than 50, then it is a uptrend and the long position opens. It is necessary to close a short position if it is opened earlier.
Step 3. If RSI is less than 50, that is a downtrend and the short position opens. It is necessary to close a long position if it is opened earlier.
Well is suitable for the market of cryptocurrencies. Well length from 3 to 7 approaches. Don't use length 14 because for cryptocurrencies it is too much. Cryptocurrencies it is very volatile market. You can also use the RSI indicator which is built in on TradingView.com.
MACD DEMA STRATEGY A strategy based on ToFFF MACD DEMA indicator
Even so , ı dont recommended using MACD DEMA alone.
Combine its code with your favorite indicators.
You can visit ToFFF's indicator :
RSI+STOCHRSI v2RSI + STOCHASTIC RSI combination v2 ( for v1 )
For 5 min
Changes
Stcoh RSI creates signal with crossover
RSI created signal with an equation ( above or below the line) ,crossover was added.
MTF stochastic strategyThis strategy is based on MTF strategy found on Forex Factory forum and published by bobby2 (credits to him).
This is quite simple but need improvement to work properly:
1- it is made for 5 min chart
2- when 15min stochastic cross above 50 and 5min stochastic is rising, buy
3- when 15min stochastic cross below 50 and 5min stochastic is falling, sell
Moving Average Convergence/Divergence MaCD BackestingMade this to backtest simple macd trading strategy, had to set it to open long and short positions because i'm not sure how you get it to calculate otherwise.
RSI+STOCHRSI StrategyRSI + STOCHASTIC RSI combination . It is useful for 5 min charts .
Profitable in EOS/BTC and BTC/USDT , don't apply all cryptocurrency.
ChannelBreakOutStrategyV2.1This is the basic strategy that uses the price breakout of BollingerBands.
BB%/MFI/RSIThe indicator was made by a bear. I have made strategy which uses this indicator.
For any pair.
basic fixed fraction strategyOne of the most common trading strategy is to invest a certain percentage in an asset, and keep the percentage fixed. For example you invest 2% in a stock, and as the value goes up you sell. And as the value goes down you buy. Always trying to keep the value of how much you have invested in that asset at 2%.
This works very well with assets that are stable. If you have something that fluctuates around a value, you will find yourself that each time it has gone back to the value in which you entered, you have actually gained something. With an asset that grows it also works. But in general you might find that more aggressive investments are more profitable. On the other side if there is a bubble, and you invest from the beginning using this strategy you will find yourself at the end of the bubble having gained something. Not as much as having bought all at the beginning and having sold all at the end, but still you will have sold going up, and bought going down. Plus you will have gained in the fluctuation.
Where is instead very dangerous is in stock and assets that go to zero. This because you might invest just 2% in an investment. But then as the strategy works you keep investing more as you are trying to keep 2%. You basically can lose all your money in this way (like if you were invested 100% in an asset). Very dangerous. This is why you should only use this with assets that you are sure cannot go to zero (an ETF on S & P 500 could be a good example).
So I coded this strategy on TradingView. basically it will ask you what percentage you want to invest. Then starts with entering with an order of that amount, and will then keep sitself at the same percentage. The system is discrete, as it can only buy a discrete number of contract.
Note that if you use this for cryptocurrency (where you can buy a fraction of a coin, like 0.01 btc) then you should multiply the money that you have by 10, 100, 1000 ... depending on how many digits after the comma your exchange permit you to trade.
If you are using this for forex or crypto it is quite easy that the number of order will explode. As such I added the date range taken from Allanster great script
One way to use Fixed Fractioning is to calculate the Kelly Index of an asset (which will give you a percentage), and then invest half or a quarter of the kelly in that coin, and then keep this fixed.
Another way (which goes well beyond what this script can do alone) to use the Fixed Fractioning is, if you have two assets that are anticorrelated (has a negative correlation), then investing a certain percentage of your capital in one and another percentage in another. And then each time one goes up (and the other goes down) you sell the one that is going up, and buy the one that is going down to keep the percentages fixed.
Something else, it is pretty common for people to invest around 80% of their money in an ETF that follows tha S&P500. This is why here we use 80%. Generally I have seen a more common investment strategy to be around 2%.
As everybody says: I am not responsible for your money. Study before investing.
Ehlers-Smoothed Stochastic RSI StrategyI have been asked by several people for a Strategy based on the ES Stoch RSI Alert so here it is. The strategy has an adjustable backtest date range so that you can adjust the test time period to whatever you like. This strategy is based on a script by fskrypt.