Intraday Direction Finder For Indices (Based On VWAP) Happy Independence Day..!!
------------------------------------------------------------------------
This indicator is based on the concept shared by "learntotrade365" to Find Intraday Direction for Index.
To decide the direction of Index we check whether the constituent Stocks are trading above VWAP or below VWAP.
Lets Consider Banknifty Example.
Banknifty Constituents are:
HDFC Bank
ICICI Bank
KOTAK Bank
SBI
AXIS Bank
IndusInd Bank
Based on concept, where above stocks are trading decides the direction as follows
Ratio Concept (Color)
6:0 Super Bullish (Lime)
5:1 Bullish(Green)
4:2 Mild Bullish (Aqua)
3:3 Sideways(Blue)
2:4 Mild Bearish ( Orange)
1:5 Bearish (Fuchsia)
0:6 Super Bearish (Red)
-------------------------------------------------------------------------
Features :-
1) Screener
In this Screener, we can clearly see which stock is trading above VWAP
& which is trading below VWAP along with ratio.
2) Chart Candle Colors
One can able to project candle colors according to Ratio colors.
3)Chart Background Color
One can set background color of chart if he is required.
------------------------------------------------------------------------
Same this can be used with other indices also like Nifty, Finnifty etc.
-------------------------------------------------------------------------
Thanks For Reading Till here...!!
------------------------------------------------------------------------
Kindly share your feedback or any suggestions.
------------------------------------------------------------------------
Cerca negli script per "screener"
TDMACD Divergence Multi Timeframe and Alert [5ema]I reused some functions, made by (i believe that):
@paaax: The table position function.
@everget: The RSI divergence function.
@QuantNomad: The function calculated value and array to show on table for input symbols.
@ChaosTrader: The function calculated value TDMACD.
-----
What to do?
MACD divergence signal.
The crossing of MACD and Signal line.
The reversal of MACD.
The reversal of Signal line.
The screener follow 6 different timeframes.
Set notification alert when signal appears.
-----
How is it created?
MACD line = fastMA - slowMA.
Signal line = ta.ema(macd(), signalLength)
Make function for pivot low & high point of MACD and price.
Request.security that function for earch time frame.
-----
How to use?
Can be combined with many other indicators or candlestick patterns.
Customize the input indicators to suit your strategy
1. MACD reversed:
2. Signal line reversed:
3. MACD Divergence :
4. MACD crossing Signal line:
5. Signal on Screener for multi time frame:
Green ⦿: Buy.
Red ⦿: Sell.
Green 〇: Review Buy.
Red 〇: Review Sell.
-----
This indicator is for reference only, you need your own method and strategy.
If you have any questions, please let me know in the comments.
Cloud Bunching [5ema]Reused some functions from (i believe made by):
©paaax: The table position function.
@QuantNomad: The function calculated value and array screener for 40+ instruments .
How it uses:
Gives signal when the cloud is bunching with ratio smaller than the set ratio and the close price breaking out the cloud.
Track 40 different symbols, on any timeframe to follow and alert.
When a symbol has a signal, it will display on the chart and send an alert.
How it works:
The cloud created by 5 EMA (20, 50, 200, 460, 610). Upper Cloud is max EMA , Lower Cloud is min EMA . Center line is averange (5 EMA )
If the ratio upper / lower < input bunching (%) -> change color of cloud.
Get the signal if: the close price break out cloud (with bar is shooting, or hammer ,...) and high volume (or not).
With another symbols (max 40 ) also use that function with any time frame. By request.security() and array function.
How it setting:
Change the bunching rate (%) of the clouds for any symbols.
Change the percentage (%) of the close price that breaks out of the bunching cloud.
Choose volume condition.
Show or turn off the cloud, table.
Select the symbol to follow.
Choose a timeframe to follow other symbols.
----
This indicator is for reference only, you need your own method and strategy.
If you have any questions, please let me know in the comments.
Financial Data Spreadsheet [By MUQWISHI]The Financial Data Spreadsheet indicator displays tables in the form of a spreadsheet containing a set of selected financial performances of a company within the most recent reported period. Analyzing Financial data is one of the classic methods to evaluate whether the company’s stock price is overvalued or undervalued based on its income statement, balance sheet, and cash flow statement. This indicator might be practical to investors to collect needed data of a company to analyze and compare it with other companies on a TradingView chart or print it in spreadsheet form.
█ OVERVIEW
█ BEST PRACTICES
Due to strict limitations on calling request.financial() function, I tried to develop the table with the best ways to be more dynamic to move and the ability to join multiple tables into a spreadsheet. Users can add up to 20 instruments and 2 financial metrics per table. However, it’s possible to add many tables with other financial metrics, then connect them to the main table.
Credits: The idea of joining multiple tables inspired by @QuantNomad Screener for 40+ instruments
█ INDICATOR SETTINGS
1- Moving Table toward right-left up-down from its origin.
2- Hiding Column Title checkmark. Useful for adding a joined table underneath with additional instruments.
3- Hiding Instruments Title checkmark. Useful for adding a joined table on the right with other financial metrics.
4- Shade Alternate Rows checkmark. I believe it’ll make the table easier to read.
5- Selecting Financial Period. (Year, Quarter).
6- Entering a currency.
7- Choosing a financial ID for each column. There’re over 200 financial IDs. Source: What financial data is available in Pine? — TradingView
8- Optional to highlight values in between.
9- Entering the ticker’s symbol with the ability to activate/deactivate.
█ TIP
For best technical performance, use the indicator in a 1D timeframe.
Please let me know if you have any questions.
Thank you.
[co.n.g.] ADR 5/10/14/20Average Daily Range (ADR) over 5/10/14/20 Days
What it is
One of the oldest measurements of price volatility that is being used in technical and statistical trading is the range of a specific period of past days to estimate probability of chances, risk and price movements, as seen f.e. in
Molodovsky, N. (1967). Building a Stock Market Measure—A Case Study. Financial Analysts Journal, 23:3, 43-46 , DOI: 10.2469/faj.v23.n3.43.
Problem
After having tried all available community scripts I've encountered various indifferences, especially since Pine v5.
First, the anchor period changed, when I've switched between regular and extended trading hours.
- This meant, that the anchor switched between the official open of the day and the first bar of a new day beginnig at 00:00 UTC (or the corresponding timezone).
Second, thus in some scripts also changed the calculated average range, including or excluding pre market and after hours.
And therefor third, in many cases the distance between open and ADR high/low was indiffferent, putting one closer and the other further away.
Why is that?
After having tried seven different modes of calulation - from ta. to array, it appeared that especially since Pine v5 the calulation is lagging when calling
the request.security function and is thus rendering the calculations indifferent.
Especially the open is lagging and plotting delayed, about 15 minutes on a M1-chart or about 45 minutes on a M15 chart, which made id difficult to spot open (test) drives
- as f.e. described in Dalton, J. F., Jones, E. T., & Dalton, R. B. (1990). Mind over markets: power trading with market generated information. 1st edition . Probus. -
and estimating extremely strong or weak open moves.
While switching between regular and extended intraday charts, the open was either calculated on the open as request of "D" (open of the regular session)
and "1440" (which means full intraday since 00:00 UTC or the corresponding timezone), leading to undesired anchoring.
After having tried about five different anchoring periods and comparing the adr to @TradingView 's stock screener, there was no proper calulation or plotting possible,
if not partially hardcoded (being the least desired, elegant or flexible method).
Visualizing the problem
As described in the picture:
@sherwind 's ADR is plotting entirely wrong! I couldn't even figure out (even the source is available) whre the problem is rooted.
@treypeng 's ADR is anchored properly, but unfortunately the calculation is wrong.
Originality
As evident in the attached picture - and you are able to compare this to @TradingView 's stock screener - in this script as well the ADR is calculated PROPERLY
as well as the anchoring is set PROPERLY within the first tick of the session.
As matter of fact, you don't have to examine different timeframes, charts or sessions simoultaneously to see the correct levels and
you're able to ease observations and focus on your trading.
Innovation
There is no innovative approach, as described above, simply because this statistical approach is around since the 1960's.
Considering coding, neither is, but it is properly calculated and anchored.
What this script does
Anchoring at the first tick of the new New York session
Plotting the actual - not the past nor future - average day range (gray lines in picture)
Plotting the actual - not the past nor future - 75% average day range ( silver lines in picture)
Vizualising ADR breakouts by colouring the backround green (long breakout) or read (short breakout)
Selection methods
Keeping it simple stupid, as of now:
Abiliy to chose between 5/10/14/20 days
Additional
Theory says, that we are staying within the ADR of 75% every day.
_
Alas, there are some exceptions.
If price is breaking out of the ADR, we are likely to move in this direction for the rest of the day.
If price has broken out of the ADR on the previous day, ist highly unlikely to expect another ADR breakout day,
which doesn't mean that there might not appear a strong or weak second day.
Notes
Designed for intraday stock trading of the U.S. market.
Best (and easiest) chances are to be spotted in special conditions.
//Cheers,
//Constantine
Crypto-DX Crypto Directional Index [chhslai]Crypto-DX can be used to help measure the overall strength and direction of the crypto market trend.
Furthermore, it can be used as a screener to find out cryptocurrencies which are accumulating momentum and tends to potentially pump or dump.
How this indicator works :
If the Crypto-DX cross above the zero-level, it could be an indication that there is a trend reversal into upward. You should close your short position or place a long order right away.
If the Crypto-DX cross below the zero-level, it could be an indication that there is a trend reversal into downward. You should close your long position or place a short order right away.
If the Crypto-DX is consolidated around the zero-level, it could be an indication that the trend may be ended and followed by a sideway market. You are suggested not to place any order and wait for the market moves.
Divergence based trading strategy is fully applicable, just like the MACD.
Screener features :
Plot "Crypto Index" and "5 Custom Crypto"
Plot "Crypto Index" and "Top 30 Crypto"
AC- MY SCRIPT1My Ac- My Scrpt1 that the BUY and SELL signals (trend reversals) for many coins defined different tickers in Tradingview charts
Terminology explanation:
Confirmed Reversal: Oxford T reversal that happened in the last bar and cannot be repainted.
Potential Reversal: Oxford T reversal that might happen in the current bar but can also not happen depending upon the timeframe closing price.
Downtrend: Tickers that are currently in the sell zone
Uptrend: Tickers that are currently in the buy zone
List and show has also got a built in Oxford T indicator which users can confirm the reversals on graphs.
Screener explores the 40 tickers in current graph's time frame and also in desired parameters of the OTT indicator.
Also you can optimize the parameters manually with the built in STRATEGY version.
Built in Moving Average type defaultly set as VAR but users can choose from 8 different Moving Average types like:
SMA : Simple Moving Average
EMA : Exponential Movin Average
WMA : Weighted Moving Average
TMA : Triangular Moving Average
VAR : Variable Index Dynamic Moving Average aka VIDYA
WWMA : Welles Wilder's Moving Average
ZLEMA : Zero Lag Exponential Moving Average
TSF : True Strength Force
Tip: In sideways VAR would be a good choice
You can use OxforfT default alarms and Buy Sell signals like:
1-
BUY when Prices are above OxfordT
SELL when Prices are below OxfordT
2-
BUY when OxfordT support Line crosses over OoxfordT line.
SELL when OxfordT support Line crosses under OxfordT line.
3-
BUY when OxfordT line is Green and makes higher highs.
SELL when OxfordT line is Red and makes lower lows.
IMPORTANT: SCREENER ONLY EXPLORES AND SCREENS FOR THE 2nd SIGNAL TYPE:
BUY when OxfordT support Line crosses over OxfordT line.
SELL when OxfordT support Line crosses under OxfordT line.
[JL] How Many Signals last N barsGot this idea after I found Multiple Indicators Screener from QuantNomad.
This script learnt some codes from QuantNomad's great script. Thanks to him.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This table show how many signals happened during the last N bars.
I only take care Forex, so this table only has 28 symbols. Feel free to change it.
Calculate the following signals:
RSI cross over/under 50
Short Moving average cross over/under long moving average
Stochastic k cross over/under d
MACD hist cross over/under 0
Williams Fractals: Up and Down fractals happened.
The concept is simple: Range period will always happen more cross signals than the trend period.
When the counter is less than median of all symbols, will be set green color. So more green mean more chance to be trend.
RSI Moving Average CrossoversThis script is an improved version of the RSI indicator, using a moving average on the RSI itself, as well as two other moving averages used to determine the current trend.
A small screener indicating the current movement is displayed in the bottom-left zone of the chart: trend (Bullish/Bearish/Uncertain) and status (Impulse or Correction)
Trends are simply based on moving averages crossovers, coupled to the fact that the current candle closes above the fast MA in a bull trend, and under the fast MA in a bear trend. In other cases, the trend and the movement are considered as "Uncertain" by the indicator.
Options
Various types of moving averages for the RSI and trend MA
Show/Hide crossovers between the RSI and its MA
Color the RSI normal zone with the current trend/movement colors
Show/Hide the screener indicating the current movement
Defaults Parameters
Fast MA 20
Slow MA 50
MA source: Close
RSI Length 14
RSI MA: SMMA (RMA)
RSI MA Length: 20
Don't hesitate to suggest any idea which could improve this indicator.
BEST Algo HeatmapHello traders
How to access?
Offered to all the current customers
To be used alongside the BTI Algo Global script.
Heatmap
This heatmap screens the BTI Algo Global signals across different timeframes.
The screened timeframes are for now: m1/m2/m5/m15/m30/H1/H2/H4/H8/Daily
The trends are based on the triangle primary signals
Limitations
- I could only access the last 20K loaded candles, then you might see a blank case for the screened high timeframes when you're loading the screener on a low timeframe chart.
Example: a 1-minute chart with the screener might struggle sometimes to display the 4H/8H/Daily data
- What to do then?
I found a hack.
Just load the chart on a much higher timeframe and you should be able to see the latest timeframes from the heatmap
If any questions, please let me know
Dave
[Hud] Signal 4HIDEAS :
- Original idea from @BURSATRENDBANDCHART
- Basically, it is an intraday technique to find potential stock with the intention to get 2- 4 bids profit ( FIFO )
STEP :
1. Must use 4 Hour Timeframe ( 4H )
2. Find entry based on percentage price increase compared to previous candle ( yesteday close price )
3. If the afternoon closing price is 5% > than yesterday close price ( default setting, and can be adjusted ), then indicator will show "Signal Pagi" label
4. Use Tradingview Screener to select the stocks when market breaks in the afternoon.
5. Add alert to selected counter ( using TV screener ) using 4H indicator and wait for BUY signal.
TAKE PROFIT ( TP )
- Target to TP after 2-4 bids profit
- sell at the end of day or early next morning
- Trade At Your Own Risk
CUT LOSS
- When it break closing price of previous candle or
- Red Dot = 50% of previous candle
NOTE :
- You need to have real-time data to use this indicator.
TS - Trading AlgorithmWhat is it?
The Tradespot MA Algo is an all in one, profitable moving average based trading strategy that presents long and short opportunities.
This indicator does not repaint. Once a bar has closed, the signal will remain permanently printed onto the chart.
What can I do with it?
Use on the following markets:
COINBASE:BTCUSD
COINBASE:ETHUSD
COINBASE:ETHBTC
Timeframe: 1D
What does each signal mean?
Long label is a strong buy signal
Short label is a strong sell signal
X's indicate a warning telling you that you should possibly exit your position. You should review these signals alongside other indicators such as volatility.
Review X signals?
Yes, there are concrete buys and sells but the X's indicate possible exits that might also be fakeouts, we can created the perfect indicator set up to review these with our TS - Trend Confirmation indicator and our TS - Volatility Screener indicator
How do I get access?
Please contact me on TradingView for details.
[Daveatt] BEST ABCD Pattern Strategy (Trailing SL + TP)Hello traders
This is the strategy version of my ABCD pattern. I added the Trailing Stop and Trailing Profit upon a follower request
I - Concept
I present to you, ladies and gentlemen, the first screener for harmonic patterns .
Starting with an ACBD pattern screener this time!!
I used the calculations from Ricardo Santo's script
In short, he's using fractals (regular or Bill Williams ) for the pattern calculations. A masterpiece !!!
II - Definitions
The ABCD pattern ( AB=CD ) is one of the classic chart patterns which is repeated over and over again.
The ABCD pattern shows perfect harmony between price and time.
The Williams Fractal is an indicator, developed by Bill Williams , that aims to detect reversal points (highs and lows) and marks them with arrows.
Up fractals and down fractals have specific shapes. The Williams Fractal indicator helps users determine in which direction price will develop
💎Strategy filters💎
I included some cool backtest filters:
- Trailing stop with trigger concept coming from this Trailing Stop Strategy
- Trailing profit with trigger coming from this Trailing Profit Strategy
Last words
It works for all asset classes (Forex, crypto, indices, etc...) and does not repaint
All the BEST
Dave
Rainbow Force - Multi Timeframe [WYCKOFF ARSENAL]🌈 Rainbow Force - Multi Timeframe WYCKOFF ARSENAL
The purpose of the Force is to provide an indication of the pressure being applied to push the market lower or the pull being applied to the market to pull it higher.
The Rainbow Force can be used on any available timeframes and assets with volume data .
It is a combination of Force instances of different lengths that are plotted on the same chart.
The confluence zones can hint at a price reversal and help estimate the trend strength.
The Rainbow Force can be combined with other technical analysis tools as a trend-following indicator.
When the trend is strong and the other indicators used to determine entry points send a bullish or a bearish signal, a position can be opened.
When the trend is weak, opening new positions should not be to consider.
The Rainbow Force can also be used on its own. The angles of the Rainbow will hint at the trend strength.
The steeper the curve, the stronger the trend. The flatter the curve, the weaker the trend.
A Buy position can be opened in the beginning of a strong positive trend .
A Sell position can be opened in the beginning of a strong negative trend .
During a strong trend, short-lived retracements can be found, and it is possible to enter a position in the direction of the general trend against the retracement.
The Rainbow mode can be experienced with the Multi RSI indicator as well.
Related tools :
▪ Optimism Pessimism
▪ Force
- 🌈 Rainbow Force ◄
▪ Technometer
- 🌈 Rainbow Technometer
▪ Momentum
- 🌈 Rainbow Momentum
▪ Market Screener
Rainbow Technometer - Multi Timeframe [WYCKOFF ARSENAL]🌈 Rainbow Technometer - Multi Timeframe WYCKOFF ARSENAL
The purpose of the Technometer is to provide a mathematical indication of the degree to which the market is overbought or oversold .
The value of the Technometer could be as high as 100 or as low as 0. The other possible values would represent degrees of overbought or oversold.
In Rainbow form, the Technometer could also be used as a trend-following indicator.
The Rainbow Technometer can be used on any available timeframes and assets with volume data .
It is a combination of Technometer instances of different lengths that are plotted on the same chart.
The confluence zones can hint at a price reversal and help estimate the trend strength.
The Rainbow Technometer can be combined with other technical analysis tools as a trend-following indicator.
When the trend is strong and the other indicators used to determine entry points send a bullish or a bearish signal, a position can be opened.
When the trend is weak, opening new positions should not be to consider.
The Rainbow Technometer can also be used on its own. The angles of the Rainbow will hint at the trend strength.
The steeper the curve, the stronger the trend. The flatter the curve, the weaker the trend.
A Buy position can be opened in the beginning of a strong positive trend .
A Sell position can be opened in the beginning of a strong negative trend .
During a strong trend, short-lived retracements can be found, and it is possible to enter a position in the direction of the general trend against the retracement.
The Rainbow mode can be experienced with the Multi RSI indicator as well.
Related tools :
▪ Optimism Pessimism
▪ Force
- 🌈 Rainbow Force
▪ Technometer
- 🌈 Rainbow Technometer ◄
▪ Momentum
- 🌈 Rainbow Momentum
▪ Market Screener
Rainbow Momentum - Multi Timeframe [WYCKOFF ARSENAL]🌈 Rainbow Momentum - Multi Timeframe WYCKOFF ARSENAL
The purpose of the Momentum is to provide a measure of the speculative interest in the market.
In Rainbow form, the Momentum could also be used as a trend-following indicator.
The Rainbow Momentum can be used on any available timeframes and assets with volume data .
It is a combination of Momentum instances of different lengths that are plotted on the same chart.
The confluence zones can hint at a price reversal and help estimate the trend strength.
The Rainbow Momentum can be combined with other technical analysis tools as a trend-following indicator.
When the trend is strong and the other indicators used to determine entry points send a bullish or a bearish signal, a position can be opened.
When the trend is weak, opening new positions should not be to consider.
The Rainbow Momentum can also be used on its own. The angles of the Rainbow will hint at the trend strength.
The steeper the curve, the stronger the trend. The flatter the curve, the weaker the trend.
A Buy position can be opened in the beginning of a strong positive trend .
A Sell position can be opened in the beginning of a strong negative trend .
During a strong trend, short-lived retracements can be found, and it is possible to enter a position in the direction of the general trend against the retracement.
The Rainbow mode can be experienced with the Multi RSI indicator as well.
Related tools :
▪ Optimism Pessimism
▪ Force
- 🌈 Rainbow Force
▪ Technometer
- 🌈 Rainbow Technometer
▪ Momentum
- 🌈 Rainbow Momentum ◄
▪ Market Screener
All Harmonic Patterns [theEccentricTrader]█ OVERVIEW
This indicator automatically draws and sends alerts for all of the harmonic patterns in my public library as they occur. The patterns included are as follows:
• Bearish 5-0
• Bullish 5-0
• Bearish ABCD
• Bullish ABCD
• Bearish Alternate Bat
• Bullish Alternate Bat
• Bearish Bat
• Bullish Bat
• Bearish Butterfly
• Bullish Butterfly
• Bearish Cassiopeia A
• Bullish Cassiopeia A
• Bearish Cassiopeia B
• Bullish Cassiopeia B
• Bearish Cassiopeia C
• Bullish Cassiopeia C
• Bearish Crab
• Bullish Crab
• Bearish Deep Crab
• Bullish Deep Crab
• Bearish Cypher
• Bullish Cypher
• Bearish Gartley
• Bullish Gartley
• Bearish Shark
• Bullish Shark
• Bearish Three-Drive
• Bullish Three-Drive
█ CONCEPTS
Green and Red Candles
• A green candle is one that closes with a close price equal to or above the price it opened.
• A red candle is one that closes with a close price that is lower than the price it opened.
Swing Highs and Swing Lows
• A swing high is a green candle or series of consecutive green candles followed by a single red candle to complete the swing and form the peak.
• A swing low is a red candle or series of consecutive red candles followed by a single green candle to complete the swing and form the trough.
Peak and Trough Prices
• The peak price of a complete swing high is the high price of either the red candle that completes the swing high or the high price of the preceding green candle, depending on which is higher.
• The trough price of a complete swing low is the low price of either the green candle that completes the swing low or the low price of the preceding red candle, depending on which is lower.
Historic Peaks and Troughs
The current, or most recent, peak and trough occurrences are referred to as occurrence zero. Previous peak and trough occurrences are referred to as historic and ordered numerically from right to left, with the most recent historic peak and trough occurrences being occurrence one.
Upper Trends
• A return line uptrend is formed when the current peak price is higher than the preceding peak price.
• A downtrend is formed when the current peak price is lower than the preceding peak price.
• A double-top is formed when the current peak price is equal to the preceding peak price.
Lower Trends
• An uptrend is formed when the current trough price is higher than the preceding trough price.
• A return line downtrend is formed when the current trough price is lower than the preceding trough price.
• A double-bottom is formed when the current trough price is equal to the preceding trough price.
Range
The range is simply the difference between the current peak and current trough prices, generally expressed in terms of points or pips.
Wave Cycles
A wave cycle is here defined as a complete two-part move between a swing high and a swing low, or a swing low and a swing high. The first swing high or swing low will set the course for the sequence of wave cycles that follow; for example a chart that begins with a swing low will form its first complete wave cycle upon the formation of the first complete swing high and vice versa.
Figure 1.
Retracement and Extension Ratios
Retracement and extension ratios are calculated by dividing the current range by the preceding range and multiplying the answer by 100. Retracement ratios are those that are equal to or below 100% of the preceding range and extension ratios are those that are above 100% of the preceding range.
Fibonacci Retracement and Extension Ratios
The Fibonacci sequence is a series of numbers in which each number is the sum of the two preceding numbers, starting with 0 and 1. For example 0 + 1 = 1, 1 + 1 = 2, 1 + 2 = 3, and so on. Ultimately, we could go on forever but the first few numbers in the sequence are as follows: 0 , 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144.
The extension ratios are calculated by dividing each number in the sequence by the number preceding it. For example 0/1 = 0, 1/1 = 1, 2/1 = 2, 3/2 = 1.5, 5/3 = 1.6666..., 8/5 = 1.6, 13/8 = 1.625, 21/13 = 1.6153..., 34/21 = 1.6190..., 55/34 = 1.6176..., 89/55 = 1.6181..., 144/89 = 1.6179..., and so on. The retracement ratios are calculated by inverting this process and dividing each number in the sequence by the number proceeding it. For example 0/1 = 0, 1/1 = 1, 1/2 = 0.5, 2/3 = 0.666..., 3/5 = 0.6, 5/8 = 0.625, 8/13 = 0.6153..., 13/21 = 0.6190..., 21/34 = 0.6176..., 34/55 = 0.6181..., 55/89 = 0.6179..., 89/144 = 0.6180..., and so on.
Fibonacci ranges are typically drawn from left to right, with retracement levels representing ratios inside of the current range and extension levels representing ratios extended outside of the current range. If the current wave cycle ends on a swing low, the Fibonacci range is drawn from peak to trough. If the current wave cycle ends on a swing high the Fibonacci range is drawn from trough to peak.
Measurement Tolerances
Tolerance refers to the allowable variation or deviation from a specific value or dimension. It is the range within which a particular measurement is considered to be acceptable or accurate. I have applied this concept in my pattern detection logic and have set default tolerances where applicable, as perfect patterns are, needless to say, very rare.
Chart Patterns
Generally speaking price charts are nothing more than a series of swing highs and swing lows. When demand outweighs supply over a period of time prices swing higher and when supply outweighs demand over a period of time prices swing lower. These swing highs and swing lows can form patterns that offer insight into the prevailing supply and demand dynamics at play at the relevant moment in time.
‘Let us assume… that you the reader, are not a member of that mysterious inner circle known to the boardrooms as “the insiders”… But it is fairly certain that there are not nearly so many “insiders” as amateur trader supposes and… It is even more certain that insiders can be wrong… Any success they have, however, can be accomplished only by buying and selling… hey can do neither without altering the delicate poise of supply and demand that governs prices. Whatever they do is sooner or later reflected on the charts where you… can detect it. Or detect, at least, the way in which the supply-demand equation is being affected… So, you do not need to be an insider to ride with them frequently… prices move in trends. Some of those trends are straight, some are curved; some are brief and some are long and continued… produced in a series of action and reaction waves of great uniformity. Sooner or later, these trends change direction; they may reverse (as from up to down), or they may be interrupted by some sort of sideways movement and then, after a time, proceed again in their former direction… when a price trend is in the process of reversal… a characteristic area or pattern takes shape on the chart, which becomes recognisable as a reversal formation… Needless to say, the first and most important task of the technical chart analyst is to learn to know the important reversal formations and to judge what they may signify in terms of trading opportunities’ (Edwards & Magee, 1948).
This is as true today as it was when Edwards and Magee were writing in the first half of the last Century, study your patterns and make judgements for yourself about what their implications truly are on the markets and timeframes you are interested in trading.
Over the years, traders have come to discover a multitude of chart and candlestick patterns that are supposed to pertain information on future price movements. However, it is never so clear cut in practice and patterns that where once considered to be reversal patterns are now considered to be continuation patterns and vice versa. Bullish patterns can have bearish implications and bearish patterns can have bullish implications. As such, I would highly encourage you to do your own backtesting.
There is no denying that chart patterns exist, but their implications will vary from market to market and timeframe to timeframe. So it is down to you as an individual to study them and make decisions about how they may be used in a strategic sense.
Harmonic Patterns
The concept of harmonic patterns in trading was first introduced by H.M. Gartley in his book "Profits in the Stock Market", published in 1935. Gartley observed that markets have a tendency to move in repetitive patterns, and he identified several specific patterns that he believed could be used to predict future price movements. The bullish and bearish Gartley patterns are the oldest recognized harmonic patterns in trading and all the other harmonic patterns are modifications of the original Gartley patterns. Gartley patterns are fundamentally composed of 5 points, or 4 waves.
Since then, many other traders and analysts have built upon Gartley's work and developed their own variations of harmonic patterns. One such contributor is Larry Pesavento, who developed his own methods for measuring harmonic patterns using Fibonacci ratios. Pesavento has written several books on the subject of harmonic patterns and Fibonacci ratios in trading. Another notable contributor to harmonic patterns is Scott Carney, who developed his own approach to harmonic trading in the late 1990s and also popularised the use of Fibonacci ratios to measure harmonic patterns. Carney expanded on Gartley's work and also introduced several new harmonic patterns, such as the Shark pattern and the 5-0 pattern.
█ INPUTS
• Change pattern and label colours
• Show or hide patterns individually
• Adjust pattern tolerances
• Set or remove alerts for individual patterns
█ NOTES
You can test the patterns with your own strategies manually by applying the indicator to your chart while in bar replay mode and playing through the history. You could also automate this process with PineScript by using the conditions from my swing and pattern libraries as entry conditions in the strategy tester or your own custom made strategy screener.
█ LIMITATIONS
All green and red candle calculations are based on differences between open and close prices, as such I have made no attempt to account for green candles that gap lower and close below the close price of the preceding candle, or red candles that gap higher and close above the close price of the preceding candle. This may cause some unexpected behaviour on some markets and timeframes. I can only recommend using 24-hour markets, if and where possible, as there are far fewer gaps and, generally, more data to work with.
█ SOURCES
Edwards, R., & Magee, J. (1948) Technical Analysis of Stock Trends (10th edn). Reprint, Boca Raton, Florida: Taylor and Francis Group, CRC Press: 2013.
All Chart Patterns [theEccentricTrader]█ OVERVIEW
This indicator automatically draws and sends alerts for all of the chart patterns in my public library as they occur. The patterns included are as follows:
• Ascending Broadening
• Broadening
• Descending Broadening
• Double Bottom
• Double Top
• Triple Bottom
• Triple Top
• Bearish Elliot Wave
• Bullish Elliot Wave
• Bearish Alternate Flag
• Bullish Alternate Flag
• Bearish Flag
• Bullish Flag
• Bearish Ascending Head and Shoulders
• Bullish Ascending Head and Shoulders
• Bearish Descending Head and Shoulders
• Bullish Descending Head and Shoulders
• Bearish Head and Shoulders
• Bullish Head and Shoulders
• Bearish Pennant
• Bullish Pennant
• Ascending Wedge
• Descending Wedge
• Wedge
█ CONCEPTS
Green and Red Candles
• A green candle is one that closes with a close price equal to or above the price it opened.
• A red candle is one that closes with a close price that is lower than the price it opened.
Swing Highs and Swing Lows
• A swing high is a green candle or series of consecutive green candles followed by a single red candle to complete the swing and form the peak.
• A swing low is a red candle or series of consecutive red candles followed by a single green candle to complete the swing and form the trough.
Peak and Trough Prices
• The peak price of a complete swing high is the high price of either the red candle that completes the swing high or the high price of the preceding green candle, depending on which is higher.
• The trough price of a complete swing low is the low price of either the green candle that completes the swing low or the low price of the preceding red candle, depending on which is lower.
Historic Peaks and Troughs
The current, or most recent, peak and trough occurrences are referred to as occurrence zero. Previous peak and trough occurrences are referred to as historic and ordered numerically from right to left, with the most recent historic peak and trough occurrences being occurrence one.
Upper Trends
• A return line uptrend is formed when the current peak price is higher than the preceding peak price.
• A downtrend is formed when the current peak price is lower than the preceding peak price.
• A double-top is formed when the current peak price is equal to the preceding peak price.
Lower Trends
• An uptrend is formed when the current trough price is higher than the preceding trough price.
• A return line downtrend is formed when the current trough price is lower than the preceding trough price.
• A double-bottom is formed when the current trough price is equal to the preceding trough price.
Range
The range is simply the difference between the current peak and current trough prices, generally expressed in terms of points or pips.
Retracement and Extension Ratios
Retracement and extension ratios are calculated by dividing the current range by the preceding range and multiplying the answer by 100. Retracement ratios are those that are equal to or below 100% of the preceding range and extension ratios are those that are above 100% of the preceding range.
Measurement Tolerances
Tolerance refers to the allowable variation or deviation from a specific value or dimension. It is the range within which a particular measurement is considered to be acceptable or accurate. I have applied this concept in my pattern detection logic and have set default tolerances where applicable, as perfect patterns are, needless to say, very rare.
Chart Patterns
Generally speaking price charts are nothing more than a series of swing highs and swing lows. When demand outweighs supply over a period of time prices swing higher and when supply outweighs demand over a period of time prices swing lower. These swing highs and swing lows can form patterns that offer insight into the prevailing supply and demand dynamics at play at the relevant moment in time.
‘Let us assume… that you the reader, are not a member of that mysterious inner circle known to the boardrooms as “the insiders”… But it is fairly certain that there are not nearly so many “insiders” as amateur trader supposes and… It is even more certain that insiders can be wrong… Any success they have, however, can be accomplished only by buying and selling… hey can do neither without altering the delicate poise of supply and demand that governs prices. Whatever they do is sooner or later reflected on the charts where you… can detect it. Or detect, at least, the way in which the supply-demand equation is being affected… So, you do not need to be an insider to ride with them frequently… prices move in trends. Some of those trends are straight, some are curved; some are brief and some are long and continued… produced in a series of action and reaction waves of great uniformity. Sooner or later, these trends change direction; they may reverse (as from up to down), or they may be interrupted by some sort of sideways movement and then, after a time, proceed again in their former direction… when a price trend is in the process of reversal… a characteristic area or pattern takes shape on the chart, which becomes recognisable as a reversal formation… Needless to say, the first and most important task of the technical chart analyst is to learn to know the important reversal formations and to judge what they may signify in terms of trading opportunities’ (Edwards & Magee, 1948).
This is as true today as it was when Edwards and Magee were writing in the first half of the last Century, study your patterns and make judgements for yourself about what their implications truly are on the markets and timeframes you are interested in trading.
Over the years, traders have come to discover a multitude of chart and candlestick patterns that are supposed to pertain information on future price movements. However, it is never so clear cut in practice and patterns that where once considered to be reversal patterns are now considered to be continuation patterns and vice versa. Bullish patterns can have bearish implications and bearish patterns can have bullish implications. As such, I would highly encourage you to do your own backtesting.
There is no denying that chart patterns exist, but their implications will vary from market to market and timeframe to timeframe. So it is down to you as an individual to study them and make decisions about how they may be used in a strategic sense.
█ INPUTS
• Change pattern and label colours
• Show or hide patterns individually
• Adjust pattern ratios and tolerances
• Set or remove alerts for individual patterns
█ NOTES
I have decided to rename some of my previously published patterns based on the way in which the pattern completes. If the pattern completes on a swing high then the pattern is considered bearish, if the pattern completes on a swing low then it is considered bullish. This may seem confusing but it makes sense when you come to backtesting the patterns and want to use the most recent peak or trough prices as stop losses. Patterns that can complete on both a swing high and swing low are for such reasons treated as neutral, namely all broadening and wedge variations. I trust that it is quite self-evident that double and triple bottom patterns are considered bullish while double and triple top patterns are considered bearish, so I did not feel the need to rename those.
The patterns that have been renamed and what they have been renamed to, are as follows:
• Ascending Elliot Waves to Bearish Elliot Waves
• Descending Elliot Waves to Bullish Elliot Waves
• Ascending Head and Shoulders to Bearish Ascending Head and Shoulders
• Descending Head and Shoulders to Bearish Descending Head and Shoulders
• Head and Shoulders to Bearish Head and Shoulders
• Ascending Inverse Head and Shoulders to Bullish Ascending Head and Shoulders
• Descending Inverse Head and Shoulders to Bullish Descending Head and Shoulders
• Inverse Head and Shoulders to Bullish Head and Shoulders
You can test the patterns with your own strategies manually by applying the indicator to your chart while in bar replay mode and playing through the history. You could also automate this process with PineScript by using the conditions from my swing and pattern libraries as entry conditions in the strategy tester or your own custom made strategy screener.
█ LIMITATIONS
All green and red candle calculations are based on differences between open and close prices, as such I have made no attempt to account for green candles that gap lower and close below the close price of the preceding candle, or red candles that gap higher and close above the close price of the preceding candle. This may cause some unexpected behaviour on some markets and timeframes. I can only recommend using 24-hour markets, if and where possible, as there are far fewer gaps and, generally, more data to work with.
█ SOURCES
Edwards, R., & Magee, J. (1948) Technical Analysis of Stock Trends (10th edn). Reprint, Boca Raton, Florida: Taylor and Francis Group, CRC Press: 2013.
Options & Leveraged Shares Heatmap This is the leveraged share/option heatmap / screener.
Tradingview offers a few different tickers that have PTCR data on the daily timeframe. So I was able to pull those few tickers that display the PTCR data and format it into a heatmap.
I also had some room to add leveraged share data as well.
It is pretty self explanatory but I will go over it really briefly:
The timeframe is 1 D. This cannot be changed because this is the only timeframe available for the PTCR data.
It will pull the current day PTCR as well as the previous day PTCR and display the PTCR and change value.
The screening will be done according to the 1 day change.
You have the ability to select the option to sort by Max and Min or sort by heatmap:
Displaying max and min will show you the max positive and negative change among all the available tickers.
Max positive = bearish, as this indicates an uptick in Puts.
Max negative = bullish, as this indicates a decline in Puts.
If we flip over to the leveraged shares, it is the same:
To keep it consistent, the leveraged share ratio is displayed similar to PTCR. It is Sell to Buy ratio. The higher the ratio, the more selling and vice versa.
Thus, the same rules apply. Max positive = bearish and max negative = bullish.
If you want to display the heatmap, this is what it will look like:
The darker the blue, the higher the change in either a negative or positive direction. The same for the leveraged shares:
And that is the indicator.
Hopefully you find it helpful. I like to reference it at the end of each day to see how things are looking in terms of positioning for the following day.
Leave your comments/questions and suggestions below.
Safe trades!
Xcreener+1. Xcreener+ is easy to use for stock screening to scan and filter instruments based on selective indicators from the setting list.
2. Please note that instruments in this indicator is ONLY included MALAYSIAN SHARES listed on Bursa Malaysia and not all Malaysian stocks is included.
3. Users can select one of eighteen (18) sectors from the list and subsequently select the indicator to add on to run the screener.
4. XLERT in setting allow you to create alert and notify user pre- and post-market.
5. Tooltip is added in indicator’s setting to illustrate the options available.
Relative PerformanceThis indicator takes the Performance Table from @BeeHolder and converts it to a Relative Performance table so you can compare the current chart vs. an Index (or whatever other ticker you want) to see the relative performance of one vs. the other. I also added a cell for ADR, which is also the same value as "Monthly Volatility" in the stock screener. This can be useful when screening stocks based on performance and volatility.
MYX Malaysia Bursa Futures Derivatives Auto DetectThis indicator intended for Malaysia Market only for auto detect Futures Market Derivatives refer to Bursa Malaysia
Indikator ini adalah untuk pasaran Malaysia sahaja untuk automatik mengenalpasti Derivatif Pasaran Hadapan rujuk kepada Bursa Malaysia
Indicator features :
1. Able to detect futures market.
2. List similar symbol or counter including total.
3. Font size small for mobile app and font size normal for desktop.
4. Show date updated by Bursa Malaysia.
Kemampuan indikator :
1. Boleh mengenal pasti pasaran hadapan.
2. Senarai simbol atau kaunter yang terlibat termasuk jumlah.
3. Saiz font kecil untuk mobile app dan saiz size normal untuk desktop.
4. Memaparkan tarikh kemaskini oleh Bursa Malaysia.
FAQ
1. Credits / Kredit
LucF & PineCoders
2. Code Usage / Penggunaan Kod
Free to use for personal usage.
Bebas untuk kegunaan peribadi.
3. Why table overlap with chart ? To avoid this, click indicator > Visual Order > Send to Front.
Kenapa table bertindih dengan carta ? Untuk mengatasi ini, klik indikator > Visual Order > Send to Front.
4. Some symbols not display such as Commodities Derivatives (OCPO and OPOL) and Equity Derivatives (OKLI).
These symbol are offcially displayed at Bursa Malaysia but not available in Trading View under prefix MYX.
And also Futures Market are not available in Trading View.
Beberapa simbol tidak dapat dipaparkan Derivatif Komoditi (OCPO and OPOL) and Derivatif Equiti (OKLI).
Simbol berikut dipaparkan secara rasmi di Bursa Malaysia tetapi tiada di Trading View di bawah prefix MYX.
Dan Pasaran Hadapan juga tiada di Stock Screener.
All Setting enabled.
Semua seting diaktifkan.
Example of recommended usage.
Contoh penggunaan yang disarankan.
Example of other derivatives. Similar derivatives can be shown.
Contoh derivatif lain. Derivatif yang sama boleh dipaparkan
Technical Ratings on Multi-frames / Assets█ OVERVIEW
This indicator is a modified version of TECHNICAL RATING v1.0 available in the public library to provide a quick overview of consolidated technical ratings performed on 12 assets in 3 timeframes.The purpose of the indicator is to provide a quick overview of the current status of the custom 12 (24) assets and to help focus on the appropriate asset.
█ MODIFICATIONS
- Markers, visualizations and alerts have been deleted
- Due to the limitation on maximum number of security (40), the results of 12 assets evaluated in 3 different time frames can be shown at the same time.
- An additional 12 assets can be configured in the settings so that you do not have to choose each ticker one by one to facilitate a quick change, but can switch between the 12 -12 assets with a single click on "Second sets?".
- The position, colors and parameters of the table can be widely customized in the settings.
- The 12 assets can be arranged in rows 3, 4, 6 and 12 with Table Rows options, which can also be used to create a simple mobile view.
- The default gradient color setting has been changed to red/yellow/green traffic lights
ORIGINAL DESCRIPTION ABOUT TECHNICAL RATING v1.0
█ OVERVIEW
This indicator calculates TradingView's well-known "Strong Buy", "Buy", "Neutral", "Sell" or "Strong Sell" states using the aggregate biases of 26 different technical indicators.
█ WARNING
This version is similar, but not identical, to our recently published "Technical Ratings" built-in, which reproduces our "Technicals" ratings displayed as a gauge in the right panel of charts, or in the "Rating" indicator available in the TradingView Screener. This is a fork and refactoring of the code base used in the "Technical Ratings" built-in. Its calculations will not always match those of the built-in, but it provides options not available in the built-in. Up to you to decide which one you prefer to use.
█ FEATURES
Differences with the built-in version
• The built-in version produces values matching the states displayed in the "Technicals" ratings gauge; this one does not always.
• A strategy version is also available as a built-in; this script is an indicator—not a strategy.
• This indicator will show a slightly different vertical scale, as it does not use a fixed scale like the built-in.
• This version allows control over repainting of the signal when you do not use a higher timeframe. Higher timeframe (HTF) information from this version does not repaint.
• You can adjust the weight of the Oscillators and MAs components of the rating here.
• You can configure markers on signal breaches of configurable levels, or on advances declines of the signal.
The indicator's settings allow you to:
• Choose the timeframe you want calculations to be made on.
• When not using a HTF, you can select a repainting or non-repainting signal.
• When using both MAs and Oscillators groups to calculate the rating, you can vary the weight of each group in the calculation. The default is 50/50.
Because the MAs group uses longer periods for some of its components, its value is not as jumpy as the Oscillators value.
Increasing the weight of the MAs group will thus have a calming effect on the signal.
• Alerts can be created on the indicator using the conditions configured to control the display of markers.
Display
The calculated rating is displayed as columns, but you can change the style in the inputs. The color of the signal can be one of three colors: bull, bear, or neutral. You can choose from a few presets, or check one and edit its color. The color is determined from the rating's value. Between 0.1 and -0.1 it is in the neutral color. Above/below 0.1/-0.1 it will appear in the bull/bear color. The intensity of the bull/bear color is determined by cumulative advances/declines in the rating. It is capped to 5, so there are five intensities for each of the bull/bear colors.
The "Strong Buy", "Buy", "Neutral", "Sell" or "Strong Sell" state of the last calculated value is displayed to the right of the last bar for each of the three groups: All, MAs and Oscillators. The first value always reflects your selection in the "Rating uses" field and is the one used to display the signal. A "Strong Buy" or "Strong Sell" state appears when the signal is above/below the 0.5/-0.5 level. A "Buy" or "Sell" state appears when the signal is above/below the 0.1/-0.1 level. The "Neutral" state appears when the signal is between 0.1 and -0.1 inclusively.
Five levels are always displayed: 0.5 and 0.1 in the bull color, zero in the neutral color, and -0.1 and - 0.5 in the bull color.
█ CALCULATIONS
The indicator calculates the aggregate value of two groups of indicators: moving averages and oscillators.
The "MAs" group is comprised of 15 different components:
• Six Simple Moving Averages of periods 10, 20, 30, 50, 100 and 200
• Six Exponential Moving Averages of the same periods
• A Hull Moving Average of period 9
• A Volume-weighed Moving Average of period 20
• Ichimoku
The "Oscillators" group includes 11 components:
• RSI
• Stochastic
• CCI
• ADX
• Awesome Oscillator
• Momentum
• MACD
• Stochastic RSI
• Wiliams %R
• Bull Bear Power
• Ultimate Oscillator