Relative Strength Index of EU and US Stock Index Trends quality//Relative Strength Index of European and US Stock Index Trends quality
//This indicator reveals the relative strength of European and US stock index futures.
//take Bull trend as an example , the current closed price>EMA20 value and the current closed price >20th previous bar closed price( deduction price),
//it's defined as a lower level bull trend .If the current price EMA20>EMA60, it's defined as a higher level bull trend .If the EMA20>EMA60>EMA120,it's defined as the highest level bull trend.
//You can choose to draw the curve with the deviation rate of the original major indexes to 20EMA, or draw the deviation rate with the average value (default value is 5 bars).
//In addition, a more technical method is added to analyze the deviation changes of the major indexes.The deviation rate changing velocity value, parameter tan (abbreviated by t) of 1, 2, 5, 10 is introduced.
//You can have the option of calculate the tan using average value of 5 candlesticks or original value.
//Taking tan1 as an example, it indicates how much the deviation rate between the current price and the previous candlestick has changed.
//The indicator of the index color and the description of the trend quality color can be switched off in option.
//In addition, this code color scheme is only suitable for black background (the code color needs to be changed by yourself if you use white background).
廣量指標
HhLl-OscilatorSimple oscillator which checks how many highs and how many lows the price is making. Parameters are as explained below:
lookback - Checks how many highs and lows it is making in these many bars. Sum of all highs and lows are taken for plotting.
periods - Initial period to check high and lows
multiples - Number of multiples on initial period for which highs and lows are checked
colorCandles - CandleColor based on the oscillator
If periods is 20 and multiples is 5 and loopback is 10
Indicator checks for last 10 bars how many highs/lows are made for 20, 40, 60, 80 and 100 periods. Sum of all highs and lows are plotted on the oscillator overlay
Price MovementPrice indicator that shows the trend based on price movement.
The indicator determinants when an asset price is getting higher or lower by comparing the previous price highs and lows to the current price.
==Explanation==
In case current HL2 exceeds the previous HL2 HIGH then the columns will turn green.
In case current HL2 fails the previous HL2 LOW then the columns will turn red.
The trick here is that the trend CONTINUES to show the greens and reds, until a reversal happens to the opposite side.
This can be used to determinate trends and reversals.
Note: Bar colors are disabled by default.
You can set the lookback period at the indicator settings as well as the asset source (HL2,CLOSE, etc..). default is HL2
Quote that i like: “It is impossible to produce superior performance unless you do something different from the majority.” – John Templeton
Enjoy and like if you like :)
Function: Discrete Fourier TransformExperimental:
function for inverse and discrete fourier transform in one, if you notice errors please let me know! use at your own risk...
Trading Sessions GMT+8 By ShoThis indicator show the trading session for GMT+8. Might be slight vary with some broker
RogTrader On Balance VolumeSmoothed, Simplified, and Color-coded OBV to easily understand the price direction.
Primarily uses Price Action, Moving Averages(EMA), and Volume
Green Zone is Uptrend
Red Zone is the Downtrend.
Confirm the direction with other indicators
Check multiple timeframes.
Divergence RSI-OBVDivergence detector on RSI of On Balance Volume. Using a modified script from XaviZ(RSI-VWAP) but instead of VWAP as a source in this script source is OBV, for divergence detector is a script from Libertus. In this version, results are filtered using STOCH oversold or overbought filter from matt_b script MFI Divergence v2.
An indicator for entry in choppy markets, signals for entry in trending market to follow the trend work well. A good way to spot if there is a weakness in a trend but gives too many false positives for spot reversal, so only good for scalping with tight stops if betting against the trend. Multiple divergences in combination with indicator hitting the overbought or oversold should give good places for entry.
Algonize Pivot Strategy (APS)This study is based on several Price Action parameters of :-
• Pivot Points,
• Higher High and Lower Lows,
• High Low Index ,
• Support and Resistance.
► How To Use This Strategy?
This is a pure scalping strategy and it is advised to use this only with algo trading systems. Due to high trade frequency.
► This Strategy has inbuilt custom time frame backtester, which enables you to test for performance between any date or check for a single day.
► To Create Alerts for algo trading in this strategy simply Check "Activate Algo" from Settings then Create new alert , select your strategy in condition box, and now scroll down to message box and write
{{strategy.order.comment}}
That's it , Just Click on Create Alert Button
Backtest Values Used:-
Initial Capital : 1000000
Order Size (Lots) : 1 (Contract) Lots
Pyramiding : 0 orders
Commission : 0.003%
Sharpe Ratio : 1.741
Profit Factor : 1.174
Test Yourself and give feedback.
PM us to obtain access.
High Low Differential MeterYet another trend follower that is based on a very simple principle: Take the highest high and lowest low from a user defined bars back period, do an average between them and smooth them up with 3 possible moving averages, VIDYA, EMA and SMA, while VIDYA is the default.
What is VIDYA ?
Variable Index Dynamic Average (VIDYA) is similar to the Exponential Moving Average (EMA), but automatically adjusts the smoothing weight based on price volatility.
How to use:
GREEN : Up trending
LIGHT GREEN : Up trend reversal might occur.
RED : Down trending
LIGHT RED : Down trend reversal might occur.
NOTE: BAR COLORS are set to TRUE by default!
Follow for more indicators: www.tradingview.com
Bitcoin Bullish Percent IndexHello Traders,
This is Bitcoin Bullish Percent Index script. First lets talk about what the Bullish Percent Index and how it is calculated:
"The Bullish Percent Index (BPI) is a breadth indicator based on the number of securities on Point & Figure Buy Signals, Developed by Abe Cohen in the mid-1950s. Because a security is either on a P&F Buy or Sell Signal, there is no ambiguity when it comes to P&F charts. This makes BPI a straightforward indicator with clearly defined signals."
The calculation is straightforward and simple: (Number of securities on P&F Buy signals) / (Total number of securities)
Here you can see what the P&F buy signal is:
In this script I choose 40 cryptos that is correlated ( as I see ) with BTC (including BtcUsdt). in the first part the script creates P&F chart for each security and check if there is Buy or Sell signal and sum the buy signals if there is. in the second part it creates P&F chart by using the P&F buy/sell signals coming from the securities P&F chart. because of complicated calculation the script may need a few seconds to load.
in the first part reversal value is 3 by default but you can set different values as reversal. sometimes I got better results with reversal = 5.
in BPI part reversal = 3 is used. so each box represents 2% (each X or O is a box). And this means it takes at least a 6% move in BPI for a reversal. the Bullish Percent Index favors the bulls when above 50% and the bears when below 50%. The bulls have the edge when over 50% of stocks are on a P&F Buy Signal. BPI is also considered overbought when above 70% and oversold when below 30%. BPI can move between 0 and 100.
Because of 40 securities are used in the script and all different prices, it uses Percentage scaling only. it can calculate the Percentage automatically by using the time frame of the chart or you can set it as you wish.
The Signals coming from BPI:
Bull Alert: BPI is below 30% and then forms a new column of X's (rises)
Bear Alert: BPI is above 70% and then forms a new column of O's that decline below 70%.
Bull Confirmed: BPI is on a P&F buy signal and in a column of X's (rising).
Bear Confirmed: BPI is on a P&F sell signal and in a column of O's (falling).
Bull Correction: BPI is on a P&F buy signal, but currently falling (column of O's).
Bear Correction: BPI is on a P&F sell signal, but currently rising (column of X's).
If you are not familiar with Bullish Percent Index you better search it on the net to get more info, you can find a lot of articles and web sites about BPI.
as I remember I developed the script 6-7 months ago and today I had chance to publish it as it was
Enjoy!
Trend-Range IdentifierTrend trading algorithms fail in ranging market and Swing trading algorithm fail in trending market. Purpose of this indicator is to identify if the instrument is trending or ranging so that you can apply appropriate trading algorithm for the market.
Process:
ATR is calculated based on the input parameter atrLength
Range/Channel containing upLine and downLine is calculated by adding/subtracting atrMultiplier * atr to close price.
This range/channel will remain same until the price breaks either upLine or downLine.
Once price crosses one among upLine and downLine, then new upLine/downLine is calculated based on latest close price.
If price breaks upLine, the trend is considered to be up until the next line break or no lines are broken for rangeLength bars. During this state, candles are colored in lime and upLine/downLine are colored in green.
If price breaks downLine, the trend is considered to be down until the next line break or no lines are broken for rangeLength bars. During this state, candles are colored in orange and upLine/downLine are colored in red.
If close price does not break either upLine or downLine for rangeLength bars, then the instrument is considered to be in range. During this state, candles are colored in silver and upLine/downLine are colored in purple.
In ranging duration, we display one among Keltner Channel, Bollinger Band or Donchian Band as per input parameter : rangeChannel . Other parameters used for calculation are rangeLength and stdDev
I have not fully optimized parameters. Suggestions and feedback welcome.
Capitalization of BTC vs. Top 5 US CorporationsThis script displays the capitalization of Bitcoin as a percentage of the capitalization of 5 large US corporations: Apple, Microsoft, Amazon, Google, Facebook. According to www.tradingview.com these are (at the current time) the largest US companies.
Market Breadth Indicator (percentage of US stocks above * SMA)This script is a revised version of jchang274's Multi-Sub script.
Add more feature from the original jchang274 script.
1.Compare 4 US STOCK INDEX ( Dowjones 30/NASDAQ100/RUSSELL2000/S&P500 ) in the same index of percentage of stocks above 20 /50/100/200 days simple moving average.
2. Use 4 index of percentage of stocks above 20 /50/100/200 days simple moving average,compare the same stock index ( Dowjones 30/NASDAQ100/RUSSELL2000/S&P500 )
How it begin?
Traders and investors use market breadth in order to assess the index’s overall health. Market breadth can be a reliable, if not an accurate, indicator of an upcoming price rise in the index. Similarly, it can also provide early warning signs for a future price decline.
What is it?
Market breadth indicators analyze the number of stocks advancing relative to those that are declining in a given index or on a stock exchange.
Market breadth refers to how many stocks are participating in a given move in an index or on a stock exchange. An index may be rising yet more than half the stocks in the index are falling because a small number of stocks have such large gains that they drag the whole index higher.
How it works?
Market breadth studies attempt to uncover strength or weakness in the movements of an index that are not visible simply by looking at a chart of the index.
CCL Blue Chip Swap Argentina (Contado con liqui)CCL Blue Chip Swap
in spanish: Contado Con Liqui
This indicator shows color bars graph about the CCL price , this is calculated with 5 Argentine tickers that have ADRs (tikers) in USA market. These are GGAL BMA YPFD PAMP BBAR .
: Este indicador muestra un grafico de barras de color del precio de CCL Contado con Liqui.
: El CCL se calcula en base al promedio de 5 activos con ADR : GGAL BMA YPFD PAMP BBAR
Probability of ATR Index [racer8]Deriving the indicator:
PAI is an indicator I created that tells you the probability of current price moving a specified ATR distance over a specified number of periods into the future. It takes into account 4 variables: the ATR & the standard deviation of price, and the 2 parameters: ATR distance and # bars (time).
The formula is very complex so I will not be able to explain it without confusion arising.
What I can say is that I used integral calculus & the Taylor series to derive a formula that calculates the area under half of the normal distribution function. Thus, the formula was repeated twice in the code to derive the full probability (half + half = whole). If you can read the code, you might be wondering why the formula is so long...
The reason for this is because in Pine Script, the erf function doesn't exist. You see, the formula for normal distribution is: f(x) = (1/sqrt(2pi))*e^(-xx/2), assuming of course that the standard deviation = 1 and mu (mean) = 1. The next step is to take the integral of this formula in order to find the area under f(x). The problem is that I found the integral, F(x), of the normal distribution formula to be equal to F(x) = erf(x/sqrt(2))/2...and the erf function cannot be directly computed into Pinescript.
So I developed a solution...why not estimate the integral function? So that's exactly what I did using a technique involving the Taylor series. The Taylor series is an algebraic function that allows you to create a new function that can estimate the existing function. On a graph, the new function has the same values as the existing one, the only difference is that it uses a differnt formula, in this case, a formula that makes it possible to compute the integral. The disadvantage of using this new formula is that it is super long and if you want it to better represent the original integral over a wider range of x-values, you have to make it longer.
Signal Interpretion:
The hotter the colour, the more likely price will reach your specified distance.
The 2 values of PAI in the bottom window represent probability & average probability of your specifed distance geting hit.
Applications:
Stop loss placement---
This indicator is useful because it gives you an idea of the likelihood that a stop loss at a particular distance away from price (in ATRs) will be hit over a period of time specified. This is helpful in placing stop losses.
Options trading---
PAI can also be used in options trading. For example, you are using a strangle options strategy, and you want to make sure that price stays within the Strangle's profit range. So you only trade when PAI presents a low probability value of moving at a particular distance in ATRs over n periods.
Anyhow, I hope you guys like it. Enjoy! and hit that like button for me :)
BACK TO THE FUTUREBack to the future indicator offers prediction. What will happen market future.
-what will be the prices in the future?
-everyone looks for the answer to this question.
The indicator shows bar lines at various price levels. Look and work with trend lines before you analiys manually or auto trend lines indicators. The future prices calculate with the help of past fluctuations price. Projection for 60 bar. if you are looking day frame you can see what will happen 60 days later.
It displays the most important trading levels and draws them according to their relevance.
If a level is clearly broken, it changes its role. Support becomes resistance.
According to your requirements, you can use it with my Technical Analiysis Line indicator.
For access message me.
Crazy Signals - Early Detection of a Short Term TrendThis is a simple yet powerful tool that helps you detect Trends for the short term.
Time Frames:
- Avoid using very small time frames as there will be too many signals in a short period
- Intraday: 15 mins, 30 mins, 60 mins seem to detect trends well
- Overnight Trades: 60 mins
- Positional: 1D is recommended
- For Investment, one can week a weekly timeframe
Rules of Engagement:
1. The Upward Arrow (Green) indicates possible upside. While the Downward Arrow (Orange) indicates a possible downside
2. Not every Signal has to be traded. Rules to check before taking a trade:
a. The candle on which the Signal is generated, should be either small or medium size compared to other candles on the chart. If the candle is large, ignore it
b. In case of a Buy Signal, entry should be made once the Price crosses above the High made on the Signal Candle
c. In case of a Sell Signal, entry should be made once the Price crosses below the Low made on the Signal Candle
d. For extra caution, in steps b & c, one can wait for the current candle to close higher than the High of Signal Candle for Buy Signal and close lower than the Low of Signal Candle (this is for extra safe traders)
This tool is to be used for trades that usually last for a few candles.
Please do your own research before trading.
Session High and Session LowI have heard many people ask for a script that will identify the high and low of a specific session. So, I made one.
Important Note: This indicator has to be set up properly or you will get an error. Important things to note are the length of the range and the session definition. The idea is that you would set it up for what's relevant to your trading. Going too far back in the chart history will cause errors. Setting the session for a time that is not on the chart can cause errors. If you set it to look farther back than there are bars to display, you may get an error. What I've found is that if you get an error, you just need to change the settings to reflect available data and it will be able to compile the script. At the time of its publishing, the default range start is set to 10/01/2020. If you're looking at this years later, you'll probably have to set the range to something more recent.
Features:
Plot or Lines:
Using Plot (displayed), the indicator will track the high/low from the end of the session into the next session. Then at the start of the next session, it will start tracking the high/low of that session until its end, then track that high/low until the start of the next session then reset.
Using lines, it will extend horizontal lines to the right indefinitely. The number of sessions back that the lines apply to is a user-defined number of sessions. There are limits to the number of lines that can be cast on a chart (roughly 40-50). So, the maximum number of sessions you can apply the lines to is the last 21 sessions (42 lines total). That gets really noisy though so I can't imagine that is a limiting factor.
Colors:
You can change the background color and its transparency, as well as turn the background color on or off.
You can change the highs and lows colors
You can adjust the line width to your preference
Session Length:
You can use a continuous session covering any user-defined period (provided its not tooooo many candles back)
You can define the session length for intraday
You can exclude weekends
Display Options:
You can adjust the colors, transparency, and linewidth
You can display the plotline or horizontal lines
You can show/hide the background color.
You can change how many sessions back the horizontal lines will track
Let me know if there's anything this script is missing or if you run into any issues that I might be able to help resolve.
Here's what it looks like with Lines for the last 5 sessions and different background color.
Bollinger BandsHi Everyone!
User @three333 took the time to create this script with the multiple Bollinger Bands all combined together while I've been busy with other projects. This will make it easier to apply all the bands much faster. If you need this script, you have a better chance of receiving an invite much faster by sending me a PM.
Remember, this Bad Ass BB is to be used with my Phoenix 1.119 indicator for best results.
NOTE: I do NOT give one-on-one education in PM's or in public rooms. Nor do I give trading advice in PM's. I'm often too busy to allow my time to be absorbed by multiple PM's from multiple people each day. No disrespect intended by this notification. You would understand if you were in my shoes.
Happy Trading and Stay Awesome!
David
BANKNIFTY Free Float VolumeThis indicator is build keeping in mind how the Indian Market is formed - free-float market capitalization concept
1) Considered all banknifty index stocks according to NSE
2) Multiplied each stock Volume by its Weightage given in NSE Site every month End - means giving importance to volume by its weightage
3) Green Candle - Considered as +Ve Volume , Red Candle - Considered as -Ve Volume
4) Diff of +Ve Volume & -Ve Volume give clear picture market will go up or down
Note:- This Indicator work only for 15 Min time frame
Gives better results good Risk Reward used near Supp/Resistance
Combine with BANKNIFTY / NIFTY Advance-Decline Ratio give confidence on the move
Eg:-
Bullish Scenario
Near Support, Volume Turned -Ve to +Ve, Adv /Dec of Nifty >30/35 or BNF Adv /Dec > 7
or combine any candle patterns( Pin Bar ) at Sup/Res or combine with Chart Pattern(Triangle/ Rectangle )
Can take 75 Pts as SL and target 150-200 Pts
Bearish Scenario - Vice Versa to above
backtested results showed high Accuracy when used in combination of Sup/Res
ATLAS Surge Data CubeATLAS Surge Data Cube
The ATLAS Surge Data Cube is designed to provide a quick and easy glance at Welles Wilder's ATR (Average True Range) and to compare the current (or user defined) traded range against the another ATR (default is daily).
A visual and graphic measure of the current range VS the daily range shows what percentage of the current period's range is to the daily ATR. Suggested stops are given on multiple time frames.
Stops are further filtered with the SupterTrend indicator.
Please send me a PM for access.
Know The LevelsAs Mr. Yen says as a day traders we need a reference to work with , this is a chart showing high low of current and previous day, yellow are yesterday's and green are present day's