Predictive MACDThis is MACD indicators have display prediction of next 3 bar which if close price not change or price move following directions of momentum this indicators will show how price will move next 3 bar.
Forecasting
Yearly Percentage ReturnsAn indicator that lets you visualize the historical Yearly Percentage returns of any symbol .
Key Features:
Displays the yearly returns from start to end of each year
Displays a table showing all yearly returns for current symbol
Displays start of each year as a vertical line
Displays up to 5 custom horizontal levels
Table Settings:
Enable table - Show/Hide the table
Size - Sets the size of the table
Position - Sets the position of the table on the screen
Direction - Sets the direction of the table to display the data (Vertically or Horizontally)
Pivot Points (Channel | Fib | Support/Resistances)auto pivot point channel, channel fibonacci and support/resistance lines
Percent Levels From Previous CloseThis indicator plots on the chart +/- 1% / 2% / 3% ranges based on the previous day's close levels.
Disclaimer :
Success in trading is all about following your trading strategy and indicators should fit into your own strategy, and not be traded purely on.
This script is for informational and educational purposes only. Use of the script does not constitute professional and / or financial advice. You are solely responsible for evaluating the outcome of the script and the risks associated with using the script. In exchange for the use of the script, you agree not to hold monpotejulien TradingView user responsible for any possible claims for damages arising out of any decisions you make based on the use of the script.
Highlight Trading Window (Simple Hours / Time of Day Filter)As the name says this is a straightforward way to highlight the times of day that you are interested in studying.
Like to trade just a market open, or highlight a full session?
Could also be used negatively to "block out" a window of time each day.
Usage:
Just set your preferred time zone and then your time window (start and end).
Hope you find it useful! 😁
Niteya Multi Ticker Dollar-Based Pricing Ver 1.3The main purpose of the indicator is to make a future price estimation based on the highest dollar-based price of the stock in the past, especially for stocks that exceed their past prices in chart currency terms. There should be no expectation that this prediction will necessarily come true.
A table with six columns and 19 rows (excluding the header) is created on the graph, positioned bottom and left.
The first column contains the ticker code, the second column contains the highest historical price of the stock in currency, the third column contains the past high price of the stock in USD, the fourth column contains the closing price, the fifth column contains the value obtained by multiplying the past highest USD price of the stock by the daily dollar price, and the sixth column is includes the rate of increase.
Using the indicator interface, you can select the ticker value in the first row of the table from among 22 different values via a selection box, and for the 18 rows below, you can directly type the ticker name.
* The currency of the chart must be compatible with the dollar conversion currency. For example, if the conversion currency is "USDTRY", the currency of the chart should be "TRY".
All stocks in the indicator are randomly selected. Investment information, stock selections, comments and recommendations herein are not within the scope of investment consultancy. Investment consultancy service is provided within the framework of investment consultancy agreement to be signed between brokerage houses, portfolio management companies, non-deposit banks and the customer.
Türkçe açıklama
Göstergenin temel amacı, özellikle grafik para birimi (TRY) bazında geçmiş fiyatlarının üzerine çıkmış hisselerde, hissenin geçmişteki en yüksek dolar bazlı fiyatını esas alarak, geleceğe yönelik bir fiyat tahmininde bulunmaktır. Bu tahminin mutlaka gerçekleşeceği beklentisi olmamalıdır.
Grafik üzerinde, üste ve ortalanmış olarak, altı sütun ve başlık kısmı hariç 19 satırlık bir tablo oluşturulmaktadır.
İlk sütun hisse kodunu, ikinci sütun hissenin geçmiş en yüksek fiyatını TRY olarak, üçüncü sütun hissenin geçmiş en yüksek fiyatını USD olarak, dördüncü sütun kapanış fiyatını, beşinci sütun hissenin geçmiş en yüksek USD fiyatının günlük dolar kuru ile çarpılarak elde edilen değeri, altıncı sütun ise artış oranını içerir.
Gösterge arayüzünü kullanarak, tablonun ilk satırındaki ticker (hisse) değerini 22 farklı değer arasından (BIST 100 ve 21 şirket) bir seçim kutusu yoluyla, altta yer alan 18 satır için ise, doğrudan hisse adını yazabilirsiniz.
* Grafiğin para birimi dolar çevrim kuru ile uyumlu olmalıdır. Örneğin, çevrim kuru "USDTRY" ise, grafiğin para birimi "TRY" olmalıdır.
Gösterge içinde yer alan tüm hisseler rastgele seçilmiştir. Buradaki yatırım bilgileri, hisse seçimleri, yorum ve tavsiyeleri yatırım danışmanlığı kapsamında değildir. Yatırım danışmanlığı hizmeti, aracı kurumlar, portföy yönetim şirketleri, mevduat kabul etmeyen bankalar ile müşteri arasında imzalanacak yatırım danışmanlığı sözleşmesi çerçevesinde sunulmaktadır.
Moving Average Band Width ((((20/04/2022))))Todays Script uses 5 Moving Averages with the new function on V5 called fill, we can now colour fill between moving averages.
9ema
20ema
50ema
100ema
200ema
100-200ema which is labelled in Redis where the big impulse moves will fall into if the pressure is so strong on the opposite of the trend.
50-100ema which is labelled in Blue is where price could be heading in a healthy trend
20-50ema which is labelled in Purple, price will enter this area when price is in a strong impulse move/trend
9-20ema which is labelled in Green is a super strong trend/ impulse move, price will most likely break this stream and enter the 20-50ema
(the colour of EMAS can be changed in the settings)
I would use this to either gauge the strength of a trend//impulse leg or buy/sell opportunities.
This works best in trending environments, LTF and liquid markets
SMT Pair (Nephew_Sam_)// This source code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
// © Nephew_Sam_
--------------------------------------------------------------
This code for version is entirely different from the previous two SMT divergence indicators that I had published in terms of effeciency.
There is an option to have upto 10 custom pairs and 1 default pair (if outside the 10) for your SMT/correlated pair.
The divergence lines are not perfect and is still under development.
--------------------------------------------------------------
This indicator shows a secondary SMT/correlated pair at them bottom pane as a line or bar chart and draws lines if there are any divergences between the primary and secondary pair.
ie .
GBPUSD - EURUSD
EURUSD - DXY (inversed)
XAUUSD - XAGUSD
Options:
1. Show the secondary pair in lines or candlesticks
2. Divergences between pivot points (I'm yet to implement last pivot to live price)
3. Set 10 primary-smt pairs + a default pair for every other.
4. For every pair there is an option to inverse the price of the smt pair
(Hover over the tips in the indicator settings to learn more)
Phantom - My Session RangeThis is a modification of a script by RobMinty, "FXN - Asian Session Range" The script provides functionality to track specific trading sessions based on user preference rather than just the market sessions open and close. The idea is to help you hold yourself accountable to your specific trading times as well as backtest various marketing timings suitable to your schedule.
This script utilizes RobMinty's pine code to visualize your market session. We have adjusted the script to project the end of the session before the candles print - as well as adding/subtracting the horizontal and/or vertical lines around the current session box. This should help you understand how much time you have left in your session with a quick visual representation. While we have made some additions and adjustments to RobMinty's script- The inputs and functions of the combined script have not changed significantly from the originals. Like the originals, the code has been made open-source. If this script is reused or modified, please provide credit to RobMinty. If you plan to use this specific code with the ability to remove lines from the box and project session end forward, please credit both of us.
K's Reversal Indicator IK's reversal indicator I is a special combination between Bollinger bands and the MACD oscillator. It is a contrarian indicator that depends on the following conditions:
• A buy signal is generated whenever the current market price is below the 100-period lower Bollinger band while simultaneously, the MACD value must be above its signal line. At the same time, the previous MACD value must be below its previous signal line.
• A sell (short) signal is generated whenever the current market price is above the 100-period upper Bollinger band while simultaneously, the MACD value must be below its signal line. At the same time, the previous MACD value must be above its previous signal line.
The way to use K's reversal indicator is to combine it with your already long/short bias in a sideways/range market in order to maximize the probability of success.
Limitations of the indicator include the following:
• There are no clear exit rules that work well on average across the markets. Even though K’s reversal indicator gives contrarian signals, it does not show when to exit the positions.
• As with other indicators, it underperforms on some markets and is not to be used everywhere.
• False signals tend to occur during trending markets but there is no proven way to detect a false signal.
Taylor RuleThe Taylor rule is a simple formula that John Taylor devised to guide policymakers. It calculates what the federal funds rate should be, as a function of the output gap and current inflation. Here, we measure the output gap as the difference between potential output and real GDP. Inflation is measured by changes in the CPI, and we use a target inflation rate of 2%. We also assume a steady-state real interest rate of 2%.
MTF previous high and low quarter levelsDescription
An experimental script that prints quarter levels of the previous timeframe's high and low to the current timeframe. The idea is quite simple and is basically the Fibonacci pivoted on the previous high and low with quarter level settings (0,0.25,0.5,0.75,1 etc). The default setting is the previous daily high and low but can be customized on user discretion.
New quarter levels are printed after the close of the previous timeframe and open of the new timeframe (user's timeframe setting)
How To Use
Levels should not be used blindly. Levels can be used as confluence when aligned with high probability supply and demand zones, support, resistance, order blocks, and so on.
Credit to @HeWhoMustNotBeNamed for the Previous High/Low MTF indicator code and @mrbirman for the idea to put this together.
Compound strategyIn this strategy, I looked at how to manage the crypto I bought. Once we have a little understanding of how cryptocurrency is valued, we can manage the coins we have. For example, the most valuable coin in a coin is to sell when it is overvalued and re-buy when it is undervalued. Furthermore, I realised that buying from the right place and selling at the right time is very important to make a good profit. When it says sell, it's divided into several parts.
1. When the major uptrend is over and we are able to make the desired profit, we will sell our holdings outright.
2. Selling in the middle of a down trend and buying less than that amount again
3. When a small uptrend is over, sell the ones you bought at a lower price and make a small profit.
The other important thing is that the average cost is gradually reduced. Also, those who sell at a loss will reduce their profit (winning rate), so knowing that we will have a chance to calculate our loss and recover it. I used this to write a strategy in Trading View. I have put the link below it. From that we can see how this idea works. What I did was I made the signal by taking some technical indicators as I did in the previous one (all the indicators I got in this case were directional indicators, then I was able to get a good correlation and a standard deviation. I multiplied the correlation and the standard deviation by both and I took the signal as the time when the graph went through zero, and I connected it to the volume so that I could see some of the volume supported by it.)
Now let me tell you a little bit about what I see in this strategy. In this I used the compound effect. That is, the strategy, the profit he takes to reinvest. On the other hand, the strategy itself can put a separate stop loss value on each trade and avoid any major loss from that trade. I also added to this strategy the ability to do swing trading. That means we can take the small profits that come with going on a big up trend or a big down trend. Combined with Compound Effect, Stop Loss and Swing Trading, I was able to make a profit of 894% per annum (1,117.62% for 15 months) with a winning rate of 80%. Winning rate dropped to 80% because I added stop loss and swing trading. The other thing is that I applied DCA to this in both the up trend and the down trend (both). That was another reason for me to make a good profit. The orange line shows how to reduction of costly trade. The yellow line shows the profit and you can see that the profit line does not go down during the loss trades. That's because I want to absorb the loss from that trade.
Recession indicator US2/10 Ysimple recession "forecaster" based on the US treasury bond rates.
When 2Y flips 10Y, a recession within a few months can happen.
US Treasury Constant Maturity SpreadsPlots and tabulates constant maturity treasury yield spreads
// colours per curve type for the plots and table headers
C_30Y_20Y=color.orange
C_10Y_5Y=color.purple
C_10Y_2Y=color.blue
C_7Y_5Y=color.gray
C_5Y_2Y=color.red
C_3Y_2Y=color.yellow
C_10Y_1Y=color.olive
Basic Binance Premium IndexA premium index indicator for Binance futures.
The premium index is based on the difference in price between the perpetual swap contract last price and the price of a volume weighted spot index.
Simply put: it shows you for each coin whether the spot market is trading higher than the Binance perpetual or not.
If future price is higher than spot in a rally, the rally isn't backed by real buys (spot) but by dumb perpetual longs which can indicate bearish PA. If spot price is higher than futures in a rally, the upside is backed by real money (spot) which can indicate bullish PA.
To calculate the premium, I simply took (futures_price/vwap(spot_price)-1)*100
This version includes
•BTC
•ETH
•LTC
•ICP
•BNB
•ADA
•DOGE.
You can display data as a smoothed moving average for improved readability.
This code is open source so feel free to use it in your scripts.
US Treasury All Yield Curve IORB WeightedI've updated my US Treasury All Yield Curve indicator to use the new FRED:IORB (interest on reserve balances), instead of the FRED:FEDFUNDS which is only updated monthly.
The new IORB doesn't provide very long lookback for data, so I'm publishing this as a new version and not an update, making it possible for users to choose which version best suits their needs.
BTC NVM Ratio - Onchain AnalysisIt is an onchain oscillator and is designed to operate at weekly timeframes and is only for Bitcoin.
Network Value to Metcalfe Ratio (NVM Ratio) is defined as the ratio of the log of market capitalization divided by the log of the square of daily active addresses in the specified window.
This oscillator evaluates bitcoin price according to the Metcalfe Ratio to shows whether the current value of Bitcoin is higher or lower than the real price
I made this comparison using a moving average of 100. The areas that are red in the weekly timeframe indicate that bitcoin is Overvalued. and The areas that are blue in the weekly timeframe indicate that bitcoin is undervalued.
BTC Composite Man V.1Wyckoff's theory t is one of the most influential theories of market expression, and the most important components of which are lateral movement areas and trends. This theory turns the graph into something like Dots and lines (stations and paths).
After getting acquainted with Wyckoff's theory, I read several books on the subject, hoping that they could help me identify this area of lateral movement, the area of accumulation, or distribution. But there was a fundamental drawback. It is challenging to diagnose this issue. The rules discussed in these books are highly interpretive and subjective, and two different individual traders may come to exactly opposite conclusions based on their interpretation.
But as I became more familiar with the onchain analysis, an idea came to my mind that might be useful for more objectively recognizing charts based on Wyckoff's theory.
Composite Man: Wyckoff proposed a theory to help understand stock price movements. this is the “Composite Man” theory. (The same concept of whales or strong hands.)
he said: “…all the fluctuations in the market and all the various stocks should be studied as if they were the result of one man’s operations. Let us call him the Composite Man, who, in theory, sits behind the scenes and manipulates the stocks to your disadvantage if you do not understand the game as he plays it; and to your great profit if you do understand it.” (The Richard D. Wyckoff Course in Stock Market Science and Technique, section 9, p. 1-2)
Composite Man is a hypothetical man who has so much money and stocks that when he wants he can gradually increase the price by buying stocks and creating demand, and when the price goes high enough he sells his stock and lower the price. The composite man is the main player in the market. Wyckoff says that if you want to make a good profit from the market, figure out what a composite man game is.
Having a way of showing us where the Composite Man is in the market, can help us understand future trends
Who are the strong hands in the cryptocurrency market? (I use the strong hand word here instead of the composite man)
Some buy or sell more per capita than other market participants (retailers).
To understand this in the bitcoin market, I have used 3 charts and concepts:
1- Sending Addresses: The number of coins addresses making inflow transactions to the exchange.
Indicates the number of sellers' wallets (number of sellers)
2- buyers Addresses: The number of coins addresses making outflow transactions from the exchange.
Indicates the number of buyers' wallets (number of buyers)
3- Pay attention to this issue: the volume of transactions shows both the volume of sales and the buy ( Volume of buy and sale is equal in the market)
The Composite Man indicator is created by dividing the Receiving Addresses of bitcoin by the Sending Addresses. After dividing these addresses, the moving average of Alma was calculated for them and compared with the moving average of 100 days.
Considering the above 3 issues, it can be concluded:
- If the number of Receiving Addresses is higher than the Sending Addresses (the number of people who bought compared to the number of those who sold), it indicates that more people bought and fewer people sold (given that the volume of sales and buys are the same) So the sellers were stronger hands. In such a situation, the composite man is on the sales side.
- If the number of Sending Addresses is higher than the Receiving Addresses (number of people who have sold more than the number of people who have bought), it indicates that more people have been sellers and fewer people have been buyers (given that the volume of sales and buys are the same) so the buyers were stronger hands. In such a situation, the Composite man is on the buying side.
Accordingly, if the swing line is above the 100-day moving average line, it indicates that stronger addresses are being sold and retailers are buying, and vice versa.
Ichimoku Cloud MasterIchimoku Cloud Master aims to provide the ichimoku trader with easy alert functionality to not miss out on valuable trade setups. The key purpose of this script is to better visualise crucial moments in Ichimoku trading. These alerts should not be used for botting in my opinion as they always need a human to confirm the ichimoku market structure. For example, is the Kijun-Sen flat and too far away from price? A good ichimoku trader will not enter at such a point in time.
Explanation of script:
Chikou(lagging span): pink line, this is price plotted 26 bars ago. People ignore the power of this it is crucial to see how chikou behaves towards past price action as seen in the chart below where we got an entry at red arrow because chikou bounced from past fractal bottom.
Kijun-Sen(base line): Black line or color coded line. This is the equilibrium of last 26 candles. To me this is the most important line in the system as it attracts price.
Kijun = (Highest high of 26 periods + Lowest low of 26 periods) ÷ 2
Tenkan-Sen(conversion line): Blue line. This is the equilibrium of last 9 candles. In a strong uptrend price stays above this line.
Tenkan = (Highest high of 9 periods + Lowest low of 9 periods) ÷ 2
Senkou A (Leading span A)= Pink cloud line, this is the average of the 2 components projected 26 bars in the future.
Senkou A = (Tenkan + Kijun) ÷ 2
Senkou B (Leading span B) = Green cloud line, this is the 52 day equilibrium projected 26 bars in the future.
Senkou B = (Highest high of prior 52 periods + Lowest low of prior 52 periods) ÷ 2
Notice how the distance between Chikou and the cloud is also 52 bars. This is all part of Hosoda's numbers which I am not going to explain here.
Fractals: These are the black triangles you find at key turning point. If you want to know how they work reseach williams fractals. I've used fractals with a period of 9 as it is an ichimoku number. These fractals are useful when working with ichimoku wave theory. Again I will not explain that here but in further education
Fractal Support: Ability to extend lines from the fractals which can be used as an entry/exit mechanism in your trading. For example wait for tenkan to cross kijun and then enter on fractal breakout.
Signals:
Crossing of Chikou (lagging span) with past Kijun-Sen: this will color code the Bars / Kijun-Sen (you can turn this off in options)
The script also has a signal for this, this will be the green and purple diamonds. Where green is bullish and purple is bearish.
wy is this important?
When current price plotted 26 candles back (chikou) crosses over the past equilibrium (kijun-sen) this usualy means price has moved past resistance levels where sellers come in. This indicates a switch in market structure and price is bullish from this point, this is the same in the other direction.
Kumo Twist: when the kumo cloud (future) has a crossover from for example green to red (bull to bear). The script plots these using the colored cross symbols as seen in the picture above. A chikou cross + a Kumo twist at same bar of next to eachother below the cloud can be a great entry sign: this would be an entry after cross in the chart above.
Kijun Bounce: when in an uptrend the price retraces back to Kijun-Sen and starts to go back up. These are marked by the yellow circles as seen in chart below:
low below Kijun-Sen and close above it
Strong Trend: when Tenkan is above Kijun, price above cloud, future cloud green, chikou above close, chikou above Kijun we establish a strong bullish trend. For bearish the exact opposite. The script has a function to send an alert at the start of such trends and to plot them with small colored circles above the bars.
Customisation:
I've added options to disable specific aspects of the indicator for those traders who do not want to use all aspects of the indicator. In the customisation tab I've given each part a clear title so you can use your own colors/shapes.
The perfect entry?
Further info:
Look into my education pane, I will be adding education in the future. The chance of me making a more advanced version of the script including line forecasting etc is rather high so watch out for that.
For those who want to master this system I recommend reading the book:
How to make money with the ichimoku system by Balkrishna M. Sadekar
Or the originals books by Hosoda the inventor of Ichimoku if you can get your hands on them and can read Japanese.
Almost all info about the ichimoku system you find on the internet will lose you money because they reduce the system to simple signals that do not generate money.
I will be providing educational material on tradingview using this indicator.
[2021] SISIv SCALPER V1/0script of a scalping crypto strategy
aim to capture very short reversal on low timeframe