DR/IDR of Omega by TRSTNThis is an EXPERIMENTAL Script by @TRSTNGLRD derived from the coding of @IAmMas7er's "DR/IDR" Indicator that adds a total of 11 additional DR / IDR Ranges on both lower and higher timeframes.
This script is no-longer being worked on, so I have made it public.
Background:
This Script utilizes the Fibonacci-Doubling Sequence between the range of 18:30pm and 16:55pm NY-Time. Each Cycle is grouped into the following:
Omega/2, Omega/4, Omega/8, and Omega/16
The Mas7er's three original sessions are: Omega/4v1, Omega/4v2, and Omega/8v1
These three Sessions above take rule over all others. If you are looking to back-test this version of the script, please use the Experimental ranges as confirmation for the three above.
Important Notes:
- Please only select Sessions with their respected groups (All of Omega/4, All of Omega/16, etc...) rather than selecting all of them at once.
If you select all of them at once, the ranges will not be correct and cut each other off.
The only exceptions to this rule are the Mas7er's original ranges above.
- If you wish to have multiple groups of Ranges together, please add a second indicator to your chart.
- Omega/16v1 and Omega/16v6 are known to have a high-probability of a Judas Swing (takes out both sides of the range) - Be Cautious!
- Omega/2v1 is a very large DR / IDR range. I am working on shrinking it in size, but have more experimenting to do with different ranges.
- I do not use the experimental ranges with the IDR , only the DR . I have not been able to define probabilities fully yet, but the levels are respected nonetheless.
This script is not supposed to work EXACTLY like the Mas7er's, rather, generally instead.
Please comment and leave your opinion below about which ranges work the best and how you may utilize them.
Thank you!
Cycles
Dominant Direction (DD)The Dominant Direction indicator is a custom technical analysis tool that uses the Dominant Cycle Estimators library to identify the dominant trend direction in the market. The indicator utilizes the MAMA Cycle function, which is a part of the library, to calculate the period of the data. The resulting period is then used to plot lines on the chart that represent the dominant trend direction.
The indicator takes two inputs, the source of data, and the high and low values of the source. The MAMA Cycle function is used to calculate the period of the data, with the lower bound and upper bound of the dynamic length defined by the user. The indicator then plots lines on the chart to represent the dominant trend direction. The lines are plotted from the current bar to the bar that is a certain number of periods away, as defined by the MAMA Cycle function, in the direction of the trend.
The indicator also has a feature of removing the lines when the trend is no longer confirmed. If the bar state is confirmed, the line is deleted and this helps the user to have a clearer view of the chart.
In summary, the Dominant Direction indicator is a powerful tool for identifying the dominant trend direction in the market. It uses the MAMA Cycle function to calculate the period of the data and plots lines on the chart to represent the dominant trend direction. This can help traders identify potential entry and exit points, and make more informed trading decisions.
inverse_fisher_transform_adaptive_stochastic█ Description
The indicator is the implementation of inverse fisher transform an indicator transform of the adaptive stochastic (dominant cycle), as in the Cycle Analytics for Trader pg. 198 (John F. Ehlers). Indicator transformation in brief means reshaping the indicator to be more interpretable. The inverse fisher transform is achieved by compressing values near the extremes many extraneous and irrelevant wiggles are removed from the indicator, as cited.
█ Inverse Fisher Transform
input = 2*(adaptive_stoc - .5)
output = e(2*k*input) -1 / e(2*k*input) +1
█ Feature:
iFish i.e. output value
trigger i.e. previous 1 bar of iFish * 0.90
if iFish crosses above the trigger, consider a buy indicated with the green line
while, iFish crosses below the trigger, consider a sell indicate by the red line
in addition iFish needs to be greater than the previous iFish
Fiat Currency and Gold Indices (FGXY) CandlesA modification of my previous indicator "Crypto Index (DXY) Candles". The idea was to create a similar currency basket to the standard DXY, but from the perspective of other currencies. Still using the standard DXY weights, this indicator allows you to create a tailored index for other currencies, provided that a currency pair exists for each of the 6 components. This means that even currencies that aren't included should work in theory; just find the 3 character currency prefix used by tradingview and give it a shot! This indicator is useful for gauging how well countries/currencies are holding up and when paired with the standard DXY may help see potential inflection points. For use on longer time frames (~1h-~3d) as some of the data being pulled seems to have issues on lower timeframes.
Distribution DaysWhat is Distribution Day?
A distribution day is when a market representative index (for example, Nifty 50) loses more than 0.2 percent in a day, with volume higher than that of the previous session.
When a distribution day occurs, it hints that big institutional investors are exiting or reducing their positions in the market. Institutional activity is what moves any market, especially in India where retail participation is small.
How does it help in sensing market weakness?
When the market is in an uptrend, the intensity of market weakness is determined by the distribution day count. An investor keeps count of all valid distribution days (as per above definition) during an uptrend.
A distribution day count of 2-3 is benign and usually normal in an uptrend. But when the count goes to 5-6, one should prepare to get his/her positions trimmed.
Distribution Day Expiry:
ven though a distribution day hints that institutions may be liquidating their positions, it loses its impact after 25 trading sessions. A distribution day is also removed from the count after the index rallies 5 percent above that day’s close.
30MIN CYCLE█ HOW DOES IT WORK?
The known 90 min cycle is used as one killzone. But actually all 18 min are relevant to search for a trade. All 18 min when a new box starts only then is the placement of an order valid. If the entry candle isn't in a box then it will probably fail. The boxes should only be used in the M1 or M5 timeframe. The best hitrate is in the M1 timeframe. Included are the last 48 "Mini-Killzones" für intraday trading and backtesting. These "Mini-Killzones" can be used with the "Liquidity Inducement Strategy".
█ WHAT MAKES IT UNIQUE?
This is the first indicator on tradingview that shows all mini-killzones for trading and backtesting a whole tradingday. The well-known killzones of ICT are from 08:00-11:00 and 14:00 - 17:00 (UTC+1) but with this indicator there is finally a refinement of the ICT Smart Money Concept killzones.
█ HOW TO USE IT?
For a proper use of this indicator we suggest to know already at least SMC or better Liquidity Indcuement Trading. This indicator is a further confluence before placing an order. After you made your setup you will have these mini-killzones as a confluence. We don't suggest to open a trade only according to this indicator.
█ ADDITIONAL INFO
This indicator is free to use for all tradingview users.
█ DISCLAIMER
This is not financial advice.
Crypto Index (DXY) CandlesA modification of @loxx's "Dollar Index (DXY) Candles" allowing for a user selected basket of tickers using the same weights as the standard DXY. Ticker Inputs are in descending order so highest weight is at the top by default, although weighting can be changed manually by modifying the symbol's corresponding weight input in the settings. The Idea was to get a bird's eye view of the crypto space using some of the more relevant names in the space. User's can use the toggle in the settings for viewing the default DXY for comparison. Indicator should be used as a confirmation when looking at long term trend changes in the space, shorter time frames may, or may not be as useful.
Visible Fibonacci█ OVERVIEW
This indicator displays Fibonacci retracement and extension levels on the price chart using data within the chart's visible range, providing traders with an automated alternative to our well-known drawing tool .
█ CONCEPTS
Fibonacci sequence and the Golden ratio
The Fibonacci sequence is a sequence of numbers where each term is the sum of the previous two terms. In his book Liber Abaci , Fibonacci used this sequence to estimate the growth of rabbit populations. Although most commonly associated with Fibonacci, this numeric sequence appeared in Indian mathematics as early as 200 BC. As this sequence approaches infinity, the ratio of the last element to the preceding approaches the Golden ratio (1.618033...), a well-known metallic ratio theoretically observed in many natural and synthetic systems. Many traders believe that the Fibonacci sequence and the Golden ratio carry significance in the financial markets.
Fibonacci retracements and extensions
Fibonacci retracements and extensions are extremely popular in technical analysis. They are created by connecting two extreme points, typically pivot points, by a trend line and multiplying the range between them by the ratios of steps in the Fibonacci sequence, or more precisely, powers of the Golden Ratio, to produce estimated levels of support and resistance. The ratios used for retracement multipliers are typically the Golden ratio raised to the power of 0, -0.5, -1, -2, and -3, or 1, 0.786, 0.618, 0.382, and 0.236, respectively. It is also common to see traders use a retracement ratio of 0.5. The ratios used for extension multipliers are typically the Golden ratio raised to the power of 0.5, 1, 2, and 3, or 1.272, 1.618, 2.618, and 4.236, respectively. Traders often combine these retracement and extension ratios with others they deem significant for a more personalized output.
Zig Zag
Zig Zag is a popular indicator that filters out minor price fluctuations to denoise data and emphasize trends. Traders commonly use Zig Zag for trend confirmation, identifying potential support and resistance, and pattern detection. It is formed by identifying significant local high and low points in alternating order and connecting them with straight lines, omitting all other data points from their output. There are several ways to calculate the Zig Zag's data points and the conditions by which its direction changes. This script uses the highest and lowest values over a specified length to estimate the locations of pivots. The Zig Zag reverses its direction when a new high or low emerges in the opposite direction. Additionally, enabling the "Detect additional pivots" option in the script settings will locate extra pivots when the number of bars in which no new pivot occurs exceeds the Zig Zag length.
Visible Fibonacci
This script uses the chart's visible bars to calculate and display an automated Fibonacci retracement tool with extreme points based on either of two calculation methods:
• Visible Chart Range: This method uses the highest and lowest points from the visible chart range for Fibonacci level calculation.
• Visible Zig Zag: This method uses historical pivots from a Zig Zag indicator for level calculation. The "nth Last Pivot" input in the script settings controls how many pivots back from the last visible one will be used to calculate the Fibonacci levels.
As traders pan and zoom on their charts, the script dynamically recalculates its values explicitly using the bars within the visible range.
Note that levels drawn outside the range between the high and low points may affect the scale of the chart. To prevent this, select the "Scale price chart only" option in the chart settings.
█ FOR Pine Script™ CODERS
• This script utilizes functions from the VisibleChart library by our resident PineCoders . The library exploits the chart.left_visible_bar_time and chart.right_visible_bar_time variables, which return the opening time of the leftmost and rightmost bars on the chart. They are only two of many new built-ins in the `chart.*` namespace. See this blog post for more information, or look them up by typing "chart." in the Pine Script™ Reference Manual .
• This script's architecture utilizes user-defined types (UDTs) to create custom objects which are the equivalent of variables containing multiple parts, each able to hold independent values of different types . The recently added feature was announced in this blog post.
Look first. Then leap.
OECD CLI Diffusion IndexWhat does the indicator measure?
This is a macro indicator. It uses OECD's composite leading indicator - see details about the CLI below.
What it does it calculate YoY changes for CLI of 38 countries that are members or are associated with the OECD. Then it measures a percent of countries which CLI is rising.
How this can be used?
The positive slope of the curve means that there probably will be an economic growth among those countries within next 6 - 9 months. The negative slope means there probably will be an economic contraction.
Forward-looking economic growth is correlated with positive S&P 500 YoY growth (equity markets are also forward looking). The chart above presents the CLI diffusion index with overlayed S&P500 YoY rate of change.
The CLI is also correlated with ISM PMI - see example below:
What is a CLI?
"The OECD system of Composite Leading Indicators (CLIs) is designed to provide early signals of turning points in business cycles - fluctuation in the output gap, i.e. fluctuation of the economic activity around its long term potential level. This approach, focusing on turning points (peaks and troughs), results in CLIs that provide qualitative rather than quantitative information on short-term economic movements."
Fair Price [XSfera]The indicator allows you to quickly compare business growth rates (by default, earnings per share, EPS) and stock prices to determine overbought or undervalued.
The financial parameter as a percentage fits together several years ago, by default 5, and displays the dynamics. To date, it allows you to see how much the price is higher or lower than fair. The lag in the share price from the growth rate of the business is often called the margin of safety, which makes it safer to invest. Of course, this does not mean that the market will quickly return to a fair course, the market can live its life for a long time.
It is important that the dynamics will be incorrect if the financial parameter at the beginning of the docking is negative, for example, as in TSLA and not very correct in the case of a low base, i.e. when the company only went into profit 5 years ago.
Индикатор позволяет быстро сравнить темпы роста бизнеса (по-умолчанию прибыль на акцию, EPS ) и цены акции, для определения перекупленности или недооценки.
Финансовый параметр в процентном соотношении стыкуется несколько лет назад, по-умолчанию 5, и отображает динамику. На сегодняшний день позволяет увидеть насколько цена выше или ниже справедливой. Отставание цены акции от темпов роста бизнеса, часто называют маржой безопастности, которая позволяет безопаснее инвестировать. Само собой это не значит что рынок быстро вернется в справедливое русло, рынок может долгое время жить своей жизнью.
Важно что динамика будет неверной если финансовый параметр на начало стыковки будет отрицательным, например как в TSLA и не очень корректным в случае низкой базы, т.е. когда компания только только 5 лет назад вышла в прибыль.
Price Filter [AstrideUnicorn]The indicator calculates a fast price filter based on the closing price of the underlying asset. Overall, it is intended to provide a fast, reliable way to detect trend direction and confirm trend strength, using statistical measures of price movements.
The algorithm was adapted from Marcus Schmidberger's (2018) article "High Frequency Trading with the MSCI World ETF". It demeans the price time series using the long-term average and then normalizes it with the long-term standard deviation. The resulting time series is then compared to specified thresholds to determine the trend direction.
HOW TO USE
The indicator surface is colored green if the price is trending upwards and red if the price is trending downwards. If the indicator outline is the opposite color of the indicator surface, it indicates that the price is moving against the trend and the current trend may be losing strength.
If the 'Use threshold' setting is enabled, the indicator will be colored blue if its value is within the range defined by the upper and lower thresholds. This indicates that the price is trending sideways, or that the current trend is losing strength.
SETTNGS
Length - the length of the long-term average used to calculate the price filter. Recommended range 20 - 200. The sensitivity of the indicator increases as the value becomes smaller, allowing it to detect smaller price moves and swings earlier.
Threshold - the threshold value used to detect trend direction.
Use threshold - a boolean (true/false) input that determines whether to use the threshold value for confirmation.
AlexD Market annual seasonalityThe indicator displays the percentage of bullish days with a given date over several years.
This allows you to determine the days of the year when the price usually goes up or down.
Indicator has a built-in "simple moving average" shifted back by half a period, due to which the delay of this smoothing is removed.
ZigCycleBarCount [MsF]Japanese below / 日本語説明は英文の後にあります。
Based on "ZigZag++" indicator by DevLucem. Thanks for the great indicator.
-------------------------
This indicator that displays the candle count (bar count) at the peaks of Zigzag .
It also displays the price of the peaks.
You can easily count candles (bars) from peak to peak. Helpful for candles (bars) in cycle theory.
This logic of the indicator is based from the mt4 zigzag indicator .
Parameter:
Depth = depth (price range)
Backstep = Period
Deviation = Percentage of how much the price has wrapped around the previous line.
Example:
Depth = 12
Backstep = 3
Deviation = 5
In this case, the price range is updated by 12 pips or more (Depth), and after 3 or more candlesticks line up (Backstep), if the price deviates from the previous line by 5% or more (Deviation), a peak is added.
-------------------------
Zigzagの頂点にローソクカウント(バーカウント)を表示するインジケータです。
頂点の価格も表示します。
頂点から頂点までのローソク(バー)を容易にカウントすることができます。
サイクル理論のローソク(バー)に役立ちます。
Zigzagロジック自体はMT4のzigzagインジケータを流用しています。
<パラメータ>
Depth=深さ(値幅)
Backstep=期間
Deviation=価格がどれだけ直前のラインの折り返したかの割合
例:
Depth=12
Backstep=3
Deviation=5
この場合、値幅を12pips以上更新し(Depth)、ローソク足が3本以上並んだ後(Backstep)、価格が直前のラインの5%以上折り返せば(Deviation)、頂点を付けます。
<表示オプション>
Label_Style = "TEXT"…テキスト表示、"BALLOON"…吹き出し表示
On Balance Volume CrossoversCheck on balance volume but with crossover. You can choose the smoothing method, which is set by default to use the Volume Weighted Moving Average (bringing volume to the equation is always a good idea) but you can change to SMA, MA, EMA, ...
Hope you guys enjoy it and don't forget to rate it up! :)
I plan to include % from 0-100 OBV in here later! Stay tuned.
Feedback is cool.
Prime, E & PI Superiority CyclesIf you have been studying the markets long enough you will probably have noticed a certain pattern. Whichever trade entry/exit logic you try to use, it will go through phases of working really well and phases where it doesn't work at all. This is the markets way of ensuring anyone who sticks to an oversimplified, one-dimensional strategy will not profit. Superiority cycles are a method I devised by which code interrogates the nature of where price has been pivoting in relation to three key structures, the Prime Frame, E Frame and Pi Frame which are plotted as horizontal lines at these values:
* Use script on 1 minute chart ONLY
prime numbers up to 100: 2.0,3.0,5.0,7.0,11.0,13.0,17.0,19.0,23.0,27.0,29.0,31.0,37.0,41.0,43.0,47.0,53.0,59.0,61.0,67.0,71.0,73.0,79.0,83.0,89.0,97.0
multiples of e up to 100: 2.71828, 5.43656, 8.15484, 10.87312, 13.5914, 16.30968, 19.02796, 21.74624, 24.46452, 27.1828, 29.90108, 32.61936, 35.33764,
38.05592, 40.7742, 43.49248, 46.21076, 48.92904, 51.64732, 54.3656, 57.08388, 59.80216, 62.52044, 65.23872, 67.957, 70.67528, 73.39356000000001, 76.11184,
78.83012, 81.5484, 84.26668000000001, 86.98496, 89.70324, 92.42152, 95.13980000000001, 97.85808
multiples of pi up to 100: 3.14159, 6.28318, 9.424769999999999, 12.56636, 15.70795, 18.849539999999998, 21.99113, 25.13272, 28.27431, 31.4159, 34.55749,
37.699079999999995, 40.840669999999996, 43.98226, 47.12385, 50.26544, 53.40703, 56.54862, 59.69021, 62.8318, 65.97339, 69.11498, 72.25657, 75.39815999999999,
78.53975, 81.68133999999999, 84.82293, 87.96452, 91.10611, 94.2477, 97.38929
These values are iterated up the chart as seen below:
The script sums the distance of pivots to each of the respective frames (olive lines for Prime Frame, green lines for E Frame and maroon lines for Pi Frame) and determines which frame price has been reacting to in the least significant way. The worst performing frame is the next frame we target reversals at. The table in the bottom right will light up a color that corresponds to the frame color we should target.
Here is an example of Prime Superiority, where we prioritize trading from prime levels:
The table and the background color are both olive which means target prime levels. In an ideal world strong moves should start and finish where the white flags are placed i.e. in this case $17k and $19k. The reason these levels are 17,000 and 19,000 and not just 17 and 19 like in the original prime number sequence is due to the scaling code in the get_scale_func() which allows the code to operate on all assets.
This is E Superiority where we would hope to see major reversals at green lines:
This is Pi Superiority where we would hope to see major reversals at maroon lines:
And finally I would like to show you a market moving from one superiority to another. This can be observed by the bgcolor which tells us what the superiority was at every historical minute
Pi Frame Superiority into E Frame Superiority example:
Prime Frame Superiority into E Frame Superiority example:
Prime Frame Superiority into Pi Frame Superiority example:
By rotating the analysis we use to enter trades in this way we hope to hide our strategy better from market makers and artificial intelligence, and overall make greater profits.
High Impact NewsDo you have a difficult time remembering high-impact news events throughout the trading week? Now there is an indicator that allows the user to put labels directly on their charts at specific times in the future so news events won’t sneak up on the user.
Description
The “High Impact News” TradingView indicator by Infinity Trading gives the user complete control of three labels that can be set to any time and day of the trading week, even in the future. Each label can be displayed at a specific time, on a unique day of the week, and with custom text. Also, each label has a choice of over 20 emojis to display on the chart along with user-defined text. The text color and size can be independently adjusted.
The position of the labels on the chart can be easily moved up or down with 5 built-in presents: Current Week High, Current Day High, Current Price, Current Day Low, and Current Week Low. Additionally, each label has a separate buffer that allows the users to move the label up or down in increments of five. All of these user-controls ensure the labels are exactly where the user wants them on their charts.
Limitations
This indicator displays labels in the future. TradingView sets a limit of 500 bars/candles in the future you can interact on. This TradingView limit means that labels can only be drawn 500 candles in the future on any timeframe. On larger timeframes this is not a problem and one trading week can easily display any labels. But on smaller timeframes labels multiple days in the future will exceed the 500 candle limit. When a label exceeds the 500 candle limit the indicator will have a temporary error. THIS IS NOT A PROBLEM. Simply go back to a higher timeframe or wait until the label is within 500 candles. All of your Settings will be saved! This is just a limit placed by TradingView that cannot be overwritten.
Important Notice
As stated above, this indicator draws labels in the future on your charts. To achieve future labels, this indicator draws labels in the present and shifts them to the right (which is the future) certain number of bars. Please be aware of the following characteristics of this indicator:
Labels will not appear until after midnight EST on Monday of each trading week
Labels will not appear over the weekends
Labels set to “Monday” won’t appear until midnight EST on Monday (or later)
Labels set to “Tuesday” through “Friday” won’t appear until the time specified in the Settings on Monday. For example, a FOMC label set to 2pm EST on Wednesday will not appear on the chart until 2pm EST on Monday
On 1-Hour or 2-Hour charts, please note that labels with a non-hour time will be shifted slightly so they appear on the chart. For example, a label at 8:15 am on the 5-min chart will be adjusted to 8:00 am on the 1-Hour chart so the label will appear
The above characteristics are a result of having to draw the labels at a specified time (of the trading week) and then calculating how many bars it takes to get the label to the correct time in the future.
Investing ZonesInvesting Zones indicator shows the areas where LONGS or SHORTS can be made, the areas are calculated based on the mathematical averages of the high and low peaks of the price.
-There is an area called "No trading Zone" where the price is too slow, It also has a Alma Trend Ribbon (blue for uptrend, pink for downtrend) that helps to make trading decisions.
-You can make shorts when the price enters the Yellow zone called the "Sell Zone" and the price is below the Alma trend, set the TP1 in the white dotted line, and TP2 in the white lower line
-You can make longs when the price enters the Green zone called the "Buy Zone" and the price is above the Alma trend, set the TP1 in the yellow dotted line, and TP2 in the yellow upper line
-It works in all timeframes, personally I use it in 1min, 5min and 1hr.
S&P 500 Quandl Data & RatiosTradingView has a little-known integration that allows you to pull in 3rd party data-sets from Nasdaq Data Link, also known as Quandl. Today, I am open-sourcing for the community an indicator that uses the Quandl integration to pull in historical data and ratios on the S&P500. I originally coded this to study macro P/E ratios during peaks and troughs of boom/bust cycles.
The indicator pulls in each of the following datasets, as defined and provided by Quandl. The user can select which datasets to pull in using the indicator settings:
Dividend Yield : S&P 500 dividend yield (12 month dividend per share)/price. Yields following June 2022 (including the current yield) are estimated based on 12 month dividends through June 2022, as reported by S&P. Sources: Standard & Poor's for current S&P 500 Dividend Yield. Robert Shiller and his book Irrational Exuberance for historic S&P 500 Dividend Yields.
Price Earning Ratio : Price to earnings ratio, based on trailing twelve month as reported earnings. Current PE is estimated from latest reported earnings and current market price. Source: Robert Shiller and his book Irrational Exuberance for historic S&P 500 PE Ratio.
CAPE/Shiller PE Ratio : Shiller PE ratio for the S&P 500. Price earnings ratio is based on average inflation-adjusted earnings from the previous 10 years, known as the Cyclically Adjusted PE Ratio (CAPE Ratio), Shiller PE Ratio, or PE 10 FAQ. Data courtesy of Robert Shiller from his book, Irrational Exuberance.
Earnings Yield : S&P 500 Earnings Yield. Earnings Yield = trailing 12 month earnings divided by index price (or inverse PE) Yields following March, 2022 (including current yield) are estimated based on 12 month earnings through March, 2022 the latest reported by S&P. Source: Standard & Poor's
Price Book Ratio : S&P 500 price to book value ratio. Current price to book ratio is estimated based on current market price and S&P 500 book value as of March, 2022 the latest reported by S&P. Source: Standard & Poor's
Price Sales Ratio : S&P 500 Price to Sales Ratio (P/S or Price to Revenue). Current price to sales ratio is estimated based on current market price and 12 month sales ending March, 2022 the latest reported by S&P. Source: Standard & Poor's
Inflation Adjusted SP500 : Inflation adjusted SP500. Other than the current price, all prices are monthly average closing prices. Sources: Standard & Poor's Robert Shiller and his book Irrational Exuberance for historic S&P 500 prices, and historic CPIs.
Revenue Per Share : Trailing twelve month S&P 500 Sales Per Share (S&P 500 Revenue Per Share) non-inflation adjusted current dollars. Source: Standard & Poor's
Earnings Per Share : S&P 500 Earnings Per Share. 12-month real earnings per share inflation adjusted, constant August, 2022 dollars. Sources: Standard & Poor's for current S&P 500 Earnings. Robert Shiller and his book Irrational Exuberance for historic S&P 500 Earnings.
Disclaimer: This is not financial advice. 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!
Daily Session Windows background highlight indicatorIn intraday studies of stock indexes and Forex I have this weird habit of highlighting premarket, core session, lunch break and extended session with different backgrounds. If done by hand, this is tedious work that has to be repeated daily.
I think this feature should be built-in in TradingView. But it isn't.
For a few months now, I have been using this tiny indicator that does precisely that job. It saved me literally hours of focus time and mistakes. I have decided to revamp it and release it. I'm sure it can be useful to others.
Features:
Background color highlighting for premarket , core session , lunch hour and extended session of the trading day.
Session timing preset to match US session, but can be customized.
Can be enabled or disabled on a day of the week basis, including week-end.
Timezone is selectable, matches the chart's instrument but can be set independently to track a different timezone.
Not affected by the timezone you decided to assign to the chat's time scale.
Ready for stock indexes, but can be used to highlight Forex sessions too.
DR/IDR V1Defining Range DR and Implied Defining Range IDR for regular Session and overnight Session
This script is showing the IDR and DR for the regular trading session and for the overnight session based on the rules from the creator of the DR/IDR concept.
It works for all major Forex Pairs, BTC, ETH and the US Equity indices. This concept is based on rules and has a 80 % probability to be correct.
It should be applied in the 5 Min. Timeframe.
The timings for the RDR are from 09.30 - 10.30 am New York local time.
The timings for the ODR are from 03.00 - 04.00 am New York local time.
Rules:
1. If price in the 5 Min timeframe closes above the DR high after 10.30 am or 04.00 am then the DR low will be with 80 percent probability the low of the trading session. This is called confirmation.
2. If price in the 5 Min timeframe closes below the DR low after 10.30 am or 04.00 am then the DR high will be with 80 percent probability the high of the trading session. This is called confirmation.
3. If price closes above the IDR high after 10.30 am or 04.00 am it is an early indication that the low of the DR will be the low of the day and vice versa.
Credits:
This script imports the recently published (VisibleChart) library containing functions that return values calculated from the range of visible bars on the chart.
bmistiaen helped me a lot with this script. Thank you a lot.
Price Average ZonesThis indicator shows the areas where LONGS or SHORTS can be made, the areas are calculated based on the mathematical averages of the high and low peaks of the price.
It also has a line that shows the average of the price movement. you can make shorts when the price enters the orange zone called the "Short Zone".
You can make longs when the price enters the orange zone called the sell zone.
It works in all timeframes, personally I use it in 1 min and in 1 hour.
TT KillzonesThis indicator plots the 3 main trading zones : Asia, London, New York
Its is also possible to use a different color for the "High Trading Volume" timezone. It can be adjusted. Default is the overlapping time of London and New York Killzone
It also plots the CME open / close
This indocator can be used as example / copy for your own project!
Have fun!
Z Score BandThis is a band based on Z Score. What is Z Score? In layman's terms it's a method of finding outliers within a sequence of numbers. It's highly effective to quantify pump and dumps in the crypto market.
The middle line is a simple Exponential Moving Average, you can configure this with whatever period you prefer. It comes default with a period of 247 to which I find suitable for my style of trading. The upper and lower bound are determined by the standard deviation you choose in the settings, it comes with a default of 1.69 although I've heard people saying 2.5 is a better number to really pinpoint outliers.
Trading with this indicator is like trading with any band based indicator. The main difference is that this indicator's sole purpose when I wrote it is to help me find shorting positions in the futures market. On the contrary though, longs are also achievable although I rarely long the futures market.
If prices hit the upper bound and get rejected, it's probably because the move was an outlier, it doesn't happen often and when it does usually it reveals crypto's nature of buying spot and hedging short in the futures market. When prices stay above the upper bound, switch to a higher timeframe until we can see that it's still have some ways upwards.
What's true about using this as a shorting tool is also true with longs. However, it might not be as effective, I'd like to be proven wrong.