MultiTimeFrame Fractals D W M [xdecow]This indicator shows fractals in different timeframes. With the possibility of coloring the bars with any combination of current, daily, weekly and monthly timeframes.
The return points are calculated as follows:
high > last 3 highs and close above highest low
low < last 3 lows and closes below lowest high
The direction of higher timeframes fractals tend to be more durable and reliable. This indicator helps to find the fractal alignment of different timeframes, so that you can look for trade opportunities in the same direction as the higher timeframes and improve your chances.
النقاط المحورية
Created by nitin nraodeo cpr pivot - based on pivot boss vikramCreated by nitin nraodeo cpr pivot - based on pivot boss vikram
Breakout Strategy #1Breakout above previous pivot points trigger a long. Close below pivot lows trigger the exit.
Most effective during trends.
Golden Pivot1. Golden Pivot indicator combines Central Pivot Range and Camarilla Pivots.
2. Pivot calculations are based on Secret of Pivot Boss book by Frank Ochoa.
3. One can also view tomorrow's pivots by today EOD.
[fikira] Divergences (RSI)This script can be used with candlesticks, accompanied with " RSI + Divergences"
The calculation is different than my "Divergences (Pivots)"
Thank you!
[fikira] Harmonic Patterns 2This is "Harmonic Patterns", part 2 Open Source
(in 2 parts, otherwise many lines are gone because the script is too large):
- Crab
- Bat (+ Alt)
- Butterfly
- Shark
A "Pattern" is created by checking 5 consecutive ( pivot ) points, starting with X, A, B, C, and ending with point D.
At point D all 5 points are compared, calculated and verified.
When confirmed, a "Label" will be plotted at point D, together with the "Entry", "Take Profit" and "Stop Loss" price.
The "Entry", "Take Profit" and "Stop Loss" lines will be plotted as well at point D.
Lastly, a "Drawing" automatically will be displayed which makes the "Pattern" visible.
Please do mind, the "Drawing" is calculated differently, the "Drawing" sometimes can be displayed incorrectly
when prices are too close to each other (for example low Satoshi price changes).
THE "ENTRY", "TAKE PROFIT", "STOP LOSS" PRICES AND LINES ARE NOT AFFECTED AT ALL BY THIS, THEY WILL SHOW CORRECTLY!
- 1 "TP point" can be changed ("TP Level 0.618")
- "Labels", "Lines", "Drawings" can be disabled/enabled
- "Labels" can be made smaller or bigger ("Size Label")
- "Labels" can be placed further or closer to the bar ("Distance TP Label" > higher = closer, lower = further)
- "Lines" can be made thicker or thinner ("TP Linewidth")
- "Drawings" can be made thicker or thinner ("Drawings Linewidth")
- "Drawings" are created by comparing with 100 bars back in history (default), should it be (very rarely) a triangle is displayed flat on the left side,
possibly the first point(s) is/are further than 100 bars ago, in this case increase "Period Drawings" above 100.
- Animal symbols can be enabled/disabled
- When several "Patterns" appear on the chart, the oldest ones won't be displayed anymore, first the "Drawings", then the "Lines"
The last (present) ones will always be displayed in total without a problem!
- If you want to see "Patterns" with less correct measurement, change "Error Marge" 0.9 - 1" and "Error Marge" 1 - 1.1"), this gives max. about 10% extra margin
- Added more settings regarding "Drawing Lines"
Thank you very much!
[fikira] Harmonic Patterns 1When using "Harmonic Patterns", always look at the bigger picture, please do not depend solely on the "Pattern".
Use other indicators,... to confirm what you think is going on!
That said, it is quite useful!
Beside my "The Gartley", now, OPEN SOURCE, we have "Harmonic Patterns" in 2 parts (otherwise many lines are gone because the script is too large)
- ABCD
- Gartley
- Cypher
- 5.0
A "Pattern" is created by checking 5 consecutive ( pivot ) points, starting with X, A, B, C, and ending with point D.
At point D all 5 points are compared, calculated and verified.
When confirmed, a "Label" will be plotted at point D, together with the "Entry", "Take Profit" and "Stop Loss" price.
The "Entry", "Take Profit" and "Stop Loss" lines will be plotted as well at point D.
Lastly, a "Drawing" automatically will be displayed which makes the "Pattern" visible.
Please do mind, the "Drawing" is calculated differently, the "Drawing" sometimes can be displayed incorrectly
when prices are too close to each other (for example low Satoshi price changes).
THE "ENTRY", "TAKE PROFIT", "STOP LOSS" PRICES AND LINES ARE NOT AFFECTED AT ALL BY THIS, THEY WILL SHOW CORRECTLY!
- 1 "TP point" can be changed ("TP Level 0.618")
- "Labels", "Lines", "Drawings" can be disabled/enabled
- "Labels" can be made smaller or bigger ("Size Label")
- "Labels" can be placed further or closer to the bar ("Distance TP Label" > higher = closer, lower = further)
- "Lines" can be made thicker or thinner ("TP Linewidth")
- "Drawings" can be made thicker or thinner ("Drawings Linewidth")
- "Drawings" are created by comparing with 100 bars back in history (default), should it be (very rarely) a triangle is displayed flat on the left side,
possibly the first point(s) is/are further than 100 bars ago, in this case increase "Period Drawings" above 100.
- When several "Patterns" appear on the chart, the oldest ones won't be displayed anymore, first the "Drawings", then the "Lines"
The last (present) ones will always be displayed in total without a problem!
- If you want to see "Patterns" with less correct measurement, change "Error Marge" 0.9 - 1" and "Error Marge" 1 - 1.1"), this gives max. about 10% extra margin
- Added more settings regarding "Drawing Lines"
Thank you very much!
Extrapolated Pivot Connector - Lets Make Support And ResistancesIntroduction
The support and resistance methodology remain the most used one in technical analysis, this is mainly due to its simplicity, and unlike lots of techniques used in technical analysis support and resistances have a certain logic, price can sometimes appear moving into a channel, support and resistances allow the trader to estimate such channel and project it into the future in order to spot points where price might reverse direction.
In this script a simple linear support and resistance indicator is proposed, the indicator is made by connecting past pivot high's/low's to more recent ones and extrapolating the resulting connection. The indicator is also able to make support and resistances by using other indicators as input.
Indicator Settings
The indicator include various settings, the first one being the length setting who determine the sensitivity of the pivot high/low detection, low values of length will detect the pivot high/low of noisy variations, while higher values will detect the pivot high/low of longer term variations.
The figure above use length = 5.
The A-High parameter determine the position of the pivot high to be used as first point of the resistance line, higher values will use oldest pivot high's as first point. The B-High parameter determine the last pivot high. A-Low and B-Low work the same way but affect the support line, a label is drawn on the chart in order to help you determine the position of A/B-High/Low.
Using Other Indicators Output As Input
The "Use Custom Source" option allow you to apply the indicator to other indicators, for example we can use a moving average of period 50 as input
Or the rsi :
Let me help you set the proposed indicator easily to indicators appearing on a separate window, for example the momentum oscillator, add the momentum oscillator to the chart, to do so click on indicator and search "momentum", click on the first result, once on the chart put your mouse pointer on the indicator title, you'll see appearing the hide, settings and delete option, at the right of delete you should see three dots which represent the "more" option, click on it and select "Add indicator on Mom" and select the extrapolated pivot indicator, you can do that by searching it, altho it might be easier to do it by adding the indicator to favorites first, you then only need to select it from your favorites.
You might see a mess on the indicator window, thats because the extrapolated pivot is still using high and low as input, go to the settings of the extrapolated pivot indicator and check "Use Custom Source", it should appear properly now.
Tips And Tricks When Using Support And Resistances
Linear support and resistances assume an approximately linear trend, if you see non linear growth in the price evolution you can use a logarithmic scale in order to have a more linear evolution. To do so right click on the the chart scale and select "Logarithmic" or use the following key shortcut "alt + l".
When applying the indicator to an oscillator centered around zero make sure to adjust the settings of the oscillator such that the peak magnitude of the oscillator is relatively constant over time.
Here a roc of period 9 has non constant peak amplitude, you can see that by looking at the position of the pivots (circles), increasing the period of the roc help capture more significant pivots high's/low's
Conclusion
In this post an indicator aiming to draw support and resistances is presented, the fact that it can be applied to any other indicator is a relatively nice option, and i hope you might make use of this feature.
The code make heavy use of the new features that where integrated on the v4 of pine, such features are really focused on making figures and labels, things i don't really work with, but it is nice to step out my short codes habits, and i don't exclude working with figures in pine in the future.
Thanks for reading !
camarilla - Daily,Weekly,Monthly by Ganeshcamarilla - Daily,Weekly,Monthly levels in one chart for support and resitance
(JS) Ultimate RSISo my goal here was to combine all of my RSI ideas into a single indicator in order to make kind of a "Swiss Army Knife" version of the Relative Strength Index ...
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
So, let's begin with the first RSI indicator I made, which is the RSIDVW (Divergence/Volume Weighted);
To rephrase my original post, the "divergence/volume weighted" portion is meant to expand upon the current RSI format by adding more variables into the equation.
The standard RSI is based off one value that you select (open, close, OHLC4, HLC3, etc.) while this version takes three variables into account.
The default setting is to have RSI normal without anything added to it (Divergence Weight = 0)
1st - it takes the standard variable that RSI normally uses.
2nd - it factors RSI divergence by taking the RSI change % and price change % to form a ratio. Using this ratio, I duplicated the RSI formula and created a divergence RS to be factored in with the standard price RS .
3rd - it takes Relative Volume and amplifies/weakens the move based upon volume confirmation. (So if Relative Volume for a price bar is 1.0, the RSI plot would be the same as it normally would)
So to explain the parameters
- Relative Volume Length: This uses the RV length you specify to determine spikes in volume (or lack of volume ), which then is added into the formula to influence the strength of the RSI move
- RV x Divergence: This is how I calculated the original formula, but you can leave this unchecked to turn Relative Volume off, or apply elsewhere.
- RV x RS: There's two sides, Divergence RS and Standard RS - these check marks allow you to select which part you prefer to be multiplied by Relative Volume .
Checking neither turns off Relative Volume , while checking both amplifies its effects by placing it on both sides of the equation.
-Divergence Weight: This controls how much the DVW portion of the formula influences the RSI plot. As I referred to earlier, default is 0 making RSI normal. The Scale is 0-2, so 1.0 would be the same as 50%.
When I do have DVW on, I generally set it to 0.5
-SMA Divergence: To smooth, or not to smooth, that is the question. UJsing an SMA here is much smoother in my opinon, but leaving it unchecked runs it through an RMA the same way standard RSI is calculated.
-Show Fractal Channel: This allows you to see the whole fractal channel around the RSI (This portion of the code, compliments of the original Ricardo Santos fractal script)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The next portion of the script is adding a "Slow RSI"...
This is rather simple really, it allows you to add a second RSI plot so that you can watch for crossovers between fast and slow lines.
-Slow RSI: This turns on the second RSI Plot.
-Slow RSI Length: This determines the length of the second RSI Plot.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Pivot Point RSI was something a friend of mine requested I make which turned out pretty cool, I thought... It is also available in this indicator.
-Pivot Points: Selecting this enables the rest of the pivot point related parts of the script
If Pivot Points isn't selected, none of the following things will work
-Plot Pivot: Plots the pivot point .
-Plot S1/R1: Plots S1/R1.
-Plot S2/R2: Plots S2/R2.
-Plot S3/R3: Plots S3/R3.
-Plot S4/R4: Plots S4/R4.
-Plot S5/R5: Plots S5/R5.
-Plot Halfway Points: Plots a line between each pivot .
-Show Pivot Labels: Shows the proper label for each pivot .
When using intraday charts, from a 15 minute interval or less the pivots are calculated based on a single days worth of price action, above that the distance expands.
Here are the current resolutions Pivot Points will work with:
Minutes - 1 , 2, 3, 5, 10, 13, 15, 20, 30, 39, 78, 130, 195
Hours - 1, 2, 3, 4, 5, 6
Daily
Weekly
Currently not available on seconds or monthly
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Background Colors
Background Colors: I have six color schemes I created for this which can be toggled here (they can be edited).
Gray Background for Dark Mode: Having this on looks much better when using dark mode on your charts.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Now finally the last portion, Fibonacci Levels
-Fibonacci Levels: This is off, by default, which then uses the standard levels on RSI (30-50-70). When turned on, it removes these and marks fib levels from 0.146 through 0.886.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
So the quick rundown:
Ultimate RSI contains "divergence/volume weighted" modifications, a slow RSI plot, pivot points , and Fibonacci levels all while auto-plotting divergence and having the trend illustrated in the background colors.
RSI has always been my "go to" indicator, so I hope you all enjoy this as much as I do!
Pivot Points (Scalptrading)Classic Pivotpoints useful for Scalptrading.
Input Timeframes: Hourly, 4-Hourly, Daily
Month breaksA very simple indicator that marks the start of every month with a vertical line. But default the vertical line is gray with 80% transparency but you can customize the style/color/transparency as you like.
I hate crowded charts, bloated with all kind of crazy shapes and I created this indicator for two main reasons:
1. beginning/end of the month is an excellent pivot-point
2. to be simple, easy to customize and non-intrusive with the underlying chart
See the attached EURUSD daily chart, at the beginning of every month the price pivoted up and down, can you figure out what happens at the end of Dec 2019?
Trade long and prosper!!!
Triangle finderBased on the diags indicator to find triangle patterns on the chart.
Increase the "Line Length" to find more patterns
Pivot trend indicatorThis is a LAGGING indicator which can provide a good indication of trend. It require a certain (configurable) number of candles to have closed before it can determine whether a pivot has formed.
It provides a 20 period SMA for the timeframe of your choice which is color coded to show the trend according to confirmed pivots.
Anticipated usage:
Long / Short bias is determined by pivot trend
Trader seeks entries according to their strategy
Black consolidation areas may trigger a re-evaluation of the trade and can serve as good profit taking areas
The SMA colors:
Green -> Higher highs & Higher lows
Red -> Lower highs & Lowers lows
Black -> No clear trend from the pivots
Why the 20 SMA?
Feel free to adjust it for your purposes. I personally find that using a higher time frame 20 SMA is a better indication of trend than longer period MAs on shorter time frames. This can be seen from comparing the 20 daily SMA and 200 hourly SMA.
Pivot adjustment
The pivots use the selected time frame (not) the MA trend time frame. You can specify the left and right candles required to confirm a pivot
Pivot of Pivot Reversal Strategy [QuantNomad]Continue looking for more signifcant pivot points.
This script is based on my "Significant Pivot Reversal Strategy".
In this strategy I use concept of pivot of pivot points.
So for PoP I require that pivot highs point should have 2 lower pivot highs points around them and pivot low 2 higher pivot lows points.
Transparent lines represent usual pivot levels ints.
Not transparent lines represent pivot of pivot levels.
Link to original script:
Swing High/LowPlots the swing high and low points based on user configurable look back settings. Also allows you to plot the most recent swing low as a horizontal line for obvious stop point on long setups.
CPR WidthThe indicator shows the width of the Central Pivot Range. Frank Ochoa call it It Pivot Range Histogram in his book.
Use it in conjunction with the Central Pivot Range indicator.
Below is the interpretation of the reading.
CPR Width > 0.5 - Sideways or Trading Range Day,
CPR Width > 0.75 - increases the likelihood of sideways trading behavior,
CPR Width < 0.5 - Trending type of day,
CPR Width < 0.25 - increases the likelihood of a trending market.
The above reading only increases the likely-hood of the possibility and not always right.
The Multi-day Central Pivot RangeThe indicator is a Multi-day CPR.
It shows CPR range as per yesterday's HLC and also CPR range for last n number of trading sessions.
For example: If you mention the value as two in Multi-day CPR (blue color) then it calculates the CPR using HLC of the last two trading sessions.
Also, the daily CPR is designed in such a way to highlight Virgin CPR (purple color) separately from the normal CPR(fuchsia color) .