Chaikin Volatility Strategy Backtest Chaikin's Volatility indicator compares the spread between a security's
high and low prices. It quantifies volatility as a widening of the range
between the high and the low price.
You can use in the xPrice1 and xPrice2 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.
Strategy
CCI Strategy Reversed Backtest The Commodity Channel Index (CCI) is best used with markets that display cyclical or
seasonal characteristics, and is formulated to detect the beginning and ending of these
cycles by incorporating a moving average together with a divisor that reflects both possible
and actual trading ranges. The final index measures the deviation from normal, which indicates
major changes in market trend.
To put it simply, the Commodity Channel Index (CCI) value shows how the instrument is trading
relative to its mean (average) price. When the CCI value is high, it means that the prices are
high compared to the average price; when the CCI value is down, it means that the prices are low
compared to the average price. The CCI value usually does not fall outside the -300 to 300 range
and, in fact, is usually in the -100 to 100 range.
You can change long to short in the Input Settings
Please, use it only for learning or paper trading. Do not for real trading.
USO - Adam Smith - Moving Average Cross StrategySimple Moving Average strategy for USO - United States Oil Fund . This strategy can be used on stocks and currencies but will need to tweak frequency on chart and backtest Max Draw Down to Net Profit ratios for maximum dollar gains.
Breakout Range Short Strategy BacktestBreakout Range Short Strategy
You can change long to short in the Input Settings
Please, use it only for learning or paper trading. Do not for real trading.
Breakout Range Long Strategy Backtest Breakout Range Long Strategy
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.
Bandpass Filter Reversed Strategy BacktestThe related article is copyrighted material from
Stocks & Commodities Mar 2010
You can use in the xPrice any series: Open, High, Low, Close, HL2, HLC3, OHLC4 and ect...
Please, use it only for learning or paper trading. Do not for real trading.
Average True Range Reversed Strategy Average True Range Trailing Stops Strategy, by Sylvain Vervoort
The related article is copyrighted material from Stocks & Commodities Jun 2009
Please, use it only for learning or paper trading. Do not for real trading.
JC_MacD_RSI_Candle_Strat_public//
// Author : Jacques CRETINON
// Last Version : V1.0 11-22-2016
//
// Risk disclaimer : Do not use this script in production environment. We assume no liability or responsibility for any damage to you, your computer, or your other property, due to the use of this script.
//
// Purpose of this script :
// 1- use same pine code for strategy or study script (with simple modifications)
// 2- be able to send alerts : enterlong, entershort, exitlong, exitshort, stoplosslong, stoplossshort, takeprofitlong, takeprofitshort in a study script like a strategy script should do
// 3- do not repaint (I HOPE)
//
// RoadMap :
// 1- manage : Trailing Stop Loss and Trailing Stop Loss offset
//
// I use this script :
// 1- with default value for XAUUSD, current chart resolution : 1mn, large timeframe : 15mn.
// 2- That's why I hard code MACD5 (5mn average), MACD15 (15mn average), MACD60 (1h average) ...
// 3- MACD, RSI (1mn and 15mn) and Candles info are my inputs to take any decisions
//
// I do not publish my enterLong, enterShort, exitLong and exitShort conditions (lines 204 to 207 are sample !) as they are not as perfect as I'd like. Fell free to use your own conditions :)
//
// Please, report me any bug, fell free to discuss and share. English is not my natural language, so be clement ;) Happy safe trading :)
3-Bar-Reversal-Pattern Strategy Backtest This startegy based on 3-day pattern reversal described in "Are Three-Bar
Patterns Reliable For Stocks" article by Thomas Bulkowski, presented in
January, 2000 issue of Stocks&Commodities magazine.
That pattern conforms to the following rules:
- It uses daily prices, not intraday or weekly prices;
- The middle day of the three-day pattern has the lowest low of the three days, with no ties allowed;
- The last day must have a close above the prior day's high, with no ties allowed;
- Each day must have a nonzero trading range.
Please, use it only for learning or paper trading. Do not for real trading.
1-2-3 Reversal Backtest StrategyThis is backtesting script.
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.
Normalized MACD (v420) strategyNormalized MACD but heavily modified for example hullMA instead of EMA
the strategy
Stealthy7 Bayes Conditional RSI Trader StrategyWhat does it do?
This script checks whether RSI movement affects future price.
Trades when probability increases or decreases.
Developed for daily(D) bars and Bitcoin. This script is just a toy and for educational use.
Please rent my bots at cryptotrader.org/?r=51
[STRATEGY][UL]Price Divergence Strategy v1.0Created by Request: This is a trend trading strategy that uses Price Divergence detection signals that are confirmed by the "Murrey's Math Oscillator" (Donchanin Channel based).
Strategy Code Based on:
Price Divergence Detector V2 by RicardoSantos
UCS_Murrey's Math Oscillator by Ucsgears
Strategy Risk Management Based on:
Strategy Code Example by JayRogers
Information on Divergence Trading:
- www.babypips.com
*** USE AT YOUR OWN RISK ***
Narrow Range + Inside Day, Short Only Strategy (by ChartArt)This short only strategy determines when there is both a NR7 (narrow range 7, a trading day in which the range is narrower than any of the previous six days), plus a inside day (high of the current day is lower than the high of the previous day and the low of the current day is higher than the low of the previous day) both on the same trading day and enters a short trade when the close is lower than the open and the slope of the simple moving average is downwards, too.
The strategy closes the short trade next time the daily close is lower than the open in any of the next trading days. In addition the NR7ID can be colored (the color is red when the close is lower that day than the open, else the color is green) and the SMA can be drawn with a color based on the direction of the SMA slope. To fine-tune the strategy it is highly recommended to change the period length of the SMA, which determines if the measured SMA slope is downwards or not. In this version 1.1 I made a small change to long only version. By default only the bearish NR7ID days are colored.
Inspiration:
How to trade NR7 and Inside Day Pattern
paststat.com
Code credit:
NR7 indicator script from Tradingview user Lazybear:
pastebin.com
P.S. You can find the 'long only' version of this trading strategy here:
[STRATEGY][UL]QQE Cross v1.1Updated by request: this is a "Strategy" trading version of the "QQE Cross Indicator Alert v2.0 by JustUncleL" (which is mainly for Binary Options trading), the same BUY/SELL signals are used to generate trade entry and exit conditions. Thanks again to JayRogers for making the Strategy risk management easier to understand and implement.
In this update I have added "Take Profit" option and cleaned up the risk management code. Also changed the close BUY/SELL order if EMA20 direction changes rather the next BUY/SELL opposite signal, making the close earlier.
BE ADVISED TO USE AT YOUR OWN RISK, even though back testing has shown good results, I don't have any Forex trading account to forward test against. You need to perform these test yourself and get back to me if there is any issues.
Narrow Range + Inside Day, Long Only Strategy (by ChartArt)This long only strategy determines when there is both a NR7 (narrow range 7, a trading day in which the range is narrower than any of the previous six days), plus a inside day (high of the current day is lower than the high of the previous day and the low of the current day is higher than the low of the previous day) both on the same trading day and enters a long trade when the close is larger than the open and the slope of the simple moving average is upwards, too.
The strategy closes the long trade next time the daily close is larger than the open in any of the next trading days. In addition the NR7ID can be colored (the color is green when the close is larger that day than the open, else the color is red) and the SMA can be drawn with a color based on the direction of the SMA slope. To fine-tune the strategy it is highly recommended to change the period length of the SMA, which determines if the measured SMA slope is upwards or not.
Inspiration:
How to trade NR7 and Inside Day Pattern
paststat.com
Code credit:
NR7 indicator script from Tradingview user Lazybear:
pastebin.com
Vix FIX / StochRSI StrategyThis strategy is based off of Chris Moody's Vix Fix Indicator . I simply used his indicator and added some rules around it, specifically on entry and exits.
Rules :
Enter upon a filtered or aggressive entry
If there are multiple entry signals, allow pyramiding
Exit when there is Stochastic RSI crossover above 80
This works great on a number of stocks. I am keeping a list of stocks with decent Profit Factors and clean equity curves here .
Possible ways to use this:
Modify this script and setup alerts around the various entries
Use as is with different stocks or currency pairs
Modify entry / exit points to make it more profitable for even more symbols and currencies
[RichG] Easy MTF StrategyAs we all know, timeframe agreement is a powerful tool. This strategy uses 4 time frames and the Keltner ATR for entries and exits.
MULTIPLE TIME-FRAME STRATEGY(TREND, MOMENTUM, ENTRY) Hey everyone, this is one strategy that I have found profitable over time. It is a multiple time frame strategy that utilizes 3 time-frames. Highest time-frame is the trend, medium time-frame is the momentum and short time-frame is the entry point.
Long Term:
- If closed candle is above entry then we are looking for longs, otherwise we are looking for shorts
Medium Term:
- If Stoch SmoothK is above or below SmoothK and the momentum matches long term trend then we look for entries.
Short Term:
- If a moving average crossover(long)/crossunder(short) occurs then place a trade in the direction of the trend.
Close Trade:
- Trade is closed when the Medium term SmoothK Crosses under/above SmoothD.
You can mess with the settings to get the best Profit Factor / Percent Profit that matches your plan.
Best of luck!
Bullish and Bearish Engulfing StrategyI've been trying to put a stop loss in the High or Low of the last second bar after I open a position but in this example the only way to close it, is with the opposite action. Does anyone know how to put a stop loss and order with just stop loss and close when there is a bullish or bearish engulfing bar?