Smoothed RSI Backtest This is new version of RSI oscillator indicator, developed by John Ehlers.
The main advantage of his way of enhancing the RSI indicator is smoothing
with minimum of lag penalty.
You can change long to short in the Input Settings
WARNING:
- For purpose educate only
- This script to change bars colors.
M-oscillator
SMI Ergodic Oscillator Backtest ver.2 The SMI Ergodic Indicator is the same as the True Strength Index (TSI) developed by
William Blau, except the SMI includes a signal line. The SMI uses double moving averages
of price minus previous price over 2 time frames. The signal line, which is an EMA of the
SMI, is plotted to help trigger trading signals. Adjustable guides are also given to fine
tune these signals. The user may change the input (close), method (EMA), period lengths
and guide values.
You can use in the xPrice any series: Open, High, Low, Close, HL2, HLC3, OHLC4 and ect...
WARNING:
- For purpose educate only
SMI Ergodic Oscillator Strategy ver.2 The SMI Ergodic Indicator is the same as the True Strength Index (TSI) developed by
William Blau, except the SMI includes a signal line. The SMI uses double moving averages
of price minus previous price over 2 time frames. The signal line, which is an EMA of the
SMI, is plotted to help trigger trading signals. Adjustable guides are also given to fine
tune these signals. The user may change the input (close), method (EMA), period lengths
and guide values.
You can use in the xPrice any series: Open, High, Low, Close, HL2, HLC3, OHLC4 and ect...
WARNING:
- For purpose educate only
SMI Ergodic Oscillator Backtest The SMI Ergodic Indicator is the same as the True Strength Index (TSI) developed by
William Blau, except the SMI includes a signal line. The SMI uses double moving averages
of price minus previous price over 2 time frames. The signal line, which is an EMA of the
SMI, is plotted to help trigger trading signals. Adjustable guides are also given to fine
tune these signals. The user may change the input (close), method (EMA), period lengths
and guide values.
You can use in the xPrice any series: Open, High, Low, Close, HL2, HLC3, OHLC4 and ect...
You can change long to short in the Input Settings
WARNING:
- For purpose educate only
- This script to change bars colors.
RSI based on ROC Backtest This is the new-age indicator which is version of RSI calculated upon
the Rate-of-change indicator.
The name "Relative Strength Index" is slightly misleading as the RSI
does not compare the relative strength of two securities, but rather
the internal strength of a single security. A more appropriate name
might be "Internal Strength Index." Relative strength charts that compare
two market indices, which are often referred to as Comparative Relative Strength.
And in its turn, the Rate-of-Change ("ROC") indicator displays the difference
between the current price and the price x-time periods ago. The difference can
be displayed in either points or as a percentage. The Momentum indicator displays
the same information, but expresses it as a ratio.
You can change long to short in the Input Settings
WARNING:
- For purpose educate only
- This script to change bars colors.
Relative Volatility Index Backtest The RVI is a modified form of the relative strength index (RSI).
The original RSI calculation separates one-day net changes into
positive closes and negative closes, then smoothes the data and
normalizes the ratio on a scale of zero to 100 as the basis for the
formula. The RVI uses the same basic formula but substitutes the
10-day standard deviation of the closing prices for either the up
close or the down close. The goal is to create an indicator that
measures the general direction of volatility. The volatility is
being measured by the 10-days standard deviation of the closing prices.
You can change long to short in the Input Settings
WARNING:
- For purpose educate only
- This script to change bars colors.
Relative Momentum Index Backtest The Relative Momentum Index (RMI) was developed by Roger Altman. Impressed
with the Relative Strength Index's sensitivity to the number of look-back
periods, yet frustrated with it's inconsistent oscillation between defined
overbought and oversold levels, Mr. Altman added a momentum component to the RSI.
As mentioned, the RMI is a variation of the RSI indicator. Instead of counting
up and down days from close to close as the RSI does, the RMI counts up and down
days from the close relative to the close x-days ago where x is not necessarily
1 as required by the RSI). So as the name of the indicator reflects, "momentum" is
substituted for "strength".
You can change long to short in the Input Settings
WARNING:
- For purpose educate only
- This script to change bars colors.
Simply Stochastic Backtest This back testing strategy generates a long trade at the Open of the following
bar when the %K line crosses up UpBand line.
It generates a short trade at the Open of the following bar when the %K line
crosses down DownBand line.
You can change long to short in the Input Settings
WARNING:
- For purpose educate only
- This script to change bars colors.
The Pivot Detector Oscillator Backtest The Pivot Detector Oscillator, by Giorgos E. Siligardos
The related article is copyrighted material from Stocks & Commodities 2009 Sep
You can change long to short in the Input Settings
WARNING:
- For purpose educate only
- This script to change bars colors.
PFE (Polarized Fractal Efficiency) Backtest The Polarized Fractal Efficiency (PFE) indicator measures the efficiency
of price movements by drawing on concepts from fractal geometry and chaos
theory. The more linear and efficient the price movement, the shorter the
distance the prices must travel between two points and thus the more efficient
the price movement.
You can change long to short in the Input Settings
WARNING:
- For purpose educate only
- This script to change bars colors.
MACD Strategy- Script Example how to use % SL in your script ** Tired of Script showing a trade that you stopped out on but is still long on your script? Not any more**
I used Pine script to create realistic trading scenarios for SL users. Now your scripts will reflect what you see on the order book.
a=0.0
a := (*Insert buy condition*)? close: nz(a )
plot(0.98*a, color= green) //2%SL for BUY
b=0.0
b:= (*Insert Short condition*) ? close: nz(b )
plot(1.02*b, color= red) //2% SL for Short
Please check the script on how to implement this :)
Percentage Volume Oscillator (PVO) Backtest The Percentage Volume Oscillator (PVO) is a momentum oscillator for volume.
PVO measures the difference between two volume-based moving averages as a
percentage of the larger moving average. As with MACD and the Percentage Price
Oscillator (PPO), it is shown with a signal line, a histogram and a centerline.
PVO is positive when the shorter volume EMA is above the longer volume EMA and
negative when the shorter volume EMA is below. This indicator can be used to define
the ups and downs for volume, which can then be use to confirm or refute other signals.
Typically, a breakout or support break is validated when PVO is rising or positive.
You can change long to short in the Input Settings
WARNING:
- For purpose educate only
- This script to change bars colors.
Overbought/Oversold Simple Overbought/Oversold indicator
You can change long to short in the Input Settings
WARNING:
- For purpose educate only
- This script to change bars colors.
Bat MACDWorks on Bullish divergence indicators and is identical to MACD during an uptrend, works best on 2H or higher timeframes.
Incorporates a SL which can be changed at will. SL is also used as a buy signal on lower timeframe crossovers.
Uses 6H MACD to differentiate between up and downtrends.
Recommend to take profits at pivots, trendlines instead of strategy's position which is delayed.
Signals on downtrend best used when SL is flat.
WavefinderI made this script to incorporate Stochastic RSI with EMA crossovers and VMACD, it is only to buy and sell (Users can modify it create shorts)
I personally recommend only using this when a downtrend reversal is imminent as it finds the bottom well. Signals generated on a downward moving StochRSI must be ignored. Used best with StochRSI and VMACD indicators.
Thanks to VMACD indicator by Lazy bear.
Use at your own discretion.
The strategy has not been tested in realtime trading, feel free to provide feedback upon use or tracking signals.
Strategy is timeframe dependent (Best at 30min, 2H and 4H) and incorporates risk management.
Modify it according to your wish, I'm just floating an idea which others can improve on.
Current equity usage is 10k and number of contracts is a quotient of the equity and price (adjusted so that all cryptos can be equally compared)
P.S - Also publishing this to make up for the repainting let down on the previous strategies, tried my best on this one.
*version3 used no repaints
Laguerre-based RSI Backtest This is RSI indicator which is more sesitive to price changes.
It is based upon a modern math tool - Laguerre transform filter.
With help of Laguerre filter one becomes able to create superior
indicators using very short data lengths as well. The use of shorter
data lengths means you can make the indicators more responsive to
changes in the price.
You can change long to short in the Input Settings
WARNING:
- For purpose educate only
- This script to change bars colors.
Godmode strategyStill have no Idea how to avoid spam entrys on sideways or low difference price moves.
It's my first script, so if you have any idea how make it's better - let me know
Use it with Ashi, 15m.
░S░k░e░w░e░r░ ░S░e░w░e░r░This is a 10-day Skew Strategy on v2.
The strategy:
You go long in negative skew because the data looks like its leaning forward like a bull.
You sell when the skew is positive because it looks like energy decay.
notes:
It might be more responsive using the median instead of ema?
I'm not good with v3 yet.
Don't PM for code help. Click the Help documents.
Cowabunga System from babypips.comPlease do read the information below as well, especially if you are new to Forex.
The Cowabunga System is a type of Mechanical Trading System that filters trades based on the trend of the 4 hour chart with EMAs and some other familiar indicators (RSI, Stochastics and MACD) while entering trades base on 15 minute chart.
I have coded (quite amateurishly) the basic system onto a 15 minute chart (the 4 hour settings are coded as well). The author says the system is to be traded off the 15 minute chart with the 4 hour chart only as a reference for trend direction.
4 Hour Chart Settings
5 EMA
10 EMA
Stochastics (10,3,3)
RSI (9)
Then we move onto the 15 minute chart, where he gives us the trade entry rules.
15 Minute Chart Settings
5 EMA
10 EMA
Stochastics (10,3,3)
RSI (9)
MACD (12,26,9)
Entry Rules - long entry rules used, obviously reverse these for shorting.
1. EMA must cross above the 10 EMA.
2. RSI must be greater than 50 and not overbought.
3. Stochastic must be headed up and not be in overbought territory.
4. MACD histogram must go from negative to positive OR be negative and start to increase in value.
What I did.
1. Set the RSI and Stochastic levels to avoid entries when they indicate overbought conditions for long and oversold conditions for short (80 and 20 levels).
2. Users can input specific times they want to backtest.
3. User's can configure profit targets, trailing stops and stops. Default is set it to was 100 pips profit target with a 40 pip trailing stop. (Note, when you are changing these values, please note that each pip is worth 10, so 100 pips is entered as 1000.)
The Cowabunga System from babypips.com is another popular and active system. The author, Pip Surfer, continues to post wins and losses with this system. It shows there is a lot of honesty and integrity with this system if the author keeps up to date even 10 years later and is not afraid of sharing the times the system causes losses.
As an example of this, here is post he shared just last week . It's almost like a journal, he gives specific times and reasons why he entered, lets the readers know when he was stopped out, etc. I think that what he does is equally important as his system.
To read more about this system, visit the thread on babypips.com, click here.
How to automate this strategy for free... Version 2Hello fellow traders and automation lovers.
It has been about 2 years since we originally created Autoview to connect your exchanges/brokers with your TradingView alerts. We've since added multiple exchanges, parameters and have built a large community filled with awesome, passionate traders.
One of the first strategies we built was sadly not a viable one for trading due to it using built-in variables that resulted in the backtest results being inaccurate in comparison to placing live trades. Luckily, we did not encounter repainting until a few strategies in, however, there was a point where we published a few of them as well. We will be going through all of our scripts again to not only eliminate any repainting and update to version 3, but to also include all the code snippets that we've learned to use over the years that allow for accurate backtesting and live trading.
The first script we are redoing is our How to automate this strategy for free using a chrome extension. .
Easter egg: This includes a new snippet of code that makes controlling how many orders you pyramid within a study fast and easy.
We look forward to bringing all of our scripts and delving deep into Pine again :)
Happy Trading
Autoview
rsi+bb stadded BB in rsi .
if rsi touch green, sell.
if rsi touch red, buy.
also it has stop-loss function.
FX Sniper: T3-CCI Strategy Backtest This simple indicator gives you a lot of useful information - when to enter, when to exit
and how to reduce risks by entering a trade on a double confirmed signal.
You can use in the xPrice any series: Open, High, Low, Close, HL2, HLC3, OHLC4 and ect...
You can change long to short in the Input Settings
Please, use it only for learning or paper trading. Do not for real trading.
Bill Williams. Awesome Oscillator (AC) Strategy Backtest This indicator plots the oscillator as a histogram where blue denotes
periods suited for buying and red . for selling. If the current value
of AO (Awesome Oscillator) is above previous, the period is considered
suited for buying and the period is marked blue. If the AO value is not
above previous, the period is considered suited for selling and the
indicator marks it as red.
You can make changes in the property for set calculating strategy MA, EMA, WMA
Please, use it only for learning or paper trading. Do not for real trading.