Daily BreadWhat it does:
This script uses specific multiple true ranges from a 30 EMA baseline to plot lines that represent 10% buying increments. Although the common period for ATR is 14, this script employs a period of 20 for smoothing that I have determined is more effective when used with a daily candle chart. It includes onscreen trend signals to identify an uptrend or downtrend when the 50 EMA crosses the 90 EMA and will also display a coloured directional signal at each candle beyond an EMA cross to identify the current trend.
The script plots a scale of percentage labels at the end of each line to identify the percent of an account intended to be in short or longer term trades.
How it does it:
The script uses a 30 EMA baseline and then multiplies ATR increments of +1, +2, +4 and -1 through -7. These ATR multiples and the EMA are plotted as 11 lines, 10 of which make up the range of 10% increments from 10% to 100% with the 11th line being the High Band representing the extreme high or expected sale of any holdings. The percentage label scale uses variable declarations to position and colour match a percentage label to each line.
Intended use:
It is intended to be used for short term trading or long term investing with a daily market index chart such as SPY and multiple exchange traded funds that track said market index. A different ETF is purchased when a daily SPY candle reaches a lower buy band using 10% of a total account value. The sale of any ETFs is at the discretion of the trader and dependent on investment strategy (short term trading or long term inventing) and the trend. When short term trading in a downtrend or when daily candles are below the 50 EMA, selling would be done every 2 to 3 bands above a buy to mitigate the risk of a significant portion of an account getting caught in a downtrend. In an uptrend the High Band would be used to sell any holdings.
תעודות סל
Ethereum ETF Tracker (EET)Get all the information you need about all the different Ethereum ETF.
With the Ethereum ETF Tracker, you can observe all possible Ethereum ETF data:
ETF name.
Ticker.
Price.
Volume.
Share of total ETF volume.
Fees.
Exchange.
Custodian.
At the bottom of the table, you'll find the ETHE Premium (and ETH per Share), and day's total volume.
In addition, you can see the volume for the different Exchanges, as well as for the different Custodians.
If you don't want to display these lines to save space, you can uncheck "Show Additional Data" in the indicator settings.
The Idea
The goal is to provide the community with a tool for tracking all Ethereum ETF data in a synthesized way, directly in your TradingView chart.
How to Use
Simply read the information in the table. You can hover above the Fees and Exchanges cells for more details.
The table takes space on the chart, you can remove the extra lines by unchecking "Show Additional Data" in the indicator settings or reduce text size by changing the "Table Text Size" parameter.
Aggregate volume can be displayed directly on the graph (this volume can be displayed on any asset, such as Ethereum itself). The display can be disabled in the settings.
Sector Rotation Hedging With Volatility Index [TradeDots]The "Sector Rotation Hedging Strategy With Volatility Index" is a comprehensive trading indicator developed to optimally leverage the S&P500 volatility index. It is designed to switch between distinct ETF sectors, strategically hedging to moderate risk exposure during harsh market volatility.
HOW DOES IT WORK
The core of this indicator is grounded on the S&P500 volatility index (VIX) close price and its 60-day moving average. This serves to determine whether the prevailing market volatility is above or below the quarterly average.
In periods of elevated market volatility, risk exposure escalates significantly. Traders retaining stocks in sectors with disproportionately high volatility face increased vulnerability to negative returns. To tackle this, our indicator employs a two-pronged approach utilizing two sequential candlestick close prices to confirm if volatility surpasses the average value.
Upon confirming above-average volatility, a hedging table is deployed to spotlight ETFs with low volatility, such as the Utilities Select Sector SPDR Fund (XLU), to derisk the overall portfolio.
Conversely, in low-volatility conditions, sectors yielding higher returns like the Technology Select Sector SPDR Fund (XLK) are preferred. The hedging table is utilized to earmark high-return sector ETFs.
Thus, during highly volatile market periods, the strategy recommends enhancing portfolio allocation to low-volatility ETFs. During low-volatility windows, the portfolio is calibrated towards high-volatility ETFs for heightened returns.
IMPORTANT CONSIDERATION
In real trading, additional considerations encompassing trading commissions, management fees, and ancillary rotation costs should be factored in. False signals may arise, potentially leading to losses from these fees.
RISK DISCLAIMER
Trading entails substantial risk, and most day traders incur losses. All content, tools, scripts, articles, and education provided by TradeDots serve purely informational and educational purposes. Past performances are not definitive predictors of future results.
[MAD] BTC ETF Volume In/OutflowThe " BTC ETF Volume In/Outflows" indicator is designed to analyze and visualize the volume data of various Bitcoin Exchange-Traded Funds (ETFs) across different exchanges. This indicator helps traders and analysts observe the inflows and outflows of trading volume in a structured and comparative manner.
Features
Multi-Ticker Support: The indicator is capable of handling volume data from multiple ETFs simultaneously, making it versatile for comparative analysis.
Volume Adjustments: Provides an option to view volume data either as the number of pieces (shares) traded or as monetary flow (value traded).
Compression Factor: Includes a volume compression factor setting that helps in emphasizing smaller volume changes or smoothing out volume spikes.
Data Calculation
Volume data is processed using a custom function that adjusts the data based on user settings for piece or monetary representation and applies a logarithmic compression factor.
This processed data is then fetched for each ticker.
Visualization
Volume data is visualized on the chart using column plots where each ETF's volume data is stacked and offset to provide a clear visual representation of in/outflows. Horizontal lines indicate the zero level for reference.
Usage Scenario
This indicator is particularly useful for traders who track multiple ETFs and need to compare their volume activities simultaneously. It provides insights into market trends, potentially indicating bullish or bearish shifts based on volume inflows and outflows across different instruments.
have fun :-)
Economic Growth Index (XLY/XLP)Keeping an eye on the macroeconomic environment is an essential part of a successful investing and trading strategy. Piecing together and analysing its complex patterns are important to detect probable changing trends. This may seem complicated, or even better left to experts and gurus, but it’s made a whole lot easier by this indicator, the Economic Growth Index (EGI).
Common sense shows that in an expanding economy, consumers have access to cash and credit in the form of disposable income, and spend it on all sorts of goods, but mainly crap they don’t need (consumer discretionary items). Companies making these goods do well in this phase of the economy, and can charge well for their products.
Conversely, in a contracting economy, disposable income and credit dry up, so demand for consumer discretionary products slows, because people have no choice but to spend what they have on essential goods. Now, companies making staple goods do well, and keep their pricing power.
These dynamics are represented in EGI, which plots the Rate of Change of the Consumer Discretionary ETF (XLY) in relation to the Consumer Staples ETF (XLP). Put simply, green is an expanding phase of the economy, and red shrinking. The signal line is the market, a smoothed RSI of the S&P500. Run this on a Daily timeframe or higher. Check it occasionally to see where the smart money is heading.
BTC ETF VolumesVolume
This script plots the trading volume of all BTC spot ETFs as well as the aggregate volume. Works on any chart and any timeframe.
Indicators
The volume of every ETF is plotted in a different color, with the total column adding up to the aggregate volume.
If you have price and indicator labels enabled you will also see individual ETF volume on your price scale on the right hand side.
If more BTC ETFs get launched I will add them.
Bitcoin ETF Tracker (BET)Get all the information you need about all the different Bitcoin ETFs.
With the Bitcoin ETF Tracker, you can observe all possible Bitcoin ETF data:
The ETF name.
The ticker.
The price.
The volume.
The share of total ETF volume.
The ETF fees.
The exchange and custodian.
At the bottom of the table, you'll find the day's total volume.
In addition, you can see the volume for the different Exchanges, as well as for the different Custodians.
If you don't want to display these lines to save space, you can uncheck "Show Additional Data" in the indicator settings.
The Idea
The goal is to provide the community with a tool for tracking all Bitcoin ETF data in a synthesized way, directly in your TradingView chart.
How to Use
Simply read the information in the table. You can hover above the Fees and Exchanges cells for more details.
The table takes space on the chart, you can remove the extra lines by unchecking "Show Additional Data" in the indicator settings or reduce text size by changing the "Table Text Size" parameter.
Upcoming Features
As soon as we have a little more history, we'll add variation rates as well as plots to observe the breakdown between the various Exchanges and Custodians.
Volume Sum BTC ETFsThis volume indicator tracks the volume of these 10 bitcoin ETFS:
AMEX:GBTC, NASDAQ:IBIT, AMEX:BTCO, AMEX:ARKB, AMEX:HODL, AMEX:EZBC, NASDAQ:BRRR, AMEX:BTCW, AMEX:DEFI, AMEX:BITB
It multiplies the traded shares with the hl2 share price and then devides the volume by the bitcoin hl2 price.
You can change to usd volume in settings.
Enjoy!
Notice that historical volume comes from etfs which traded already before launch like GBTC.
Also notice that that btc trades also when tradfi markets are closed, so then the indicator will show the last available volume. Something to fix later.
EFTENG: Inflation Price Forecast indicator
With this indicator, when you add monthly and annual positive inflation rates, the price of the parity is estimated according to inflation. You can enter inflation rates as either positive or negative. You can write positive inflation rates as they are, but when writing negative inflation rates, the rate must be preceded by a negative phrase. A (-) sign should be placed in front of the negative inflation rate. Their codes are open and anyone can develop these codes. In the use of indicators, it is useful to look at the monthly chart because inflation rates are given on a monthly basis. As a result of these data, you can see the most accurate results on the monthly chart. The green line shows the positive inflation, the red line the negative inflation, and the gray line shows the annual positive and negative inflation. You can arrange the colors and line formats according to your desire.
TR: Enflasyon Fiyat Tahmini indikatörü
Bu indikatör ile aylık, yıllık pozitif enflasyon oranları eklediğinizde paritenin fiyatını enflasyona göre fiyat tahminde bulunmaktadır. Enflasyon oranlarını isterseniz pozitif isterseniz negatif olarak giriş yapabilirsiniz. Pozitif enflasyon oranlarını olduğu gibi yazabilirsiniz ancak negatif enflasyon oranını yazarken oranın başında negatif ibaresi bulunmalıdır. Negatif enflasyon girişini oranın önüne (-) işareti konulmalıdır. Kodları açık ve herkes bu kodları geliştirebilir. İndikatör kullanımında ise Aylık grafikte bakmanızda fayda var çünkü enflasyon oranları aylık bazda verilmektedir. Bu veriler neticesinde en doğru sonuçları aylık grafikte görebilirisiniz. Yeşil çizgi pozitif enflasyonu kırmızı çizgi negatif enflasyonu gri çizgi yıllık pozitif ve negatif enflasyonu göstermektedir. Renkleri, çizgi biçimleri isteğinize göre düzenleyebilirsiniz.
ETF 3-Day Reversion StrategyIntroduction: This strategy is a modification of the “3-day Mean Reversion Strategy” from the book "High Probability ETF Trading" by Larry Connors and Cesar Alvarez. In the book, the authors discuss a high-probability ETF mean reversion strategy for a 1-day time-frame with these simple rules:
The price must be above the 200 day SMA and below the 5 day SMA.
The low of today must be lower than the low of yesterday (must be true for 3 consecutive days)
The high of today must be lower than the high of yesterday (must be true for 3 consecutive days)
If the 3 rules above are true, then buy on the close of the current day.
Exit when the closing price crosses above the 5 day SMA.
In practice and in backtesting, I’ve found that the strategy consistently works better when using an EMA for the trend-line instead of an SMA. So, this script uses an EMA for the trend-line. I’ve also made the length of the exit EMA adjustable.
How it works:
The Strategy will buy when the buy conditions above are true. The strategy will sell when the closing price crosses over the Exit Moving Average
Plots:
Green line = Exit Moving Average (Default 5 Day EMA)
Blue line = 5 Day EMA (Used as Entry Criteria)
Disclaimer: Open-source scripts I publish in the community are largely meant to spark ideas that can be used as building blocks for part of a more robust trade management strategy. If you would like to implement a version of any script, I would recommend making significant additions/modifications to the strategy & risk management functions. If you don’t know how to program in Pine, then hire a Pine-coder. We can help!
ETF / Stocks / Crypto - DCA Strategy v1Simple "benchmark" strategy for ETFs, Stocks and Crypto! Super-easy to implement for beginners, a DCA (dollar-cost-averaging) strategy means that you buy a fixed amount of an ETF / Stock / Crypto every several months. For instance, to DCA the S&P 500 (SPY), you could purchase $10,000 USD every 12 months, irrespective of the market price. Assuming the macro-economic conditions of the underlying country remain favourable, DCA strategies will result in capital gains over a period of many years, e.g. 10 years. DCA is the safest strategy that beginners can employ to make money in the markets, and all other types of strategies should be "benchmarked" against DCA; if your strategy cannot outperform DCA, then your strategy is useless.
Recommended Chart Settings:
Asset Class: ETF / Stocks / Crypto
Time Frame: H1 (Hourly) / D1 (Daily) / W1 (Weekly) / M1 (Monthly)
Necessary ETF Macro Conditions:
1. Country must have healthy demographics, good ratio of young > old
2. Country population must be increasing
3. Country must be experiencing price-inflation
Necessary Stock Conditions:
1. Growing revenue
2. Growing net income
3. Consistent net margins
4. Higher gross/net profit margin compared to its peers in the industry
5. Growing share holders equity
6. Current ratios > 1
7. Debt to equity ratio (compare to peers)
8. Debt servicing ratio < 30%
9. Wide economic moat
10. Products and services used daily, and will stay relevant for at least 1 decade
Necessary Crypto Conditions:
1. Honest founders
2. Competent technical co-founders
3. Fair or non-existent pre-mine
4. Solid marketing and PR
5. Legitimate use-cases / adoption
Default Robot Settings:
Contribution (USD): $10,000
Frequency (Months): 12
*Robot buys $10,000 worth of ETF, Stock, Crypto, regardless of the market price, every 12 months since its founding time.*
*Equity curve can be seen from the bottom panel*
Risk Warning:
This strategy is low-risk, however it assumes you have a long time horizon of at least 5 to 10 years. The longer your holding-period, the better your returns. The only thing the user has to keep-in-mind are the macro-economic conditions as stated above. If unsure, please stick to ETFs rather than buying individual stocks or cryptocurrencies.
The Lazy Trader - Index (ETF) Trend Following Robot50/150 moving average, index (ETF) trend following robot. Coded for people who cannot psychologically handle dollar-cost-averaging through bear markets and extreme drawdowns (although DCA can produce better results eventually), this robot helps you to avoid bear markets. Be a fair-weathered friend of Mr Market, and only take up his offer when the sun is shining! Designed for the lazy trader who really doesn't care...
Recommended Chart Settings:
Asset Class: ETF
Time Frame: Daily
Necessary ETF Macro Conditions:
a) Country must have healthy demographics, good ratio of young > old
b) Country population must be increasing
c) Country must be experiencing price-inflation
Default Robot Settings:
Slow Moving Average: 50 (integer) //adjust to suit your underlying index
Fast Moving Average: 150 (integer) //adjust to suit your underlying index
Bullish Slope Angle: 5 (degrees) //up angle of moving averages
Bearish Slope Angle: -5 (degrees) //down angle of moving averages
Average True Range: 14 (integer) //input for slope-angle formula
Risk: 100 (%) //100% risk means using all equity per trade
ETF Test Results (Default Settings):
SPY (1993 to 2020, 27 years), 332% profit, 20 trades, 6.4 profit factor, 7% drawdown
EWG (1996 to 2020, 24 years), 310% profit, 18 trades, 3.7 profit factor, 10% drawdown
EWH (1996 to 2020, 24 years), 4% loss, 26 trades, 0.9 profit factor, 36% drawdown
QQQ (1999 to 2020, 21 years), 232% profit, 17 trades, 3.6 profit factor, 2% drawdown
EEM (2003 to 2020, 17 years), 73% profit, 17 trades, 1.1 profit factor, 3% drawdown
GXC (2007 to 2020, 13 years), 18% profit, 14 trades, 1.3 profit factor, 26% drawdown
BKF (2009 to 2020, 11 years), 11% profit, 13 trades, 1.2 profit factor, 33% drawdown
A longer time in the markets is better, with the exception of EWH. 6 out of 7 tested ETFs were profitable, feel free to test on your favourite ETF (default settings) and comment below.
Risk Warning:
Not tested on commodities nor other financial products like currencies (code will not work), feel free to leave comments below.
Moving Average Slope Angle Formula:
Reproduced and modified from source:
Reflex - A new Ehlers indicatorSource: Stocks and Commodities V38
Hooray! A new John Ehlers indicator!
John claims this indicator is lag-less and uses the SPY on the Daily as an example.
He states that drawing a line from peak to peak (or trough to trough) will correspond perfectly with the Asset.
I have to say I agree! There is typically one bar of lag or no lag at all!
I believe this indicator can be used for either entries or exits, but not both.
Entry
1. Entering Long positions at the pivot low points (Stocks and ETFs)
2. Entering Long when the Reflex crosses above the zero lines (Stocks, ETFs, Commodities)
Exit
1. Exiting Long positions at a new pivot high point (Stocks and ETFs)
2. Exiting Long when the Reflex crosses below the zero lines (Stocks, ETFs, Commodities)
In this example, I place a Long order on the SPY every time the Reflex crosses above the zero level and exit when it crosses below or pops my stop loss, set at 1.5 * Daily ATR.
4/6 Wins
+10.76%
For me, that's good enough to create a strategy and backtest on several Indices and ETFs, which is what I have a hunch this will work on.
I think there is a lot of promise from a single Indicator!
Let me know in the comment section if you're able to use this in a strategy.
InfoPanel - SeasonalityThis panel will show which is the best month to buy a stock, index or ETF or even a cryptocurrency in the past 5 years.
Script to use only with MONTHLY timeframe.
Thanks to: RicardoSantos for his hard work.
Please use comment section for any feedback.
Cash in/Cash out Report (CICO) - Quiets market noiseThe cash in/cash out report (CICO for short) was built with the intent to quiet the market noise. The blunt way to say it, this indicator quiets the market manipulators voice and helps the retail investor make more money. I believe money is better of in the 99% hands versus the greedy hoarding that is currently going on. There are dozens of companies in the SP500 that have the same tax rate as unborn babies, nada. These hoarders also have machine learning high frequency trading bots that purposely create fear and anxiety in the markets. When all of the major markets move at the exact same time of day on frequent occasions, I see red flags. I recommend looking into Authorized participants in the ETF market to understand how the markets can be manipulated, specifically Creation and Redemption.
Enough of my rant. This indicator is open source. Directions on how to use the indicator can be found within the code. The basic summary is, clear your charts to bare minimums. Make the colors gray on all candles. Then apply this indicator. The indicator will color the "buy" and "sell" signals on the chart. Keep in mind, markets are manipulated to create fear in the retail investors little heart and can change drastically at any second. This indicator will show real time changes in running sum into and out of the market, it is estimated by average prices and not exact.
Once the chart is all greyed out and the indicator is applied you will see an area colored red and green. What this indicator does is takes a running sum of the new money into and out of the market. It takes the average of the high and low price times the volume. If the price is going up the value is positive, going down will be negative. Then the running sum is displayed. The area section is the running sum and the column bars are each value. When a market is steadily increasing in value you will see the large green area grow. When markets shift, values and display will change in color and vector. Full descriptions are available within the script in the comment sections.
I hope this help you make more money. If this helps you grow profits, give it a like!
Happy investing 99%er!