1. AutoBots Trading - BACKTEST: RSIBACKTEST: Relative Strength Index - RSI
1. Description: entry point The relative strength index ( RSI ) is a momentum indicator used in technical analysis that measures the magnitude of recent price changes to evaluate overbought or oversold conditions in the price of a stock or other asset. The RSI is displayed as an oscillator (a line graph that moves between two extremes) and can have a reading from 0 to 100. The indicator was originally developed by J. Welles Wilder Jr. and introduced in his seminal 1978 book, "New Concepts in Technical Trading Systems."
2. Strategy rules: defined based on the component, signal count, entry prices, open order count, position check, position averages, conditional closes and close signals.
3. Risk management: system was defined based on the choice of only long, only short or both sides. Defining the choice of take profit, stop loss and trailing stos (no repaint).
4. Symbol: IBOV (only)
5. Suggested Timeframe: 4H
6. Parameter for optimization: 3, 40, 65, side: both, tp: 4%, sl: 2%, ts: na
7. Walk forward simulation
7.1. In sample period: jan/2018-jan/2020
7.2. Out of sample period: jan/2020 - ago/2020
** For purpose educate only
Osilatörler
ADX | DMI Trend StrategyThis strategy takes the ADX Indicator I wrote and applies it to a strategy for back testing purposes.
I've also applied a date filter so you can back test specific date ranges and a moving average filter so you can choose whether to filter your longs/shorts based on a moving average.
vertex reversal indicator (lirshah)vertex reversal strategy has been written based on vertex reversal indicator, this new indicator is a combination of three different indicator: Momentum, Moving Averages and Bollinger Bands.
this strategy has been written based on current bar calculation so no repainting occurs.
in order to access script contact me directly.
CryptOutsider's StrategyDear Tradingview user,
The present script is a BTC strategy backtest tool based on a proprietary algorithm. The performance calculated (blue on the graph) is compared to a "Buy and Hold" position (red on the graph). You can also compare it with other published strategies or even your own one !
It works with buy/sell signals of an oscillator calculated with both price and volume, evaluating accumulation and distribution over a period.
Please use the ticker COINBASE:BTCUSD, on a 4h resolution (or it won't work).
By default the following conditions used are :
Relative part of equity invested per trade : 10 %
Initial capital : 100 $
Leverage : x10
Commission fees : 0,1%
Slippage : 5 ticks
Feel free to change it in order to reflect your commission or slippage conditions on the strategy's panel (double click on the equity curve or the configuration button). Conditions can also be changed in order to improve performance while seeking a bearable drawdown (speaking of which, a relative part equity could be increased up to 30% with an acceptable drawdown).
Starting and finishing dates for the backtest can also be changed in the panel.
All the best using the strategy !
CryptOutsider
Remark : The backtesting timeframe is partial as the very last week is not available.
VK trend scalper 30mThis strategy is designed to be used on the 30 minute time frame
In this strategy, I actually implemented my own scalping style into building the strategy. Having to replicate my own trading strategy into an algorithm, I can't make it exactly perfect to how I would trade, but what I can do is try and program the parameters that give it the absolute best chance of making a big move with a small drawdown- which replicates part of my trend trading style. Here I am using VWMA , EMA and trend filtering values to find trend change and best entries.
you can also try it on any cryptocurrency/forex/commodity/stocks
*This script is currently experimental you can try it if you want.
RSI W Pattern strategyThis strategy is similar to RSI V pattern strategy, but it looks for W pattern in RSI chart.
RULES
======
BUY
1. ema20 is above ema50
2. RSI5 crossing up 30 from oversold area
3. and RSI5 must be below overbought area (default value set to 65)
Add to existing Position
1. You can add on the next W pattern OR
2. if RSI5 is crossing up from below 20
Exit
1. when RSI5 reaches 75
Note: This is for short term/swing trading . which gets on when price dip in trending and quickly gets you out on RSI overbought area
TSI CCI Hull with profit$$$This is a modified version of @SeaSide420 TSI CCI Hull with profits exit on long and short order
ORIGINAL SCRIPT:
/// /// feel free to edit/improve and comment
Swing trading StrategyThis indicator based on capturing historical swing. It predicts future swing based on historical swing data. This is very useful for short term swing trading and gives best result on 30 minute chart.
Volume Based Buy/SellThis is my very first scrip on this platform. It's the first version of the script, It works on the volume-based moving averages and exponential moving average.
I have added the buy/sell signals for educational purposes only. While adding the buy/sell signal I have an additional check on the strength of the trend to reduce loss to a minimum.
How to use:
1. Use with Heikin Ashi Chart.
2. Use 15 Min timeframe for intraday.
Some improvements I am working in the near future is:
1. Exit tread with the maximum profit.
2. Reduce down false trad to 0%.
To encourage and support please like the script try using for your own paper trading.
Dont forget to leave a comment on if you see any improvement in the script or any idea you have. Happy treading together.
UO StrategyStrategy is based on UO and its derivatives.
Quite fast to price changes and flexible to different time frames considering risk management.
I had many versions of UO strategy, but so far this one is the safest.
RSI Divergence X Ichimoku Cloud X 200EMAHi all,
This script is a combination of the RSI Divergence Strategy combined with Ichimoku Cloud and 200 EMA .
A long position is entered only when the RSI identifies a bullish divergence (either regular or hidden), and that the Ichimoku Cloud is above the 200 EMA . This is to ensure that there is a confirmation of a bullish trend before an entry.
Similarly, a short position is entered only when the RSI identified a bearish divergence (either regular or hidden), and that the Ichimoku Cloud is below the 200 EMA . This is to ensure that there is a confirmation of a bearish trend before an entry.
I find that this script works best on Intraday charts.
This is just a simple script I built on my third attempt of backtesting strategies on TradingView. Do give it a go and let me know if you guys have any feedback or comments about it. Happy trading!
MACD Bull Crossover and RSI Oversold 5 Candles Ago-Long StrategyHello everyone, I've been having a great time perfecting this strategy for a few weeks now. I finally feel like it's time to release it to the public and share what I have been working on.
This strategy only enters a long trade when the MACD crosses over the signal line and the RSI was oversold looking back 5 candles ago. The logic behind this is to wait for RSI to enter the oversold territory, and then when the market starts to recovery the MACD will crossover telling us the sell off is over.
This strategy will close once these 2 conditions are met.
1. MACD Histogram is above 0 and MACD crosses under the signal line.
2. RSI was overbought 5 previous candles ago.
In the strategies settings, you'll be able to enable visual stop-loss and profit levels and change those levels to what you like, enable up to 5 EMA'S,
ADDONS That Affect Strategy:
* Enable visual stop-loss and profit levels as soon as a buy signal is triggered.
* Modify stop-loss and profit levels.
* Modify RSI oversold and RSI overbought levels.
* Modify MACD Fast and Slow moving average.
ADDONS That Do Not Affect Strategy:
* Enable up to 5 EMA's. (This will not affect strategy, and is the only purpose is for people who like following EMA's.)
Thank you for taking the time to try my strategy. I hope you have the best success. I will be making a short strategy, and alerts for this strategy soon. Follow me for updates!
Systematic Momentum strategy v 1.0Systematic Momentum strategy v 1.0
This is a long-only strategy optimized taking into consideration the underlying's momentum and volatily.
Long story short it opens positions when the momentum is highest and the risk is lowest and closes the same position when the risk-to-reward is no longer optimal.
How to use:
-> To be used on an Index or a tracker ETF
-> Position sizing should be set up to 100% of the portfolio
Dark strategy 1this strategy for bitcoin only on 30 min
you can use it by adjusting the entry values
this is based on ichimoku kinko hyo cloud and RSI
use ichimoku kinko hyo cloud for jumps and full
and use RSI in Oscillating situation
by your comment about it make we be aware of your idea
Combo Backtest 123 Reversal & Elder Ray (Bear Power) 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
Developed by Dr Alexander Elder, the Elder-ray indicator measures buying
and selling pressure in the market. The Elder-ray is often used as part
of the Triple Screen trading system but may also be used on its own.
Dr Elder uses a 13-day exponential moving average (EMA) to indicate the
market consensus of value. Bull Power measures the ability of buyers to
drive prices above the consensus of value. Bear Power reflects the ability
of sellers to drive prices below the average consensus of value.
Bull Power is calculated by subtracting the 13-day EMA from the day's High.
Bear power subtracts the 13-day EMA from the day's Low.
You can use in the xPrice any series: Open, High, Low, Close, HL2, HLC3, OHLC4 and ect...
WARNING:
- For purpose educate only
- This script to change bars colors.
Patron04 TOFF MACD DEMA StrategyI prepared the macd dema indicator made by Toff as a startegy test. There is another strategy like this. But the process is opened according to the intersection of macd and signal. But the difference between my test is this. Macd is testing according to the intersection of 0 value. Macd sells 0 when cut down, buying when 0 cuts down
Toff's Macd dema:
EMA(Rsi,length) Strategy onEMAのソースをRsi、期間をlenght(=デフォルトでは5)としたもの作成しました。
作成したものはデフォルトで黄色で表れております。
インジケーター上の緑色は、通常のRSIです
作成した際に参考にした足と通貨
5分足のUSDJPYとEURUSD
主にデイトレ目線で作っております。
デフォルト設定では
"EMAが75を上抜け、または25を下抜けた際に逆張りでエントリーをするもの"
として作成しております。
◎利確と損切りの幅ならびにインジケーター上の水平線は変更可能となっており、変更後はストラテジーテスターの各値も付随して自動変更します。
設定画面の各項目
RSI : 一般的なRSIの終値に対しての期間(デフォルトでは14)
Length : EMAでの期間をlengthとしております(デフォルトでは5)
up、downはインジケーター表示上のデフォルトでの75と25の水平線の位置
shortprofit,shortloss : ショートで入るとした場合の利確と損切りの長さ。(longprofit,longlossについても同様)
なおショートのポジションを持っている際にロングのポジションエントリーポイントに入った際は、持ってるショートのポジションは手仕舞いし、新たなロングのみポジションをもつようになっております。
免責事項ならびにお願い:上記の様に、各値、ならびにストラテジーテスターを設定しているつもりですが、プログラミングの入力ミスなどがある場合がございます。お知らせいただけますと幸いです。
また、投資をする際はご自身の責任と判断にて投資をなさるようお願いいたします。
TFs Double Stochastic StrategyThe Strategy script uses Stochastic indicators for entering and exiting a position.
How to use
The strategy works with most timeframes and instruments.
I'm also providing a "study" version of this script, which can be used for automation of the strategy via alerts.
The script is using a default commission of 0.075% which reflects Bitmex' Taker-Fees. This is just a default and can be modified in the strategy settings for each instrument individually.
List of parameters
"Stochastic Length" ... Number of bars for Stochastic indicators
"Stochastic Overbought" ... Stochastic overbought level
"Stochastic Overbought Down Trend" ... Stochastic overbought level for down trends
"Stochastic Oversold Up Trend" ... Stochastic oversold level for up trends
"Stochastic Oversold" ... Stochastic oversold level
"Stochastic Smooth K" ... Stochastic K smoothing
"Stochastic Smooth D" ... Stochastic D smoothing
"MA Filter Enabled" ... Enable an additional filter for entering a position; the entries only follow the overall trend
"Fast Period" ... Fast filter period
"Slow Period" ... Slow filter period
"Backtest ..." ... Backtest timeframe; area outside this timeframe will be grayed out
How to access
This strategy is a "Invite Only" script. Please use the link below or send me a message via Tradingview to obtain access to the strategy and study script.
For enabling the script in your Tradingview chart window, click on "Indicators" and select "Invite-Only Scripts".
E.B. INVERSE CROSSING MOVING AVERAGE - RSIThis strategy uses the EMAs 10, 20 and 200.
When the EMA 10 is above EMA 100 and crossunder EMA 20, the strategy will buy the stock. The RSI must be under BuyLevel
When the EMA 10 is under EMA 100 and crossover EMA 20, the strategy will sell the stock. The RSI must be above SellLevel
When the RSI crossunder the BuyLevel, the Buy transaction will be closed.
When the RSI crossover the SellLevel, the Sell transaction will be closed.
If during a buy/sell transaction the EMA 10 crosses EMA 100, the transaction will be closed too.
You can adapt the EMA's value and RSI's value.
Just DM to me for access!!
RSI5_50 with DivergenceThis is variation of RSI Divergence strategy.
I have added a filter (long term RSI) to the Rules. strategy BUYs when RSI 50 period is above 50 line and there is divergence on the short term RSI
settings
=========
short term RSI period 5
long term RSI period 50
stopLoss is 8% --- if setting is enabled
BUY Rule
========
RSI 50 is above 50 line
short term RSI is showing divergence
Add to existing
==============
if already in position, BUY when shorTermRSI is crossing above 20
TakeProfit
=========
when longTermRSI reaches 60,65, 70 and 75 level , take partial profits .
(not when crossing down --- This may affect on profits , because when price goes down , it goes very fast )
Exit
=====
when longTermRSI is crossing down 30
OR stopLoss value hits
Note: When I tested this with GOOGL stock , I have got excellent results ... any experts there , please check everything is good with scripting ...
Happy Trading
Master Trend StrategyStrategy for the Master Trend indicator. The screen shows a strategy with a deposit of 100 USD. By default, the strategy is STOP TREND. You can setup the strategy to MAIN TREND, if check off "Use stop" and "Use take 1 amount". Default strategy set stop by market when price reached first take and close by revert signal. MAIN TREND strategy trade from signal to signal use deep first take. Adjusting the settings you can create you own strategy.
This strategy has slippage equal 20 and commission 0.02% like on most of exchanges.
Can I get access?
Use the link below to obtain access to this indicator.
RSI V Pattern strategyThis strategy based on RSI for swing trading or short term trading
Strategy Rules
=============
LONG
1. ema20 is above ema50 --- candles are colored green on the chart
2. RSI value sharply coming up
previous candle1 low is previous candle2 low and previous candle1 RSI value is less than previous candle2
current candle RSI value is greater than previous candle1 and crossing above 30
above which makes a V shape on RSI indicator, colored in yellow on the chart , price bar is colored in yellow
3. Enter Long when the above V pattern occurs
EXIT LONG
1. when the RSI reaches 70 , close half position and move stop loss to up
2. when RSI reaches high value 90, close 3/4 position
3. when RSI crossing below 10 OR stopLoss hit , whichever happens first , close whole position
Note : take profit levels are colored in blue on RSI and Price candles
I have tested SPY , QQQ on daily chart , performance results are with 80% win rate and more than 3 profit factor
Happy Trading