Inflation Adjusted Performance: Ticker/M2 money supplyPlots current ticker / M2 money supply, to give an idea of 'inflation adjusted performance'.
~In the above, see the last decade of bullish equities is not nearly as impressive as it seems when adjusted to account for the FED's money printing.
~Works on all timeframes/ assets; though M2 money supply is daily data release, so not meaningful to plot this on timeframe lower than daily.
~To display on same pane; comment-out line 6 and un-comment line 7; then save, remove and re-add indicator.
~Scale on the right is meaningless; this indicator is just to show/compare the shape of the charts.
Fundamental Analysis
Binance Basis OscillatorBinance Basis Oscillator illustrates the premium or discount between Binance spot vs perps.
This indicates whether speculators (i.e. traders on perps) are paying premium vs spot. If true then speculation is leading, indicating euphoria (at certain levels).
Conversely, spot leading perps (i.e. perps at a discount) shows extreme bearish conditions, where speculation is on the short side. Indicating times of despair.
Operating Cash Flow on Total Assets RatioThis indicator divides the company's Operating Cash Flow (TTM) by the company's Total Assets (FY). This ratio gives potential investors the amount of operating cash flow generated from every dollar of asset owned and is a measure of financial efficiency.
Dividend Pension TableHello, you all know about dividend retirement.
It was very difficult to calculate the retirement with dividends by making regular purchases in shares. Thanks to this tool, it is now very easy.
You can start the strategy by choosing the history of the dividend investment, choosing how many units you will receive in a regular amount each month, or the value for money.
In the table on the side, you will see the amount of your regular purchases, dividend income and the amount of your purchases.
Your total investment and savings will also be visible at the top of the chart.
With this table, you will be able to see the analysis of all dividend-paying stocks. Excel era is over :)
EPS & SalesHi everyone,
I just adapted a little utility script to visualise EPS % increase (quarters vs Year -1) and sales.
I used the code from @ARUN_SAXENA and modified it to fix what I saw as issues.
(Using base 3M instead of 1M +
request.earnings(syminfo.tickerid, earnings.actual, ignore_invalid_symbol=true)
instead of
request.financial(syminfo.tickerid, "EARNINGS_PER_SHARE", "FQ")
Data will differ from MarketSmith because they use sometimes actual EPS sometimes standard, but think we can at least trust what we see in term of %
The tool is far from being perfect !
When was the last time we were in stagflation?Here I coded a strategy that indicates when we should enter a long position in the US dollar. The three indicators I used were the Inflation Rate, 10Y interest rate, and GDP growth rate. Right now in our economy, It seems as though we are in stagflation due to high inflation and declining GDP growth. Thoughts on how our government should handle the oversupply of money in the economy right now are another conversation. The reason I built this indicator is to see when the last time our country was in this type of market environment was and to see how far the dollar rose from that point on. It is necessary to say that the US dollar generally does not show these steep increases in value unless there is a hard cut in the Money supply. However, what we see is that the last time we were in stagflation was around the early 1980s when the dollar value rose to around 107( the levels we're at right now) and did not stop until It hit its peak at 150!!!! This isn't all that exciting really because if the FED follows a similar path as It did back in the '80s then we are going to see a whole lot more money supply being cut, an increase in interest rates, and a declining GDP Growth rate.
ATTENTION: This indicator does not tell you to buy any financial instrument that follows the DXY(US Dollar index), with that being said please feel free to comment and tell me your opinion. whether it's how bad my coding is(I'm a beginner sorry!!) or whether my ideas on our market environment right now are bogus or just do not make sense.
Average Price LineThis was published in substitute of the original AVG price line that was already implemented into TradingVIew.
Get the average price in the desired range you want.
Global Economic MonitorThis indicator shows multiple economic data such as inflation rate, GDP etc. of the countries below.
U.S.
Japan
EU
U.K.
Australia
New Zealand
Canada
Switzerland
China
You can select 3 data at the same time so that you can compare data in single country or among multiple countries.
Available data:
Inflation Rate(YoY)
Inflation Rate(MoM)
Inflation Expectation
GDP
GDP Growth
Unemployment Rate
Retail Sales
—————————————
主要国の経済指標(インフレ率やGDPなど)を表示することのできるインジケーターです。
対象国/地域:
アメリカ
日本
EU
イギリス
オーストラリア
ニュージーランド
カナダ
スイス
中国
データは最大3つまで同時に表示することができます。
一つの国で複数指標を比較したり、同一指標を異なる国で比較する時に選択してください。
選択可能データ
インフレ率(対前年比)
インフレ率(対前月比)
期待インフレ率
GDP
GDP成長率
失業率
小売売上高
EPS Surprise (Working)Plots the EPS surprise between reported and estimate.
* This is a working version of the old EPS Surprise indicator here that seems to have been abandoned.
FOMC AnnouncementsThis indicator plots vertical lines at the scheduled times of US Federal Reserve's FOMC Meeting Announcements. Usually, that time or the 24 hours before and after could see big moves in markets. You can change those dates and times in the settings, and could use the indicator option "Add this indicator to entire layout" if you want to easily reflect that across all panes of a layout. Those lines will show on any symbol you switch to, saving you time and effort of drawing them manually.
Central Bank Interest RatesThis indicator simply plots the central bank’s interest rates of the countries below.
United States
Japan
EU
United Kingdom
Australia
New Zealand
Canada
Switzerland
——————————
各国中央銀行の政策金利を表示するインジケーターです。
Gotobi TeriyakiUSDJPY Anomaly.
This anomaly originated in Japan.
Buy from 2:00 pm Japan time.
Sell at 9:55 Japan time.
Japanese importers often settle payments to suppliers in dollars, and exchange yen for dollars on settlement days (days falling on a 5 or 10, so-called goto days).
Therefore, on goto days, there is sometimes a shortage of dollars held by financial institutions. This is called the "middle price shortage," and financial institutions purchase dollars through the foreign exchange market to resolve the middle price shortage.
As a result, the dollar currency is bought and USD/JPY depreciates against the yen. Since the yen has historically appreciated against the dollar, exporting companies make forward exchange contracts with financial institutions as a risk hedge.
Financial institutions are therefore forced to procure dollars in the market because they do not have enough dollars in their balance sheets to deliver to exporters.
Five days is called "GO" in Japanese.
Ten days is called "TO" in Japanese.
In Japanese, a day is called "BI".
Now I can eat teriyaki all day long :)
ドル円ゴトー日ストラテジーを作ってみました。
Eurobond CurveABOUT
Dynamically plots 3 no. forward EUROBOND curves. When the curves converge (or worse crossover) there is higher risk of financial uncertainty and potential market correction.
The Eurobond Curves work in a similar way to treasury "yield curve inversion"; except the EUROBOND curves can signal much earlier than Treasuries therefore providing a leading indicator.
The indicator looks the the "near" (next year EUROBOND), "mid" (EUROBOND 2 years out) and "far" (EUROBOND 5 years out) to assess for crossovers.
When the "near" and "mid" curves crossover the "far" curve, concerning economic conditions are developing and it may be a good idea to reduce risk exposure to markets.
LIMITATIONS
The EUROBOND curve crossover events are rare, and this indicator uses data back to 2005 (using approximately 25 TradingView security functions). Given there are relatively few crossover events, the reliability of this indicator should be considered low. Nonetheless, there is decent alignment with treasury yield curve inversions in the 20 year period assessed. Given treasury yield curve inversions have predicted every recession for the last 70 years, we still think the EUROBOND Curves are a useful datapoint to monitor into the future and provide confluence to other risk management strategies.
The Real GBTC Premium (Capriole Investments)The real Grayscale Bitcoin (GBTC) premium / discount.
Charts the premium / discount of GBTC trust versus the Bitcoin spot price.
The GBTC premium / discount is frequently calculated incorrectly as it needs to consider the amount of Bitcoin behind each share of GBTC, which changes over time.
This indicator allows for an estimate of that change through time, a more realistic representation of 1 BTC to 1 BTC within GBTC.
If the chart is red, at a discount = can buy a synthetic Bitcoin (GBTC) at a discount to the underlying asset Bitcoin.
If the chart is green, at a premium = can buy a synthetic Bitcoin (GBTC) at a premium to the underlying asset Bitcoin.
The user should also consider that to-date, GBTC charges an annual fee which depletes the value within the GBTC trust. Grayscale wants to convert GBTC to an ETF, but its applications have so far been rejected by the SEC.
If GBTC is converted to an ETF in the future, we might expect that any GBTC discount shown here will be neutralized; potentially offering an additional return to any holder of GBTC, though this cannot be known for sure until such a conversion occurs.
EV-IndexThis script calculates the average market cap of various EV Stocks and plots the equivalent Cenntro share price based on an outstanding share count of 261,256,205 shares. EV Stocks included in index:
LCID, RIVN, NIO, LI, XPEV, FSR, NKLA, ARVL, PTRA, LEV, FFIE, GOEV, HYZN, NIU, HYLN, REE, RIDE, SEV, MULN, CENN
BEST Strategy Template AutoviewHello Traders
I've build a strategy template building for you the AUTOVIEW commands
I made this template based on this documentation: use.autoview.with.pink
You can select whether you want to use an SL or not, a TP or not, using the borrow/repay feature (only for Binance), ... and it will build dynamically the Autoview commands and will send them when entry/exit alerts trigger.
The template accept SL/TP in percentage or pips/USD distance from the entry price
MAGICAL !!!! (not really, just some dumb coding)
Users will have to specify from the settings:
- the Autoview account name
- the symbol name: I couldn't capture it from the chart because sometimes the symbol name on the broker side is different than the one from the TradingView side
- the position size
- the broker name (Tradovate, Binance, Bitmex, FTX, ...)
- if you want to send the alerts to your DEMO or LIVE account
- a debug mode to check if your alerts are well formatted
- and a few other interesting options...
If you want to use it, you'll have to update the dummy entries logic lines 97-98 and replacing those two lines by your own stuff
I'll make the ProfitView and 3Commas and Alertatron versions shortly.
Basically the same script but with the commands built for those 3 automation third-parties.
Best regards
Dave
BankNifty VWAP VWAP - Volume-Weighted Average price ( VWAP )
The script draws Daily VWAP for BANKNIFTY SPOT , based on Futures Volume or underlying Index Stocks based on user input
BANKNIFTY INDICES IS THE WEIGHTAGE OF 12 STOCKS AS DECIDED BY EXCHANGE.
BANKNIFTY VWAP CALCULATES THE COMBINED VWAP OF THESE 12 STOCKS AND GENERATES VWAP FOR BANKNIFTY
It works with NIFTY as well. Please change the Symbol and Futures Volume symbol to "NSE:NIFTY" and "NSE:NIFTY1!"
NIFTY INDICES IS THE WEIGHTAGE OF 50 STOCKS AS DECIDED BY EXCHANGE.
NIFTY VWAP CALCULATES THE COMBINED VWAP OF THESE 50 STOCKS AND GENERATES VWAP FOR NIFTY
This script is intended for educational purposes only.
03/07/2022 WEIGHT AGE OF INDEX STOCKS (%)
HDFC Bank Ltd. - 27.63
ICICI Bank Ltd. - 22.98
Kotak Mahindra Bank Ltd. - 11.40
State Bank of India - 11.73
Axis Bank Ltd. - 11.6
IndusInd Bank Ltd. - 5.03
AU Small Finance Bank - Ltd. 2.54
Bandhan Bank Ltd. - 1.98
Bank of Baroda - 1.76
Federal Bank Ltd.- 1.76
PNB - 0.84
IDFC First Bank - 0.95
SMC RulesThis script allowes you to have a plan always shown on the chart.
You know how it is, sometimes you miss things and if you dont see your plan then you miss maybe an important part... so for this i wrote that simple script here.
So far it has 5 Sections you can edit in the settings to your liking.
On top you can also edit the swing structure you are seeing, so you dont have to always swap timeframes.
Also implemented are the Session times for Frankfurt, London, New York and Asia.
Its not enabled on default, but i find it quiet handy to have..
(including alerts)
I will update it from time to time, if you wish for something just let me know.
Smart Money BusterAfter daytrading for a while i came into conclusion that price action trading is the most successful way to trade for me and this project was for me to simplify my way of trading at the beginning. Eventually it got big and turned into a very useful helper indicator for me to setup on different pairs for alerts and only look at the charts to decide for entry when the alerts come from 120 different pairs that i set it up. Since i always looked at indicators for a way to make my job simpler and give me more time to do more important things for me rather than drawing lines on different pairs eveyday i think it got to a point where it works to my liking and making me gain time, thus more money.
This indicator uses smart money concepts like Market Structure, Order Blocks, Quassimodo Levels, Structure Breaks, Pumps and Dumps, Imbalances(In the works will be added in first update) to help trader catch what the whales are thinking and how to enter in the right time for swing trading, catching bottoms and tops.
Here are some of the features as of release:
Detects Market Structure and draws zig-zag lines and keeps note of pivot points.
Detects Order blocks and draws boxes when the conditions met
Detects the quassimodo levels and changes the color of the box to signal double confluence meaning stronger signal
Draws structure break lines
Setting to set structure break percentage before drawing boxes to get the boxes drawn if you want to be more 'sure' about the Order Block Levels.
Setting to change depth and backstep values for zigzags to be able to let you fit the system for different time frames.
Setting to set MSB trigger point between High and Low, Close and Open or hl2 values.
Setting to set Signal Triggering Range between Start, Middle and End meaning eg. if you set it to Middle it will wait for MSB trigger point to hit the middle of the box before giving you a signal.
Setting for changing HH-LL pivot points lookback count, 5 as default. Increasing this value will make you compare your pivot points with more data, really useful in lower time frames where will be a lot of zig-zags and highs and lows giving you a method to avoid false signals. Recommended to keep it lower values on 30 min and higher and increase it in lower Timeframes according to market volatility.
Setting to add a Box limit where the box of order block will be set invalid after certain candles and it still didn't trigger. Default value of 0 means it's disabled.
Setting to set Candle volatility percentage value to avoid big candles getting opposite signals on fast pump or dump schemes and bust those market makers schemes. Gotta say this came out really handy in crypto markets :)
As an end you can set alerts for 'Buy' , ' Sell ', ' Buy and Sell' together or if you wish you can connect it to bots via webhook as an entry. Although haven't connected to any bots myself as i think the best method of trading is human and machine working together. Since we have the creativity and out of the box thinking and machines have the ability to brute force calculation and huge bandwith that we don't currently have. At least until Elon Musk turns is into a cyborg, which i am not very eager about.
Planned Features:
- Add ability to detect imbalances(fair value gaps) to add third confluence to detect dragon fruit entries. This will make the system work with triple confluence.
- Add more settings so humans can command the ai better.
- Maybe a strategy version after i write my own dynamic take profit algorithm to give system ability make quantitative decisions based on current position profit levels.
- Although i think i fixed almost all the important bugs if there ever comes up one bugs will take priority for updates.
- And some things i may decide to add later. I will keep working on this project since it works well for me.
And like always, happy trading.
Supply Weighted Moving AverageUse on a Weekly timeframe:
This moving average channel is weighted based on the new BTC offer:
I believe that the slope of the Bitcoin trend line correlates with the new supply and availability problem.
Thanks MJShahsavar
Original script "Weighted average moving average of the offer: Onchin"
Crypto addict 7 Accurate Buy & Sell indicators
The below indicators are recommended on the daily chart only.
Yellow Diamond - Possible bottom of the market. This diamond will only flash a few times in a cycle on the BTC chart. This is actually one the BEST buying signal
Green Buy – Buy
Red Sell - Sell / take profits
BIG red cross – Possible top and best signal to sell or take profits
BIG green cross – possible bottom and the best signal to buy
Silver Line – 111 MA
The modified 111 moving average is also a very good indicator. The market will test this support/resistance before the 200 moving average.
Purple line – 200 MA
The modified 200 moving average is a very good indicator. You will get a feel if the markets are in a up or down trend and identifying support and resistance areas. A daily candle close above the line is support and markets can move upwards. A daily close below indicate resistance and markets will move downwards
Red line – Confirmed bullish / bearish cycle!!
Green Line - This MA line indicate the bottom of the cycle - your absolute best entry point for the next cycle. This MA got a 10-year accurate record.
Remember that past history does not guarantee future results.