Forex Master v4.0 (EUR/USD Mean-Reversion Algorithm)DESCRIPTION
Forex Master v4.0 is a mean-reversion algorithm currently optimized for trading the EUR/USD pair on the 5M chart interval. All indicator inputs use the period's closing price and all trades are executed at the open of the period following the period where the trade signal was generated.
There are 3 main components that make up Forex Master v4.0:
I. Trend Filter
The algorithm uses a version of the ADX indicator as a trend filter to trade only in certain time periods where price is more likely to be range-bound (i.e., mean-reverting). This indicator is composed of a Fast ADX and a Slow ADX, both using the same look-back period of 50. However, the Fast ADX is smoothed with a 6-period EMA and the Slow ADX is smoothed with a 12-period EMA. When the Fast ADX is above the Slow ADX, the algorithm does not trade because this indicates that price is likelier to trend, which is bad for a mean-reversion system. Conversely, when the Fast ADX is below the Slow ADX, price is likelier to be ranging so this is the only time when the algorithm is allowed to trade.
II. Bollinger Bands
When allowed to trade by the Trend Filter, the algorithm uses the Bollinger Bands indicator to enter long and short positions. The Bolliger Bands indicator has a look-back period of 20 and a standard deviation of 1.5 for both upper and lower bands. When price crosses over the lower band, a Long Signal is generated and a long position is entered. When price crosses under the upper band, a Short Signal is generated and a short position is entered.
III. Money Management
Rule 1 - Each trade will use a limit order for a fixed quantity of 50,000 contracts (0.50 lot). The only exception is Rule
Rule 2 - Order pyramiding is enabled and up to 10 consecutive orders of the same signal can be executed (for example: 14 consecutive Long Signals are generated over 8 hours and the algorithm sends in 10 different buy orders at various prices for a total of 350,000 contracts).
Rule 3 - Every order will include a bracket with both TP and SL set at 50 pips (note: the algorithm only closes the current open position and does not enter the opposite trade once a TP or SL has been hit).
Rule 4 - When a new opposite trade signal is generated, the algorithm sends in a larger order to close the current open position as well as open a new one (for example: 14 consecutive Long Signals are generated over 8 hours and the algorithm sends in 10 different buy orders at various prices for a total of 350,000 contracts. A Short Signal is generated shortly after the 14th Long Signal. The algorithm then sends in a sell order for 400,000 contracts to close the 350,000 contracts long position and open a new short position of 50,000 contracts).
ADX
ZeroLag ema + adx = trueCombined LazyBears ZeroLag EMA and CapnOscars moving average ADX. Here's the result.
I figured it could be used as a trend trendtrading system,
ADX red + ema cross downards = short.
ADX green + ema cross up = long.
ADX black + ema cross = no trade
Or something along those line. A way filter out whipsaws.
This is just something I threw together in 5 min, so din't go all in tho. Haven't had time to test.
2 ADX
3 Z-EMAs
Colors/settings can be customized.
Kay_BBandsV3This is the 3rd version of Kay_BBands.
When +DI (Directional Index ) is above -DI , then Upper band will be visible and vice-versa.
This is when the ADX is above the threshold. 28 is the default in this version. I found its more appealing in 5M time frame.
BLUE - ADX under 10
GREEN - Uptrend, ADX over 10
RED - Downtrend, ADX over 10
Use it with another band with setting 20, 0.6 deviation. Prices keeping above or below the 2nd bands upper or lower bounds shows trending conditions.
I didn't know how to update the old script so published it again.
Changes - :
1) Updated default settings for the indicator
2) ADX setting are now DI (28), ADX (10), adx level to check is 10.
3) IMPORTANT one - When DI is up/down, lower/upper band will also have color (more visible that way.)
Play around the settings.. It really eliminates extra indicator checking visually... Please like if you think idea is good.
Kay_BBands v2This is the second version of Kay_BBands. But this is infused with ADX.
When +DI (Directional Index) is above -DI, then Upper band will be visible and vice-versa.
This is when the ADX is above the threshold. 20 is the default but can be set to 25.
When the ADX is below the specified threshold, both bands gets visible, showing no trending conditions.
Use it with another band with setting 20/21, 0.6 deviation. Prices keeping above or below the 2nd bands upper or lower bounds shows trending conditions.
[FT] ADX-Multi-TF by FractalTraderAverage Directional Index is a way to determine trend strength (and whether there is a trend). One of the caveats is when you have trendless conditions on a higher timeframe. You can get whipsaw conditions on the current timeframe in that case.
The purpose of this script is to put ADX into the context of a higher degree trend on a single indicator.
CM_ADX_V1ADX System Overview
So I Came Across Another Trading System for Only $997. However, if you purchased in the next 24hours the whole system could be Yours For Only $497.
So I decided to Code it. This is only Version 1, and I discuss in the Video What I’ve found so for, some plans for Version 2 of the indicator, and I ask for your feedback on anything you find.
Indicators used in System:
CM_DI_Plus_Minus_V1 (Indicator On Bottom).
CM_ADX_V1 (Indicator On 2nd Pane).
CM_Gann_Swing_Hi_Lo (Indicator on Price Pane). This Indicator was published before…Link Below.
CM_DI_Plus_Minus_V1
In Video I go over settings and how to customize charts.
Link To Video:
vimeopro.com
Link To Downloadable PDF Shown in Video:
d.pr
CM_DI_Plus_MinusADX System Overview
So I Came Across Another Trading System for Only $997. However, if you purchased in the next 24hours the whole system could be Yours For Only $497.
So I decided to Code it. This is only Version 1, and I discuss in the Video What I’ve found so for, some plans for Version 2 of the indicator, and I ask for your feedback on anything you find.
Indicators used in System:
CM_DI_Plus_Minus_V1 (Indicator On Bottom).
CM_ADX_V1 (Indicator On 2nd Pane).
CM_Gann_Swing_Hi_Lo (Indicator on Price Pane). This Indicator was published before…Link Below.
In Video I go over settings and how to customize charts.
Link To Video:
vimeopro.com
Link To Downloadable PDF Shown in Video:
d.pr
Directional Movement (DMI)Directional Movement indicator implemented in Pine script. Use it to customize ADX behavior.
Indicators: Chartmill Value Indicator & Random Walk IndexChartMill Value Indicator & Modified ChartMill Value Indicator :
-------------------------------
Developed by Dirk Vandycke, CVI tracks how far the price spread is from its MA. Since MA keeps increasing even when price consolidates or stalls, it is very difficult for the deviation from a moving average to remain in the overbought or oversold regions for extended periods, which represents a significant improvement over other oscillators such as the RSI and Stochastic indicators.
However, a simple price spread from a moving average would not be comparable across all securities, which would preclude us from using the spread in systematic strategies. Fortunately, Mr.Vandycke addresses this problem by dividing the spread by the average true range, which is dependent on both the price level and volatility of the underlying security.
There is a variation of CVI called Modified CVI, which does time normalization of ATR (not the MA). This indicator supports displaying "Modified CVI" too. Check the options page.
This indicator is best used with other oscillators, to confirm signals. Zero line (in this case, "1" line since the gray line is drawn at the value of 1) crossovers should also be considered as signals.
I suggest tuning the OB/OS levels to match your instrument (usually it is around 0.5/-0.5 range).
More info:
www.traders.com
Random Walk Index
-------------------------
RWI is used to determine if an issue is trending or in a random trading range (like ADX/Aroon). It attempts to do this by first determining an issue's trading range. The next step is to calculate a series of RWI indexes for the maximum look-back period. The largest index move in relation to a random walk is used as today's index.
Michael Poulos, inventor of RWI, recommends 2 to 7 for the short-term time frames and 8-64 for long terms. An issue is trending higher if the long term RWI of highs is greater than 1, while a downtrend is indicated if the long term RWI of lows is greater than 1.
Below are some more rules developed by Mr.Poulos:
- Enter a long (or close short) when the long-term RWI of the highs is greater than 1 and the short-term RWI of lows peaks above 1
- Enter short (or close long) when the long-term RWI of the lows is greater than 1 and the short-term RWI of highs peaks above 1
More info:
- tradingsim.com
For displaying only the histogram (as shown in the bottom pane), select "ShowOnlyHistogram" in the options page.