Mean-Reversion Swing Trading Strategy v1A port of the TradeStation EasyLanguage code for a mean-revision strategy described at
traders.com
"In “Mean-Reversion Swing Trading,” which appeared in the December 2016 issue of STOCKS & COMMODITIES, author Ken Calhoun
describes a trading methodology where the trader attempts to enter an existing trend after there has been a pullback.
He suggests looking for 50% pullbacks in strong trends and waiting for price to move back in the direction of the trend
before entering the trade."
See Also:
- 9 Mistakes Quants Make that Cause Backtests to Lie (blog.quantopian.com)
- When Backtests Meet Reality (financial-hacker.com)
- Why MT4 backtesting does not work (www.stevehopwoodforex.com)
Swingtrading
[Tutorial] RSIwings (swings) for find pyramiding entries ->hh,llThis indicator show higher high + higher low and lower high + lower low -> based on RSI modification.
HOW I USE
On a longsetup I set a buyorder on the high, if the RSI swings show red the first time. My stoploss I choose on the lowest price from the red swing before.
After every ending bar without tradeentry I move the buyorder step by step on the last high till the price move up and the longtrade start.
The same game I use for sellorder with the green swings, if I want a shortsetup. Best times for this are retracements from a trendchannel i.e.
HOW I PYRAMIDING
From swing to swing with the same color I move my stoploss. If my risk are 100 USD and with the next moving stoploss are only 60 USD in risk, then I have 40 USD for my next pyramiding trade in the same trendsetup.
WHEN I MOVE MY STOPLOSS
If I have choose a stoploss, than this is fixed till the last highest/lowest price from the other swing is broken.
Any questions? Ask me!
BO Swing Finder R0.6 by JustUncleLThis indicator alert study attempts to detect confirmed Swing points. It uses Bollinger Band centre line crosses as the main signal. The main detection occurs by looking for the first BB centre line cross that was initiated from outside the Bollinger Channel (alternatively KC channel can be used).
The optional HullMA (any any other MA pair) are used to confirm the swing direction. The indicator also plots the two KitKat Support and Resistance lines with optional High/Low labelling on KitKat1 lines.
This indicator tool is suitable for any time frame and can be traded with Binary Option (even 1min) orders (2-3 candle expiry) or as Forex trade orders. It is suitable for Currencies, Cryptocurrencies and Metals. May also be useful on other markets as well.
The MA filtering options, each MA line can be a different type, with an optional offset:
SMA = Simple Moving Average.
EMA = Exponential Moving Average.
WMA = Weighted Moving Average
VWMA = Volume Weighted Moving Average
SMMA = Smoothed Simple Moving Average.
DEMA = Double Exponential Moving Average
TEMA = Triple Exponential Moving Average.
HullMA = Hull Moving Average, fast moving MA.
SSMA = Ehlers Super Smoother Moving average, similar results to HullMA.
ZEMA = Near Zero Lag Exponential Moving Average.
TMA = Triangular (smoothed) Simple Moving Average.
NOTE: The signal calculations do occur on the current candle, so the state of the signal may re-build until the current candle is closed. I have designed the script to behave this way on purpose. This gives traders the option of
preparing their trade early or even taking the trade early if they want. Otherwise the trader can be more conservative and wait for signal candle to close, to give them a confirmed signal. (This is NOT re-painting as the historical signal states are fixed and will not change, unless you change some setup options.)
Hints:
1) As with all indicator and alerting tools, not all signals will yield a tradable successful swing. You need to apply you own analysis on each signal to determine the probability of success.
2) When using the MA to filter the signals you should use it for two types of filtering:
Supportive that confirm swing like fast moving MAs with fairly short lengths, eg HullMA(21,25).
Long Term Direction with smoother longer length MAs like SMMA(180,220) to show up swings back into direction of the longer term trends.
Inspiration: @Lyiness
References:
Momentum VMA KITKAT CROSS v2.1 by vdubus (- Vdubus_Channel www.vdubus.co.uk)
Big Snapper Alerts R2.0 by JustUncleLThis is a diversified Binary Option or Scalping Alert indicator originally designed for lower Time Frame Trend or Swing trading. Although you will find it a useful tool for higher time frames as well.
The Alerts are generated by the changing direction of the ColouredMA (HullMA by default), you then have the choice of selecting the Directional filtering on these signals or a Bollinger swing reversal filter.
The filters include:
Type 1 - The three MAs (EMAs 21,55,89 by default) in various combinations or by themselves. When only one directional MA selected then direction filter is given by ColouredMA above(up)/below(down) selected MA. If more than one MA selected the direction is given by MAs being in correct order for trend direction.
Type 2 - The SuperTrend direction is used to filter ColouredMA signals.
Type 3 - Bollinger Band Outside In is used to filter ColouredMA for swing reversals.
Type 4 - No directional filtering, all signals from the ColouredMA are shown.
Notes:
Each Type can be combined with another type to form more complex filtration.
Alerts can also be disabled completely if you just want one indicator with one colouredMA and/or 3xMAs and/or Bollinger Bands and/or SuperTrend painted on the chart.
Warning:
Be aware that combining Bollinger OutsideIn swing filter and a directional filter can be counter productive as they are opposites. So careful consideration is needed when combining Bollinger OutsideIn with any of the directional filters.
Hints:
For Binary Options try ColouredMA = HullMA(13) or HullMA(8) with Type 2 or 3 Filter.
When using Trend filters SuperTrend and/or 3xMA Trend, you will find if price reverses and breaks back through the Big Fat Signal line, then this can be a good reversal trade.
Some explanation about the what Hull Moving average and ideas of how the generated in Big Snapper can be used:
tradingsim.com
forextradingstrategies4u.com
Inspiration from @vdubus
Big Snapper's Bollinger OutsideIn Swing filter in Action:
Fractal and Alligator Alerts by JustUncleLThis is based on two well known Bill Williams Fractal and Alligator strategies.
The following code is an implementation is similar to reversal strategy specified here:
forexwot.com
and another well know Alligator break out strategy.
This was achieved by combining some of the ideas from two other indicators:
True Williams Alligator (SMMA) by the_batman
Fractals and Levels by JustUncleL
There are two types of Fractal + Alligator Strategies included in this indicator:
Fractal Reversal : In an uptrend defined by Low Fractal that is above the Alligator teeth and the Alligator mouth is completed open in an uptrend. The opposite for downtrends. (Green and Red Arrows)
Fractal BreakOut : In an uptrend, at the start of Alligator open we look back for the first Fractal High above Alligator Teeth. Alligator teeth must be above mouth. (Aqua and Fuchsia arrows)
Renko+Moving Average+RMI Alert R3 by JustUncleLThis script idea is designed to be used with 10pip brick (recommended) Renko charts. It combines the Renko price action with a directional coloured EMA (default length 6) and a RMI (instead of the usual RSI) indicator to provide entry and exit signals. RMI is bit like RSI with a built-in momentum factor and works well with Renko.
Signals can optionally be filtered by Daily or Weekly Open, where by only trade long above open and short below open (this option is enabled by default). Exit occur when EMA or RMI reverses direction, or optionally (disabled by default) when the Renko prints a brick in the reverse direction. Each Entry and Exit signal creates an Alertcondition that can be picked up by the TradingView Alarm system.
TIP: To get 10pip Bricks set Renko to "Traditional" type bricks and 0.001 for non-JPY currency pairs, and 0.1 for JPY currency pairs. Also set chart Time frame to 5min or 15mins.
References:
TheLark Relative Momentum Index (RMI)
20 Day Fade20 Day Fade from MarketGeeks, I like the idea!.
This indicator only looks at daily bars, regardless of what timeframe you are using.
We look for a new 20 day low that closes within the 25th percentile of it's daily range.
We also want our security to be in an uptrend.
Finally we are looking for the next day closing price (or current price) to be atleast 2% above the previous days (20 day low) high.
Once all these conditions are satisfied it produces the text bubble letting you know that it is prime to buy.
The next version I will update with short options as well.
One day I may convert this into a strategy, but probably not. If you want to, please feel free to. All I ask is that you give credit for the base code, as I have done for the idea behind this indicator.
Swing Trading System RSIThis is an RSI Swing Trading System roughly translated from backtestwizard.com . It uses ATR for profit target & stops. It uses a 26 week EMA filter to go long.
Swing Chart V1 by Phi35 © With this indicator, which plots the swing chart of the 3 degrees, swing traders can automate their work of tracking the right bars.
How it works:
Minor Degree (one bar) (gray)= If the current high is higher than the previous high or the current low is lower than the previous low.
Intermediate Degree (two bar) (baby blue)= If the current high is higher than previous and the penultimate high etc.
Main Degree (three bar) (red)= If the current high is higher than the previous, the penultimate and the high before penultimate high etc.
Alert:
On crossover there will be an alert (popup with a message) and in addition you will see "diamonds" on the place where the crossover took place
If there is an issue or any suggestions, feel free to contact me. Do not modify the code without permission.
Swing Chart V1 by Phi35 ©
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.
Forex Master (EUR/USD)ATTENTION:
This is a symmetrical algorithm designed only for trading EUR/USD on the 1h time frame. For other currency pairs and time frames, you need to re-calibrate the RSI-EMAs as well as the profit targets and stop losses.
BACKTEST CONDITIONS:
Initial equity = $100,000 (no leverage)
Order size = 100% of equity
Pyramiding = disabled
TRADING RULES:
Long entry = EMA20(RSI10) cross> 50
Profit limit = 50 pips
Stop loss = 50 pips
Short entry = EMA30(RSI30) 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.
MAGNUS® CyclesThis indicator will help you if you struggle making any profit in bitcoin.
It generates very few signals with very nice profit potential ( around 100% this year ! ).
Perfect tool for longterm swing traders and new traders that need help figuring out the midterm trend.
Use it with these parameters only:
weekly: 13, 5, 12
daily: 92, 21, 96