Break Levels – Peaks and Valleys – Market StructureDescription
An experimental script, designed as a visual aid, to highlight two consecutive green candles after a red candle, and two consecutive red candles after a green candle. We can assume these formations to be potential candidates as an origin of a peak and valley. The highest point of the 1st red candle and lowest point of the 1st green candle is to be considered as break levels.
How to use
Expect attacks/tests or a break of these levels in the future. A solid break through these levels may produce a potential retest in the opposite direction. The greater the number of times a zone is tested, the more likely it is to break.
By using them as reference points, traders are expected to follow their own set of rules and mark higher probability supply and demand zones in the area.
Alerts are added for either a candle close or wick through the levels. For the alerts the script only trails the latest high and low break levels.
This can be used as an alternative to those who use fractals for market structure.
Indicator in use
Peaks
Genie (AB=CD Fibonacci Extensions and Peaks & Valleys)Our proprietary algorithm supports two types of Signals to choose from (and uses Matrices to keep track of the various waves): 'Fibonacci Extensions' where it spots extended waves (XABC) to predict AB=CD moves and puts the Take Profit levels accordingly to commonly used Fibonacci ratios; OR 'P&V' which stands for Peaks & Valleys (M and W) capturing full Peaks and Valleys formations to signal.
Signal Trigger for two types of positions: Breakout or Confirmation when price retraces back to them (so you wait for a candle to close away from price first to Trigger). The idea is whenever a proper Peak or Valley matching those conditions is printed, price usually reacts at those levels by doing a Reversal, so they represent potential entries .
For Confirmation signals, you want price to close away from the level first to then return to it, and that candle close is either a Close (only the close should be outside the level), Hard Close (OPEN and CLOSE outside the level) or Full Close (HIGH, OPEN, CLOSE, LOW all outside the level).
Note that the Signal is to be taken as soon as a Green or Red arrow appears (not before), based on your desired settings.
The Level of Entry is decided by the user; 'Extreme' means you want the algorithm to process based on the Wicks/Pins (Highs and Lows of candles) so while 'Body' means the Borders (Open and Close of candles). Based on this choice the Signal will change accordingly.
The indicator also provides recommended Take Profit levels as well as a Stop Loss levels. The Take Profits are measured based on the wave structure formation.
All features are configurable from the indicator's settings including setting Minimum Take Profit and Reward:Risk (RR) to filter Signals.
This indicator has Alerts for LONG and SHORT signals. You can create a new Alert, select the indicator from the "Condition" list and create it. You can create an Alert for each different timeframe if you want the indicator to monitor various timeframes and give you Alerts accordingly.
Smarter MACDA classic MACD with average peak and dip lines. The lighter green and red horizontal lines are the average peak and dip of the entire span, respectively. The second, bolder of the two lines are the averages of the peaks and dips above and below the overall peak and dip averages. The filled in color is to help visualize these averages and possible trade setups. Rework of the MACD + Averages script.
Power Peaks & Valleys (Williams Fractals)This indicator uses Williams Fractals (standard indicator on TradingView) as a base to identify Peaks and Valleys (Pivot Points) that usually act as Resistance and Support levels. What this indicator brings is powerful options to filter those Fractals out based on:
Candle Type : calculated based on candle Open and Close (All / Bullish / Bearish)
Minimum Candle Size : calculated based on a lookback of past range of candles and measuring their sizes (None / Average of Candles Range / Max of Candles Range)
With these features, you can decide whether you want all Fractals or specific ones that could be considered major due to their candle type and size where the Fractal appears. Usually, drawing a horizontal level for the inner side of the candle (the High of the Bearish candle Fractal or the Low of the Bullish candle Fractal could see nice reactions for entries.
All features are configurable from the indicator's settings.
Please leave a comment for improvements or suggestions. Alerts and more Candle Types or Minimum Candle Size might be added in the future, as well as the ability to auto draw the levels as soon as they appear or removing them if they get invalidated.
Lev Umanov Sin EquationThis indicator is taken from the calculations made by Lev Umanov. It predicts the peaks of Bitcoin. The indicator works with most BTCUSD pairings.
MACD + AveragesA classic MACD with average peak and dip lines. The lighter green and red horizontal lines are the average peak and dip of the entire span, respectively. The second, bolder of the two lines are the averages of the peaks and dips above and below the overall peak and dip averages. The filled in color is to help visualize these averages and possible trade setups.
RSI Divergence Tops + BottomsRSI Indicator which plots local peaks and troughs in divergence.
Divergence is specified as:
- A higher price, with reduced RSI --> Potential Sell Point
- A lower price, with higher RSI --> Potential Buy Point
RSI Divergence should be used in combination with other indicators. This indicator identifies local tops and bottoms, with potential for macro trend shifts.
Read more about trading RSI Divergence on Investopedia here: www.investopedia.com
Double Sided Vix FixVixFix Enhanced by PeterO - Inverse Vix_Fix added, so now this is a dual-sided script (original VixFix shows only lows)
Note from the author: I wouldn't advise betting your strategies entirely on VixFix concept.
Original VixFix created by ChrisMoody on 12-26-2014...V3 MAJOR Update on 1-05-2014
DepthHouse - Peak DivergenceDepthHouse - Peak Divergence indicator uses the same linear regression calculation as my Peak Momentum Oscillator to help determine and plot peak momentum points.
These peak levels are then plotted by either red or green lines above or below the candle.
Red lines represent a peak in bear momentum while green represents peaks in bull momentum.
These levels are then used to determine momentum divergence in the displayed market.
If divergence is present the bars colors will change represent either bull or bear div.
Important Notes:
If the price crosses a peak line and the bar color does not change; it means momentum has increased/decreased with the price and the divergence has been canceled.
If divergence is present, and then the following candle is not colored then momentum has increased to cancel the previously present divergence.
By default, the look-back period is set to zero , which automatically calculates the distance for the peak levels to look-back. However this number can be set to whatever look-back period you would like.
At time of release this indicator is in its early stages. So please leave feedback on how it can be improved!
PVA script to signal peaks and troughs on the go . red diamonds are short opportunities and and greens are long opportunities , to be used in conjunction with other major trend indicators like macd, rsi , cci etc.
Peak/Valley EstimationEarly Signal
Estimating the Peaks and Valleys or extrema of the price is one of the best way to catch up early movements of a trend. Of course there is no perfect way to do so, if we want a perfect estimation of peaks and valleys then we must use a non causal indicator ( repainting ), if we want a causal indicator ( non repainting ) then we will need to tradeoff accuracy for allowing our indicator to be causal, its always a matter of tradeoff at the end when trying to have a desired effect (smoothness/lag for filters) .Our indicator is causal, it wont repaint but the accuracy will depend on various parameters.
In order to detect peaks and valleys in a certain period we must detrend the price, this mean subtracting it by its moving average. We take the absolute value of this result and we filter it with a local linear regression ( LSMA ) in order to eliminate noise, then we make the assumption that the highest of our result is or a peak or a valley of the price, so we divide our detrended calculation by its highest and we get a scaled result. Lets call this final result the peak index .
Parameters
There are 3 parameters in this indicator, a length parameter who control the period of the highest mentioned above, a smooth parameter who smooth our detrended price, and finally a mod parameter who select the trigger method for estimating a peak/valley.
Here are how mods work :
mod = 1 : when the peak index is equal to 1 and the previous value is not equal to 1 then we have a peak/valley. Its the fastest of the 3 mods but the one with less accuracy.
mod = 2 : when the peak index crossunder 0.8 then we have a peak/valley. This method is more robust but slower than the previous one.
mod = 3 : when the peak index is not equal to 1 and the previous peak index is equal to 1 then we have a peak/valley. Its an average of the precedents mod in term of speed and accuracy.
Lower length values tend to estimate the peak/valley of short periods of time but can also lead to the reverse desired effect ( breakouts signals ). Smoothing is important since it reduce the number of noise in our calculation and therefore help to get better results, its a parameter that should be high, sometimes higher than length if this one is low.
Estimation of medium terms peaks/valleys with length and smooth parameter both period 100 and mod = 3
Estimation peaks in palladium way to early, an example of bad accuracy. Such behaviour can be fixed with a change in the parameters.
Complementarity With Classics Indicators
As i said before its always a matter of tradeoff, here we get faster signals but we loose in accuracy, at the contrary classics indicators often have slower signals but with more accuracy. Mixing both of them can provide additional robustness in a strategy, lets take back our palladium case, using mod 3 could have been better, but its still not optimal, so lets use a classic indicator such as a moving average of period 200, our conditions are :
Long when our peak/valley estimator estimated a valley and the price crossover our moving average.
Short when our peak/valley estimator estimated a peak and the price crossunder our moving average.
here is an exemple of such signal :
We balanced our tradeoff in a way to fix both methods problems, of course its still not a perfect fix but it provide more robustness.
Other Uses
The indicator can also be used only as an order closing indicator, its safer than taking a position based on its estimation. The indicator can also give a use to the peak index used in the calculation as a trend strength indicator.
Values below 0.5 indicate a ranging market while values over 0.5 indicate a trending market.Since its a scaled measure you can use it a smoothing constant in a adaptive filter.
Conclusions
I showed how to estimate peaks and valleys and how to use such information in order to make better decision when using classical indicators, of course at the end nothing is perfect and considering the non stationarity of the markets the parameters efficiency could change drastically.
For any questions/demands feel free to pm me, i would be happy to help you
Normalized Average True RangeThis indicator was originally developed by John Forman (Stocks & Commodities, V.24:6 (May, 2006): "Cross-Market Evaluations With Normalized Average True Range").
Mr. Forman uses a normalized average true range indicator to analyze tradables across markets.
Good luck!
Schaff Trend CycleThis indicator was originally developed by Doug Schaff in the 1990s (published in 2008).
Iceberg's Pivot Points Index (Alpha Version)For a friend,
This is still a vvork in progress as this script is an ALPHA version, so I could recomend you not rely on this to build strong signals, if you experiment it, it is at your ovvn risks. It is very unfinished and doesn't give all the signals I'm looking for so far. I'm still trying to catch a proper coding stuff that vvould rock the vvoods.
So basically vvhen all three oscillators peak, short it, and vvhen all three dip, long it. Of course, base your entries on the price actions and don't jump IN blindly as cryptokiddies anyvvhere. This chart is XBT but this indicator may be useful for forex; stocks and commodities asvvell.
I have lots of vvork and experiment to do on that one but this is better used on a 1hr tf and a 12 (or 6) length RSI, so far. Again, don't rely on this, I suggest you to test it in demo if you're interested, I'm using vvhaleclub for fevv months novv, they got a beautiful interface vvith so much ease of use. Here is a referral link if you need it: whaleclub.co
I'm on it, tell me vvhat's your feelings!