Table: Relative Strength Index (Multiple Timeframes) DESCRIPTION
It is the most popular and dependent Indicator, Relative Strength Index (RSI) . Now, I put inside a table to view chart momentum from Multiple timeframes.
This indicator tells different Timeframe (30 minutes, 1 hour, 4 hour, 1 day, 1 week, 1 month) of RSI value within table form.
HOW TO USE
Can consider a Long position when all timeframes go oversold while Short position when all timeframes go overbought. Alarm function is available. It sounds as all timeframes are overbought or oversold.
Modified The source of indicator from ©BeeHolder named "Performance"
动量指标(MOM)
Trend Indicator A-V2 (Smoothed Heikin Ashi Cloud)"Trend Indicator A-V2" and "Trend Indicator B-V2" are updated and improved versions of my initial trend indicators. Totally rethinking the code, adding highs and lows in the calculations, including some more customisation through colour schemes.
In practice, this indicator uses EMAs and Heikin Ashi to provide an overall idea of the trend.
The "Trend Indicator A-V2" is an overlay showing “Smoothed Heikin Ashi” .
The "Trend Indicator B-V2" uses the same values in a different way to measure the momentum of the trend and identify potential trend rejections.
Please, take into account that it is a lagging indicator.
Trend Indicator B-V2 (Momentum measuring)"Trend Indicator A-V2" and "Trend Indicator B-V2" are updated and improved versions of my initial trend indicators. Totally rethinking the code, adding highs and lows in the calculations, including some more customisation through colour schemes.
In practice, this indicator uses EMAs and Heikin Ashi to provide an overall idea of the trend.
The "Trend Indicator A-V2" is an overlay showing “Smoothed Heikin Ashi” .
The "Trend Indicator B-V2" uses the same values in a different way to measure the momentum of the trend and identify potential trend rejections.
Please, take into account that it is a lagging indicator.
Momentum - Strategy ScriptBased on the bult-in momentum script, I took the liberty of updating it, adding two features.
First, I would like to see the momentum oscillator showing percentage values, rather than absolute values. Visually facilitating analysis in long-term graphs.
Second, just for fun*.
I don't know how to explain the reason exactly, but for the strategy bult-in script, I didnt like the formula of "mom1" calculation.
So I changed it for a formula that made the most sense to me.
In any case, the original script remains in the code, optionally disabling the "percent" option and selecting the MOM1 option in the "MOM Choice" field, for the purpose of study and comparisons.
The script below is opened for study and any suggestions will be welcome.
I hope it can help the community.
It's just the beginning.
Study only purpose.
I tried to follow the code conventions found in the link below.
www.pinecoders.com
Return (Percent Change)This Script displays Regular or Log Returns as either a line or histogram and labels the current bar.
If something other than price is selected as the source, the result is percent change with a positive or negative slope.
If a moving average of price is used as the source, the result is analogous to a strength index
Other options include a look-back period adjustment (the default is 1),
smoothing results by converting to an EMA, and
Bollinger Bands with Length and Standard Deviation inputs.
Squeeze Momentum [Plus]The "Momentum" in this indicator is smoothed out using linear regression. The Momentum is what is displayed on the indicator as a histogram, its purpose is obvious (to show momentum).
What is a Squeeze? A squeeze occurs when Bollinger Bands tighten up enough to slip inside of Keltner Channels .
This is interpreted as price is compressing and building up energy before releasing it and making a big move.
Traditionally, John Carter's version uses 20 period SMAs as the basis lines on both the BB and the KC.
In this version, I've given the freedom to change this and try out different types of moving averages.
The original squeeze indicator had only one Squeeze setting, though this new one has three.
The gray dot Squeeze, call it a "low squeeze" or an "early squeeze" - this is the easiest Squeeze to form based on its settings.
The orange dot Squeeze is the original from the first Squeeze indicator.
And finally, the yellow dot squeeze, call it a "high squeeze" or "power squeeze" - is the most difficult to form and suggests price is under extreme levels of compression.
Now to explain the parameters:
Squeeze Input - This is just the source for the Squeeze to use, default value is closing price.
Length - This is the length of time used to calculate the Bollinger Bands and Keltner Channels .
Bollinger Bands Calculation Type - Selects the type of moving average used to create the Bollinger Bands .
Keltner Channel Calculation Type - Selects the type of moving average used to create the Keltner Channel.
Color Format - you to choose one of 5 different color schemes.
Draw Divergence - Self explanatory here, this will auto-draw divergence on the indicator.
Gray Background for Dark Mode - to make them more visually appealing.
Added ADX (Average Directional Index) that measure a trend’s strength. The higher the ADX value, the stronger the trend. The ADX line is white when it has a positive slope, otherwise it is gray. When the ADX has a very large dispersion with respect to the momentum histogram, increase the scale number.
Added "H (Hull Moving Average) Signal". Hull is a extremely responsive and smooth moving average created by Alan Hull in 2005. Have option to chose between 3 Hull variations.
Added "Williams Vix Fix" signal. The Vix is one of the most reliable indicators in history for finding market bottoms. The Williams Vix Fix is simply a code from Larry Williams creating almost identical results for creating the same ability the Vix has to all assets.
The VIX has always been much better at signaling bottoms than tops. Simple reason is when market falls retail traders panic and increase volatility, and professionals come in and capitalize on the situation. At market tops there is no one panicking... just liquidity drying up.
The FE green triangles are "Filtered Entries"
The AE green triangles are "Aggressive Filtered Entries"
(JS) BallistaAlright so this is a script I made by combining two existing ones and making a really cool discovery that has proven very useful.
You'll notice that there are two separate oscillators that are laid on top of each other. The background oscillator is my "Tip-and-Dip" oscillator which you can see here (will refer to this as TnD from here), and the foreground oscillator from the Squeeze , which can be viewed here .
Initially I just wanted to see how they interacted with one another and compare them, but this led to some pretty interesting observations.
First let me go through the options real quick to get that out of the way, though it is mostly self-explanatory.
Lookback Period defines the amount of bars used for the TnD oscillator.
Smoothing Value smooths out the TnD output.
Standard Deviations is used to calculate the TnD formula.
Color Scheme is preset BG colors.
Using Dark Mode changes colors based on dark mode or not.
Squeeze Momentum On turns the Squeeze in the foreground off and on.
Arrows Off turns the arrows on the indicator off and on.
Now to explain the indicator a bit more. I have the default lookback period as 40 due to the Squeeze being 20, which makes the TnD oscillator the "slow" output with the Squeeze being the "fast" output.
Some initial observations were that when both the Squeeze and the TnD are moving in the direction, when the Squeeze is higher (uptrend) or lower (downtrend) it seems to indicate strength in the move. As the move loses steam you'll notice the Squeeze diverge from the TnD.
However, the most useful thing I discovered about the interaction between these two indicators is where the name for it came from. So if you aren't familiar with what a Ballista is, per Wikipedia, "The ballista... sometimes called bolt thrower, was an ancient missile weapon that launched either bolts or stones at a distant target." There are instances where the Squeeze seems to get ahead of itself and gets too far away from the TnD (which is the long term trend between the two). The key thing to look for is an "inverted squeeze" - this is when the squeeze oscillator ends up flipping against the TnD. When this occurs there is an extremely high probability that you'll see price shoot back the opposite way of the Squeeze.
I've been using this setup myself for about a year now and have been very satisfied with the results thusfar. I circled some examples on the SPX daily chart here to show you what I mean with the inverted Squeeze shooting back.
Momentum Rotation Indicator [CC]I have developed this custom indicator very loosely based on the Sector Rotation Model (Giorgos E. Siligardos. Technical Analysis of Stocks & Commodities, August 2012) and I called it the MRI because this is essentially a brain scan of any particular stock. This will not only tell you when a stock is breaking out over the market at large but also how the stock is doing compared to its own history. Buy when the line turns green and sell when the line turns red.
Let me know if there are any other indicators you would like to see me publish!
Dynamic Momentum Oscillator (DYNAMO) by M.YALCINIn July 1996 Futures magazine, E. Marshall Wall introduces the Dynamic Momentum Oscillator (Dynamo). Please refer to this article for interpretation.
The Dynamo oscillator is a normalizing function that adjusts the values of a standard oscillator for trendiness by taking the difference between the value of the oscillator and a moving average of the oscillator and then subtracting that value from the oscillator midpoint.
Dynamo Oscillator is calculated according to:
Dynamo = Mc - ( MAo - O )
where:
Mc = the midpoint of the oscillator
MAo = a moving average of the oscillator
O = the oscillator
Usage:
This concept can be applied to most oscillators to improve their results.
This example applies it to an RSI oscillator in MetaStock:
50-(Mov(RSI(14),21,S)-RSI(14))
where:
Mc = RSI's midpoint = 50
MAo = Moving average of the RSI = Mov(RSI(14),21,S
O= RSI Oscillator = RSI(14)
Also with this indicator, you can adjust the moving average type and RSI calculation types dynamically.
Dziwne Trend Indicator A (EMA + Heikin Ashi cloud)First script ever publish.
It is a very simple trend indicator based on EMAs and Heikin Ashi .
DT Dual-Lookback DLBThis script is based on the concept of Robert Miner Book "High Probabilities Strategies"
This script shows at the same time two timeframes and the overlapping area.
The green and red area shows the higher time frame period just as Robert Miner did this in his videos.
Because Robert Miner just says: 8.. 13.. 21.. i used this also as type for the setup.
This is not a complete trading strategy, but if fibonacci retracement/extensions in price and time and
elliot waves position and DT Dual-Lookback comed together there is a perhaps a signal.
Please read his book and look at his website and his DT reports to learn more about his strategy.
Structure AnalyzerA momentum indicator that uses the highest and lowest values for price in three different lookback lengths to find the performance relative to three timeframes.
- The yellow line is the product of the price performance in three different timeframes.
- The red line is 200 EMA of the performance.
- The blue columns represent the same calculation or the volume(OBV based).
- The aqua line is the 200 EMA of the volume performance.
How to use: Whenever the performance crosses above the 200 EMA, the price is in an uptrend.
Important: When in a downtrend, the performance will stay below the 200 EMA for a long time; hence it is important o wait until the crossover.
Nimblr Strategy- Momentum Candle IndicatorDescription:
Strategy uses the Nimblr advice.
It display the momentum candle with diamond on top of the candle.
Candle Height= High-Low
Body Height=Open- close
Criteria:
Candle height=100%
And body Height >50%
NSE:NIFTY
Super Momentum OscillatorA new momentum oscillator. I uploaded this previously but it got deleted I believe because apparently my chart was too cluttered.
Hopefully this is good enough... made some updates as well since then.
What you have is six (!) momentum oscillators that can be weighed together however you please. They are centered on 0 with a fill so its also easy to overlay them (as shown).
Since momentum oscillators vary heavily chart to chart, in terms of resolution, I added that as an option so you can keep the hlines as they are.
Can be useful for spotting higher time frame moves on lower time frames without any of the repaint or needing 6 chart screens. Also a solid improvement over the indicators where people just throw a dozen different length plots together and you have no idea where to look in the end. IMO, at least.
Mix and match high and low lengths however you please.
Also it looks wicked with rasta colors. SMOke (super momentum oscillator kills everything)... your way into financial freedom, mon!
Rainbow Trend IndicatorThis is an indicator based on the MA rainbow concept. It is possible to choose between 15 or 20 MA's and if all 15 MA's is picked, the calculation will be calculated on 15 MA's and if 20 is picked the calculation is calculated on 20 MA's. The indicator will then be a line which is assigned a value from the calculation based on the MA's. If the line is above the dashed zero line, meaning the line's last value is a positive value, the price is in a uptrend and if the line is below the dashed zero line, meaning the line's last value is a negative value, the price is in a downtrend.
In short
If the line is green, the price is in a uptrend. If the line is red, the price is in a downtrend.
Super Momentum StrategyThis is a strategy utilizing multiple of Evergets RMI (thanks to him for permission to publish) and a Chance Momentum.
It buys when 4 of the RMIs are below their thresholds and sells when they are above. There is a 5th one I added last night that works in Reverse - buy when its above and sell when below, which should work better for pyramiding strats by using it at the right rate to set the overall trend.
Very basic sample below, I could have set it up better as my example but just want to publish.
Momentum Indicator avg short return minus avg long returnAverage daily return over the period 2-12 months ago minus the average daily return over the period 1-5 years ago
=> a higher return 2-12 months ago indicates a higher return in coming months according to research, because of the momentum risk factor premium
=> a higher return 1-5 years ago indicates a lower return in coming months according to research, because of the momentum risk factor premium
TMO with TTM SqueezeApplication of the TTM squeeze and the short-term momentum TTM Wave A in action. This is an example where the short-term wave will react faster than the TTM to give you a signal to start building your positions.
This indicator needs to be combined with "TTM Wave A" (add to existing pane).
The TTM Squeeze works like a better MACD. There is a zeroline and histogram bars above / below represent positive and negative momo. As the height of the bar decreases when above the zeroline, that is called decreasingly positive momo and as the height of the bar decreases when below the zeroline, that is called decreasingly negative momo. The dots on the TTM Squeeze: Red dots represent consolidation where Bollingers are inside the Keltner Channels and green dots represent a move out of consolidation or "squeeze fire". As price action comes out of consolidation there is a bigger move up/down depending on where momo is heading and where prices are (key support/resistance levels, fib areas). You want to use the TTM Squeeze and A wave TOGETHER - TTM Squeeze is your main momo and your A wave is a short-term momo wave that reacts faster and works as a leading gauge. You need to use them TOGETHER to gauge where price action may be heading. When the TTM Squeeze and A wave move lockstep together, let's say both are decreasingly positive, there is a good probability it continues to move in that direction to the next support levels. TWO bars on the TTM Squeeze of different heights is confirmation that in most cases means it will move in the direction of those bars. So if decreasingly positive, you'll see two darker bars. By the time you get your 2nd bar on the TTM Squeeze, it is often too late or you're losing profit. Way to counter that is after you get one darker bar in the opposite direction of current trend, use A wave to "predict" the next wave, the more A wave histogram bars going towards the other direction, the higher the certainty it will hit. Lastly, using these waves together works best when you look at it on MULTIPLE TIME FRAMES. (Credit for this details goes to Brady from Atlas).
TTM Wave AApplication of the TTM squeeze and the short-term momentum TTM Wave A in action. This is an example where the short-term wave will react faster than the TTM to give you a signal to start building your positions.
This indicator needs to be combined with "TMO with TTM Squeeze" (add to existing pane).
The TTM Squeeze works like a better MACD. There is a zeroline and histogram bars above / below represent positive and negative momo. As the height of the bar decreases when above the zeroline, that is called decreasingly positive momo and as the height of the bar decreases when below the zeroline, that is called decreasingly negative momo. The dots on the TTM Squeeze: Red dots represent consolidation where Bollingers are inside the Keltner Channels and green dots represent a move out of consolidation or "squeeze fire". As price action comes out of consolidation there is a bigger move up/down depending on where momo is heading and where prices are (key support/resistance levels, fib areas). You want to use the TTM Squeeze and A wave TOGETHER - TTM Squeeze is your main momo and your A wave is a short-term momo wave that reacts faster and works as a leading gauge. You need to use them TOGETHER to gauge where price action may be heading. When the TTM Squeeze and A wave move lockstep together, let's say both are decreasingly positive, there is a good probability it continues to move in that direction to the next support levels. TWO bars on the TTM Squeeze of different heights is confirmation that in most cases means it will move in the direction of those bars. So if decreasingly positive, you'll see two darker bars. By the time you get your 2nd bar on the TTM Squeeze, it is often too late or you're losing profit. Way to counter that is after you get one darker bar in the opposite direction of current trend, use A wave to "predict" the next wave, the more A wave histogram bars going towards the other direction, the higher the certainty it will hit. Lastly, using these waves together works best when you look at it on MULTIPLE TIME FRAMES. (Credit for this details goes to Brady from Atlas).
Effective Divergence Indicator
What is EffDI?
Effective Divergence Indicator(EffDI) is a modified Momentum indicator designed to detect divergences in stocks, futures, forex, and crypto, just to name a few.
How does it work?
It uses the EMA of daily velocity.
Isn't this the same as Momentum
No. Momentum compares the price x days ago, while this takes the EMA of the daily velocity.
Why is it better than momentum in detecting divergence?
Because it uses an EMA, an EMA gives weight to the latest prices. I don't know how to explain the logic behind this, but it works :)
ok,ok, I get it, but how do I use it to buy, sell, and get a ton of profits?
Refer to the diagram below.
Steps:
Step 1: Locate the divergence(marked A,B,C and D): no divergence, no trade.
Step 2: Locate the last EffDI high. Mark that E.
Step 3(entry): Buy when price goes above E. For shorts, Short Sell when price goes below E.
Step 4(exit): Exit position when another divergence is detected,
OR
When A new Lower Low is formed.
As you can see, if you follow the steps, there is a good chance the profits will come to you. Cheers!
DO YOU WANT MORE GOOD INDICATORS LIKE THESE TO IMPROVE YOUR TRADING? Then, make sure to follow @Trader_ph (or i will eat all of your cookies)
Feel free to use my code below, BUT make sure to credit me if you make any modifications. :)
CHOP Zone Entry Strategy + DMI/PSAR ExitThis is a Strategy with associated visual indicators and Long/Short and Reverse/Close Position Alerts for the Choppiness Index (CHOP) . It is used to determine if the market is choppy (trading sideways) or not choppy (trading within a trend in either direction). CHOP is not directional, so a DMI script was ported into this strategy to allow for trend confirmation and direction determination; it consists of an Average Directional Index (ADX) , Plus Directional Indicator (+DI) and Minus Directional Indicator (-DI) . In addition, a Parabolic SAR is also included to act as a trailing stop during any strong trends.
Development Notes
---------------------------
This indicator, and most of the descriptions below, were derived largely from the TradingView reference manual. Feedback and suggestions for improvement are more than welcome, as well are recommended Input settings and best practices for use.
www.tradingview.com
www.tradingview.com
www.tradingview.com
Recommend using the below DMI and PSAR indicators in conjunction with this script to fully visualize and understand how entry and exit conditions are chosen. Variable inputs should correlate between the scripts for uniformity and visual compatibility.
THANKS to LazyBear and his Momentum Squeeze script for helping me quickly develop a momentum state model for coloring the Chop line by trend.
Strategy Description
---------------------------
CHOP produces values that determine whether the market is choppy or trending . The closer the value is to 100 , the higher the choppiness levels , while the closer it is to 0 , the stronger the market is trending . Territories for both levels, and their associated upper and lower thresholds, are popularly defined using the Fibonacci Retracements, 61.8 and 38.2.
Basic Use
---------------------------
CHOP is often used to confirm the market condition to help you stay out of sideways markets and only enter when there is movement or imminent explosions. When readings are above the upper threshold, continued sideways movement may be expected, while readings below the lower threshold are typically indicative of a continuing trend. It is also used to anticipate upcoming trendiness changes, with the general belief that extended periods of consolidation (sideways movement) are followed by extended periods of strong, trending, directional movement, and vice versa.
One limitation in this index is that you must be cautious in deciding whether the range or trend will likely continue, or if it will reverse.
Confidence in price action and trend is higher when two or more indicators are in agreement -- while this strategy combines CHOP with both DMI and PSAR, we would still recommend pairing with other indicators to determine entry or exit trade opportunities.
Recommend also choosing 'Once Per Bar Close' when creating alerts.
Inputs
---------------------------
Strategy Direction - an option to only trade Short, Long, Both, or only in the direction of the Trend (Follow Trend is the Default).
Sensitivity - an incremental variable to test whether the past n candles are in the same trend state before triggering a delayed long or short alert (1 is the Default). Can help filter out noise and reduces active alerts.
Show Chop Index - two visual styles are provided for user preference, a visible Chop line with a background overlay, or a compact column and label only view.
Chop Lookback Period - the time period to be used in calculating CHOP (14 is the Default).
Chop Offset - changing this number will move the CHOP either forwards or backwards relative to the current market (0 is the Default).
Smooth Chop Line and Length - if enabled, the entered time period will be used in calculating a smooth average of the index (Enabled and 4 are the Defaults).
Color Line to Trend Direction - toggles whether the index line is colored to visually depict the current trend direction (Enabled is the Default).
Color Background - toggles the visibility of a background color based on the index state (Enabled is the Default).
Enable DMI Option - if enabled, then entry will be confirmed by and dependent on the ADX Key Level, with any close or reversal confirmed by both ADX and +/-DI to determine whether there is a strong trend present or not (Enabled is the Default).
ADX Smoothing - the time period to be used in calculating the ADX which has a smoothing component (14 is the Default).
DI Length - the time period to be used in calculating the DI (14 is the Default).
ADX Key Level - any trade with the ADX above the key level is a strong indicator that it is trending (23 to 25 is the suggested setting).
Enable PSAR Option - enables trailing stop loss orders (Enabled is the Default).
PSAR Start - the starting value for the Acceleration Force (0.015 is our chosen Default, 0.02 is more common).
PSAR Increment - the increment in which the Acceleration Force will move (0.001 is our chosen Default, 0.02 is more common).
PSAR Max Value - the maximum value of the Acceleration Factor (0.2 is the Default).
Color Candles Option - an option to transpose the CHOP condition levels to the main candle bars. Note that the outer red and green border will still be distinguished by whether each individual candle is bearish or bullish during the specified timeframe.
Note too that if both DMI and PSAR are deselected, then close determinations will default to a CHOP reversal strategy (e.g., close long when below 38.2 and close short when above 61.8). Though if either DMI or PSAR are enabled, then the CHOP reversal for close determination will automatically be disabled.
Indicator Visuals
---------------------------
For the candle colors, black indicates tight chop (45 to 55), yellow is loose chop (38.2 to 45 and 55 to 61.8), dark purple is trending down (< 38.2), and dark blue is trending up (> 61.8).
The background color has additional shades to differentiate a wider range of more levels…
• < 30 is dark purple
• 30 to 38.2 is purple
• 38.2 to 45 is light purple
• 45 to 55 is black
• 55 to 61.8 is light blue
• 61.8 to 70 is blue
• > 70 is dark blue
Long, Short, Close, and Reverse labels are plotted on the Chop line, which itself can be colored based on the trend. The chop line can also be hidden for a clean and compact, columnar view, which is my preferred option (see example image below).
Visual cues are intended to improve analysis and decrease interpretation time during trading, as well as to aid in understanding the purpose of this strategy and how its inclusion can benefit a comprehensive trading plan.
DMI and Trend Strength
---------------------------
To analyze trend strength, the focus should be on the ADX line and not the +DI or -DI lines. An ADX reading above 25 indicates a strong trend , while a reading below 20 indicates a weak or non-existent trend . A reading between those two values would be considered indeterminable. Though what is truly a strong trend or a weak trend depends on the financial instrument being examined; historical analysis can assist in determining appropriate values.
DMI exits trade when ADX is below the user selected key level (e.g., default is 25) and when the +/- DI lines cross (e.g., -DI > +DI exits long position and +DI > -DI exits short position).
PSAR and Trailing Stop
---------------------------
PSAR is a time and price based indicator that excels at measuring direction and duration, though not the actual strength of a trend, which is why we use this in conjunction with DMI. It is also included in this script as a trailing stop option to maximize gains during strong trends and to mitigate any false ADX strengthening signals.
This creates a parabola that is located below the candle during a Bullish trend and above during a Bearish trend. A buy or reversal is signaled when the price crosses above or below the Parabolic SAR.
Long/Short Entry
---------------------------
1. CHOP must be over 61.8 (long) or under 38.2 (short).
2. If DMI is enabled, then the ADX signal line must be above the user selected Key Level (default is 25).
3. If Sensitivity is selected, then that past candle must meet the criteria in step 1, as well as all the intermediate candles in between.
4. If "Follow Trend" is selected and PSAR is enabled, then a long position can only open when the momentum and PSAR are in an uptrend, or short when both are in a downtrend, to include all intermediate candles if the Sensitivity option is set on a past candle.
Close/Reverse
---------------------------
1. If DMI is enabled, then a close flag will be raised when the ADX signal drops below the Key Level (of 25), and -DI crosses over +DI (if long), or +DI crosses over -DI (if short).
2. If PSAR is enabled, then a close flag will be raised when the current trend state is opposite the last state.
3. If both DMI and PSAR are disabled, then a close flag will be raised if the Chop line drops under 38.2 (if long) or goes over 61.8 (if short).
4. If a Long or Short Entry is triggered on the same candle as any of the above close flags, then the position will be reversed, else the position will be closed.
Strategy Alerts
---------------------------
1. Long Entry
2. Short Entry
3. Reverse
4. Close
The provided backtest result is based on a position sizing of 10% equity with 100k initial capital. When testing SPX, disabling the DMI performed the best, but EURUSD performed poorly without it enabled, and TSLA had a small reduction in net profit. Timeframe likewise differed between commodities with TSLA performing best at 30M, SPX at 15M, and EURUSD at 4H. I do not plan on using this as a standalone strategy, but I also was expecting better results with the inclusion of EMI and PSAR to compliment the CHOP. Key elements of this script will likely be included in future, more holistic strategies.
Disclaimer
---------------------------
Past performance may not be indicative of future results. Due to various factors, including changing market conditions, the strategy may no longer perform as well as in historical backtesting. This post and the script are not intended to provide any financial advice. Trade at your own risk.
No known repainting, though there may be if an offset is introduced in the Inputs. I did my best not to code any other variables that repaint, but cannot fully attest to this fact.
Composite Index Divergence IndicatorComposite Index by Constance Brown mixed with built-ins Divergence Indicator
useful indicator to find divergence
this script find divergence automatically for you