Barcolor X 2021-9-28This barcolor setting adds dimension to whether it's above or below where it was X bars ago by adding a longer term argument to filter out sideways price action. For example, the white price bars show when the price stayed above where it was five bars ago AND twenty bars ago. Adjust the lookback values to suit your needs. As usual, the settings I come up with work best when used on multiple time frames!
[i]price
Price Range TableThe table shows the ranking of the price as a percentage relative to the past candles.
100 ~ highest price of the time frame
0 ~ lowest price of the time frame
Straddle / Ironfly AdjustmentStraddle / Iron fly Adjustment is an indicator to assist (especially) Nifty / Bank Nifty Option Writers / Sellers (other instrument writers also) to draw their straddle / iron fly payoff diagram in the chart, mainly max profit and breakeven points and do adjustment based on the market movement.
Basic Idea: (My Conclusion for making this Indicator)
1) For Straddle / Iron fly writers need to adjust their position based on the market movement.
2) Here I give two adjustment ideas which one is my favorite method and another one is one of my friends is using.
a) Price Vs Time based Adjustment
I usually wait until price cross the price vs time line to do any adjustment. Generally, price vs time-based adjustment gives you more point to enter any adjustment in initial day/time when you created the straddle / iron fly. But one later it will reduce the range it become narrow.
b) Percentage based Adjustment
This method using by one of my friends which is based percentage between straddle / iron fly line and upper / lower breakeven points. Generally, he using 50 percentage. In this indicator we do have option to change the percentage between 25 to 100.
User must give inputs to see the straddle / iron fly diagram (Max Profit, Breakeven points, Adjustment, Percentage based adjust line and so)
This is not an intraday indicator and also its not suggesting you to take any buy/sell or straddle/iron fly positions. Its just giving an opportunity to draw a payoff diagram of for max profit and breakeven zone. And also helps to identify the adjustment based given scenario.
Happy Trading 😊
Saravanan Ragavan
Ryan's Candle Comboinside bar breakouts and reversal moves. version 1. use however u like it I cannot guarantee profitability :)
MTF WatchList Charts [Anan]█ OVERVIEW
I am happy to present this script with a nice idea!
You can now customize a watchlist with your preferred time frame and any symbol from any market.
The main purpose is to be aware of any moves and watch a brief overview of the chart.
█ FEATURES
- 8 customizable symbols with the option to show/hide anyone
- Multi time frame support
- 3 Types of charts (Candles / Heikin Ashi / Line)
- Displaying up to 10 candles for every chart
- Customizable chart colors
- Option to Show/hide Price
- Option to Show/hide Price Line
- Option to change Labels and Text Size
- Show Symbol name and used time frame
- Option to change gaps between charts
- Hover over on the top of any candle to see (Open/High/Low/Close) Prices
█ SCREENSHOTS
-----------------------------------------------
Special thanks to @dgtrd for inspiration and for the amazing framework used here ( HTF Candles by DGT )
Special thanks to Pine Chat @fareidzulkifli @Bjorgum @JohnBaron @fpainchaud
Alpha Trading - Absolute Mean Entropy with A2 EPPAbsolute Mean Entropy with Alpha Squared Entropy Price Percentile
Entropy
The history of the word ―entropy can be traced back to 1865 when the German physicist Rudolf Clausius tried to give a new name to irreversible heat loss, what he previously called ―equivalent-value.
The word ―entropy was chosen because in Greek, “en+tropein” means “content transformative” or “transformation content”
Since then, entropy has played an important role in thermodynamics and many other scientific fields. Being defined as the sum of “heat supplied” divided by “temperature” it is central to the Second Law of Thermodynamics. It also helps measure the amount of order and disorder and/or chaos.
The application of entropy in finance can be regarded as an extension of “Information Entropy” and “Probability Entropy”
Entropy in Finance can be used in many ways such as Asset Selection, Asset Diversification, Measure an Assets Risk, inputs into Options pricing. While Entropy started in the field of Thermodynamics as aforementioned it has also found a home in Finance. However, studies with entropy in the field of Finance are still in their infancy.
• Entropy is a measure of randomness. Entropy is used to help model and represent the degree of uncertainty of a random variable.
• Entropy is used by financial analysts and market technicians to determine the chances of a specific type of behavior by a security or market.
• Entropy has long been a source of study and debate by market analysts and traders. It is used in quantitative analysis and can help predict the probability that a security will move in a certain direction or according to a certain pattern.
The concept of Entropy is explored in the book "A Random Walk Down Wall Street."
Entropy is plotted below the axis with negative values. Entropy can also colorize the candle color if selected.
R-squared (The Coefficient of Determination)
R-squared is a statistical measurement that examines how differences in one variable can be explained by the difference in a second variable, when predicting the outcome of a given event.
In other words, this coefficient, which is more commonly known as R-squared (or R2), assesses how strong the linear relationship is between two variables, and is heavily relied on by researchers when conducting trend analysis.
To cite an example of its application, this coefficient may contemplate the following question: if an indicator becomes pregnant on a certain day, what is the likelihood that this indicator would deliver a new indicator on a particular date in the future? In this scenario, this metric aims to calculate the correlation between two related events: conception of the indicator and the birth of the indicator.
• The coefficient of determination is a complex idea centered on the statistical analysis of models for data.
• The coefficient of determination is used to explain how much variability of one factor can be caused by its relationship to another factor.
• This coefficient is commonly known as R-squared (or R2) and is sometimes referred to as the "goodness of fit."
• This measure is represented as a value between 0.0 and 1.0, where a value of 1.0 indicates a perfect fit, and is thus a highly reliable model for future forecasts, while a value of 0.0 would indicate that the model fails to accurately model the data at all.
R2 and Price
The hypothesis that R2 is related to investors’ biases in processing information.
This theory motivates an empirical hypothesis that stocks with lower R2 should exhibit more pronounced overreaction-driven price momentum.
Alpha Trading AME/A2 EPP Settings
Settings for AME (Absolute Mean Entropy)
Length: Sample size.
Use as Barcolor: AME color as Price Action Candle color.
Show Entropy Flashes: If absolute value of entropy is very low, it gives yellow color for AME and Price Action Candle color if selected.
Band StdDev: (2 times) AME StdDev bands.1st and 2nd default.
Exponential Weighted Entropy: Weights the AME exponentially, is more reactive, but more noise.
Settings for EPP (Entropy Price Percentile)
Percentile Period: lookback for percentile range(relevant for flashes)
Background flashes: if EPP is below threshold default is below 10%, Flashes green in the background.
Std.err bands period: default 3 and multiplier 1.
EPP Column Meanings
Bright Green: Returns above the mean and increasing.
Dark Green: Returns above the mean and decreasing.
Bright Red: Returns below the mean and increasing.
Dark Red: Returns below the mean and decreasing.
Basic Trade Signal
Long – Value of AME is low, as you see EPP increasing with a coloration of green consider taking a long if you have confluence with other Alpha Trading Indicators.
Short – Value of AME is low, as you see EPP increasing with a coloration of red consider taking a short if you have confluence with other Alpha Trading Indicators.
The Chart below is showing Entries, Exponential Weighting input turned on, Percentile Period set to 30 instead of default 100, everything else is Default....
When using other Alpha Trading indicators in confluence, there are other entries available when the indicator isn't flashing and the indicator still supports the move.
References
www.investopedia.com
www.investopedia.com
www.wallstreetmojo.com
byjus.com
www.investopedia.com
en.wikipedia.org
papers.ssrn.com
Cross Average PriceSimple script that allows you to view crossings and averages 14/50/100/200 in a simple and intuitive way.
With this script you can keep an eye on trends visually.
Green Point = 14 crosses 50
Yellow Point = 14 crosses 100
Red Point = 14 crosses 200
Price ActionFirst, you have to know price action, RTM price action Handbook could help you
this indicator shows you base and momentum candles
base candles could be zones of trade that show you fighting of bulls and bears, and momentum candles could show the power of those zones.
Base candles are white in the chart, and you can place your order at the good zone.
Rally candles and drop candles are momentum candles, and bold rally and bold drop show that it is more powerful than its before candle.
Zigzag compression is one way that shows the compression in trend.
it looks like the Wedges pattern at classic technical that shows pending orders are closed, so the target zone could be powerful to reverse the trend.
Black background of candle means that candle doesn't reach its before candle and so it is poor candle, I named it domination.
It is better to do not trade at poor candles.
At the end, I find Price action the best way to trade, and it makes you free of other indicator, even volume indicator.
This indicator is good for those who use price action strategy to trade and those who want to learn the price action.
It could be so helpful and reliable way to find the zones, and place buy or sell order and the target, specially for scalping.
Trend Momentum with Buyers / Sellers PowerHi there!
With this indicator, you can hunt big trends before they start.
This indicator is combined with RSI and Momentum indicators
It can show you the power of trend and which side it wants to go
It can help you to open a position at the first point of a new trend or at the safe and proven point of the trend, also it can help you to close your position before the trend change its direction (it's not recommended to use it to close your positon, but sometimes it can help you to find the ending point of big pumps)
Rules:
* Baseline is ZERO ( 0 ) line
* When gray line crossover red line, it shows us a powerful uptrend
* When the gray line crossunder the red line it shows us a powerful upward trend
Signals:
* Only use Buy signals(Long) when they are above or crossing-up baseline
* Only use Sell signals(Short) when they are under or crossing-down baseline
* If they both (red and gray lines) are too high and they suddenly starting to come back to baseline, it shows we have a range trend, the trend is weak or a reversal trend is coming!!
!! WARNING: DO NOT USE THIS INDICATOR ALONE !!
Suggestions :
-Use 1H, 4H, daily, or Weekly timeframes
-Use ADX and DI or three WMA's
-Use divergence
-You can use it for scalping but you need to change the inputs (not recommended)
If you have any idea about making new indicators(what information do you want from the chart?), comment please, then I can research and make it for all of us! =)
pricing_tableThis script helps you evaluate the fair value of an option. It poses the question "if I bought or sold an option under these circumstances in the past, would it have expired in the money, or worthless? What would be its expected value, at expiration, if I opened a position at N standard deviations, given the volatility forecast, with M days to expiration at the close of every previous trading day?"
The default (and only) "hv" volatility forecast is based on the assumption that today's volatility will hold for the next M days.
To use this script, only one step is mandatory. You must first select days to expiration. The script will not do anything until this value is changed from the default (-1). These should be CALENDAR days. The script will convert to these to business days for forecasting and valuation, as trading in most contracts occurs over ~250 business days per year.
Adjust any other variables as desired:
model: the volatility forecasting model
window: the number of periods for a lagged model (e.g. hv)
filter: a filter to remove forecasts from the sample
filter type: "none" (do not use the filter), "less than" (keep forecasts when filter < volatility), "greater than" (keep forecasts when filter > volatility)
filter value: a whole number percentage. see example below
discount rate: to discount the expected value to present value
precision: number of decimals in output
trim outliers: omit upper N % of (generally itm) contracts
The theoretical values are based on history. For example, suppose days to expiration is 30. On every bar, the 30 days ago N deviation forecast value is compared to the present price. If the price is above the forecast value, the contract has expired in the money; otherwise, it has expired worthless. The theoretical value is the average of every such sample. The itm probabilities are calculated the same way.
The default (and only) volatility model is a 20 period EWMA derived historical (realized) volatility. Feel free to extend the script by adding your own.
The filter parameters can be used to remove some forecasts from the sample.
Example A:
filter:
filter type: none
filter value:
Default: the filter is not used; all forecasts are included in the the sample.
Example B:
filter: model
filter type: less than
filter value: 50
If the model is "hv", this will remove all forecasts when the historical volatility is greater than fifty.
Example C:
filter: rank
filter type: greater than
filter value: 75
If the model volatility is in the top 25% of the previous year's range, the forecast will be included in the sample apart from "model" there are some common volatility indexes to choose from, such as Nasdaq (VXN), crude oil (OVX), emerging markets (VXFXI), S&P; (VIX) etc.
Refer to the middle-right table to see the current forecast value, its rank among the last 252 days, and the number of business days until
expiration.
NOTE: This script is meant for the daily chart only.
DEMO of STC Price ActionThis is replica of the STC Price Action Script & is created for demo purpose only. Few features of original script may not be available in Demo Script.
How this works:
This Indicator looks to identify patterns which shows high movement area which may have occurred due to big orders at that time. It helps to Identify Price Action Zones where we may anticipate some reverse move. These Zones & Moves are helpful for Traders.
Buying Zone is below current Market Price. It indicates Price Action area where Buyers overpowered Sellers hence there was big Leg out Candle. This zone may again give buying momentum if Price comes back to that level. As a Trader one may take opportunity enter into the Trade on Bullish Side.
Selling Zone is above current Market Price. It indicate Price Action area where Sellers overpowered Buyers hence there was big Leg out Candle. This zone may again give Selling momentum if Price comes back to that level. As a Trader one may take opportunity enter into the Trade on Bearish Side.
DISCLAIMER:
This indicator/code IS NOT intended to be a formal investment advice or recommendation by the author, nor should be construed as such. Users will be fully responsible by their use regarding their own trading vehicles/assets.
It is strongly recommended that you should get full knowledge of how price actions work and wait for the clear indications before attempting.
ExecuterExecuter helps to be a disciplined trader by providing the rules for execution.
1. Triangle down and up symbol : One can consider this as 1st point of confirmation. This considers the volume and momentum.
2. Moving average band ( To identify the trend ) : When the red line is above all the other lines means trend is up or positive, so buy only when trend is UP.
Red line is below all other line means Trend is negative or Down, consider always to sell when trend is negative.
When redline is between green and black then trend is sideways or you may expect a big move and risk to reward ratio will be better in this type of setup.
When the red line is up then black line acts as Stop loss point.
3. Horizontal lines : Dynamic horizontal lines acts as booster to the trend or safe buying or selling point. This analyze the trend, candle strength and momentum to give the buying point or selling point. Here 1st thin line shows the start of trend and thick line shows the strong trend. Lines get deleted when the buying or selling point is invalid or one may consider the fresh points.
This helps to eliminate lot of sideways trends.
This indicator is fully customizable based on your requirement.
Consider more signal option if you don't want to miss the opportunity. If you are safe trader then no need of that.
STC Price Action ZoneHow this works:
This Indicator looks to identify patterns which shows high movement area which may have occurred due to big orders at that time. It helps to Identify Price Action Zones where we may anticipate some reverse move. These Zones & Moves are helpful for Traders.
Buying Zone is below current Market Price. It indicates Price Action area where Buyers overpowered Sellers hence there was big Leg out Candle. This zone may again give buying momentum if Price comes back to that level. As a Trader one may take opportunity enter into the Trade on Bullish Side.
Selling Zone is above current Market Price. It indicate Price Action area where Sellers overpowered Buyers hence there was big Leg out Candle. This zone may again give Selling momentum if Price comes back to that level. As a Trader one may take opportunity enter into the Trade on Bearish Side.
DISCLAIMER:
This indicator/code IS NOT intended to be a formal investment advice or recommendation by the author, nor should be construed as such. Users will be fully responsible by their use regarding their own trading vehicles/assets.
It is strongly recommended that you should get full knowledge of how price actions work and wait for the clear indications before attempting.
TFi Price Action Resampling Filter V1 - FULLThe script is resampling the price based on its range/price-action and creates an alternative filter to smoothen price movements.
Overview of features:
Optional stop-loss
Optional flags to control the position entry
Optional flags to control the position exit
Built-in backtesting engine with start balance, position size and pyramiding; each year will be evaluated separately
Inputs for a percentage entry and exit slippage, entry/exit and daily funding fees
Configurable alerts, which follow the exact position of the entry/exit marker
Alert messages contain predefined trading instruction to execute orders via Alertatron or TradeFab's proprietary trading server, or can be defined by the user
The script renders a performance/status table, which shows the current position status and result of the built-in trading simulation results.
It shows the following statistic values:
Current position PnL - also background turns green if position is in profit and red if in loss
Average entry price and number of positions
Current percentage distance to the optional stop-loss level
Current Maximum Draw Down
Number of wins and losses and the win/loss ratio per year and overall
Profit and loss amount, paid fees per year and overall
Profit-ratio and Maximum Draw Down per year and overall
Balance and ROI per year and overall
Trend From Volume And Price (TFVAP)Indicator that indicates buying and selling times based on price and volume and who is imposed of the two (VAP).
It uses the trends of the Dow theory (primary: 365 days/1 year, secondary: 90 days/3 months and tertiary: 21 days/3 weeks) and the identification of Elliot waves, both impulse and correction, based on the Fibonacci retracements (23.61% , 38.2%, etc.).
- Purple line is the evolution in percentage of the price in the primary trend
- Blue line is the evolution in percentage of the volume in the primary trend
- White line is the evolution in percentage of the (volume % - price %) in the primary trend, if white line > 0
- Green triangleup is time of start to buy
- Green square is time of stop to buy
- Red triangledown is time of sell
To understand it better:
If the purple line goes up it indicates that the price is rising, if it goes down, that the price is down.
If the blue line is greater than 0 it indicates that there are more purchases than sales, if the blue line is less than 0 it indicates that there are more sales than purchases.
If the white line is greater than 0 there is a high volume of purchases or low sales for the price that there is, it is likely that the price will rise.
If the white line is less than 0 there is a low volume of purchases or high sales for the price that there is, it is likely that the price will go down.
PD: Ignore the chart drawings, the indicator script is only represented at the bottom
MTF Price/Volume % [Anan]Hello friends,
This is a multi-timeframe table with these features:
Display price change percentage compared with the last timeframe candle close.
Display price change percentage compared with the last timeframe candle close MA.
Displays change percentage compared with the last timeframe candle volume.
Displays change percentage compared with the last timeframe candle volume MA.
Change type/length of MA for Price/Volume.
Full control of Panel position and size.
Full control of displaying any row or column.
Tickers PanelCONCEPT
It's a very straight forward panel with tickers for both BTC and ETH (you can switch in the settings).
The background colouring changes based on how individual markets are trading compared to a market average.
It shows green if a market is trading above the average price and it shows grey if it's trading below the average.
This makes it easy to spot which markets are cheap/expensive.
This is jus a random idea, but the source code is open so that you can make your own changes if you like.
FEATURES
Tickers for six different markets.
By default it shows BTC prices, but you can also choose for it to show ETH prices.
Sometimes it gets blocked by price.
So there's an option to put it at the bottom of the screen.
There's more possible, just look at the source code.
I use a widescreen so for me the size of the boxes is perfect, but if you're on different resolution it might look weird.
Also if you split your screen in half for example it probably won't perfectly fit anymore.
In the settings you can easily change the colours, width, height, border thickness, ...
So yeah, just a fun panel with some crypto tickers.
Have a look at the source code it's pretty easy to understand, have fun playing around with it.
The indicator is free so just add it to your favourites and you can start using it (you might have to refresh Tradingview before it works).
Cheers.
Horizontal line for Market open price by NB(ENG)
Since meaningful movements starts based on the first bar of the market's opening time
(usually GMT + 0), this indicator is creat to be used as a tool to use it as support and resistance.
Look at the bar of just 15 minutes passed after market opened, and when the bar closed with positive candlestick then
draw horizontal line at high price, when the bar closed negative candlestick then draw horizontal line at low price.
I use diffrent colors to help visualization.
If you look these at from a distance, you can see sections that are tightly entangled and sections those are not.
This makes it possible to distinguish between strong and weak support/resistance sections.
For convenience, I put only color and transparency adjustments. No future upgrades are planned.
Thanks to ADOL_ for this great idea, and also to Bjorn Mistiaen for helping me to make the source code.
(KOR)
마켓의 오픈 시간(보통 GMT 0시)에 첫 바를 기준으로 의미 있는 움직임이 시작되기에
이를 지지와 저항으로 활용하는 도구로 쓰기 위하여 만든 지표입니다.
GMT 0시 15분 봉 마감 기준으로, 양봉이면 그 양봉의 고점을 이어 가로줄을 긋고,
음봉이면 저점을 이어 가로줄을 긋습니다. 서로 색을 달리하여 시각화를 돕습니다.
이를 멀리서 보면 촘촘히 얽힌 구간이 나오고 그렇지 않은 구간이 나옵니다.
이를 통해 지지/저항이 강한 구간과 약한 구간을 구별할 수가 있습니다.
편의를 돕기 위해 색과 투명도 조절까지만 넣어 놓았습니다.
추후 업그레이드는 예정되어 있지 않습니다.
이 대단한 아이디어를 주신 ADOL_에게 감사드리며,
소스 코드를 만들게 해주신 Bjorn Mistiaen에게도 감사를 드립니다.
Difference in price changeCompares price change between current symbol and other one (eg. BTC vs S&P500). It calculates price change on each bar (from high to low or from open to close) and compares with price change of equivalent bar from the other source.
Example
Current symbol
open = 10 USD
close = 7 USD
change = -3 USD
% change = -30%
Second symbol
open = 3 USD
close = 4 USD
change = +1 USD
% change = +33%
Performance of price change = (-30) - (+30) = -63 // It means that current source has weaker performance right now
Relative VolatilityRelative volatility highlights large changes in price. This was designed to be used with my relative volume indicator so that traders can see the effect of volume on price action. It is also a good tool to analyse breakout patterns to identify best entry points and waves.
Above shows relative volatility and relative volume working together.
SPX Excess CAPE YieldHere we are looking at the Excess CAPE yield for the SPX500 over the last 100+ years
"A higher CAPE meant a lower subsequent 10-year return, and vice versa. The R-squared was a phenomenally high 0.9 — the CAPE on its own was enough to explain 90% of stocks’ subsequent performance over a decade. The standard deviation was 1.37% — in other words, two-thirds of the time the prediction was within 1.37 percentage points of the eventual outcome: this over a quarter-century that included an equity bubble, a credit bubble, two epic bear markets, and a decade-long bull market."
assets.bwbx.io
In December of 2020 Dr. Robert Shiller the Yale Nobel Laurate suggested that an improvement on CAPE could be made by taking its inverse (the CAPE earnings yield) and subtracting the us10 year treasury yield.
"His model plainly suggests that stocks will do badly over the next 10 years, and that bonds will do even worse. This was the way Shiller put it in a research piece for Barclays Plc in October, (which can be found on SSRN Below):
In summary, investors expect a certain return in equities as compensation for investing in a riskier asset class, and as interest rates have declined, the relative expected return for equities has increased dramatically. We believe this may quantitatively help to explain investors current preference for equities over bonds, and as such the quick recoveries we are observing (with the exception of the UK), whilst still in the midst of a pandemic. In the US in particular, we are once again observing stretched valuations and high CAPE ratios compared to history."
Sources:
papers.ssrn.com
www.bloomberg.com
The standard trading view disclaimer applies to this post -- please consult your own investment advisor before making investment decisions. This post is for observation only and has no warranty etc. www.tradingview.com
Best,
JM
Tipsy EMA Tipsy EMA
v0.2a
Coded by vaidab.
A simple strategy to buy dips in an uptrend.
How to use:
- buy on trend when price retraces to the orange "buy" line and compound orders
- sell when price reaches red line (stop loss) or at 💰 (take profit)
Note that you can reverse trade on the 💰 sign for a short scalp / day trade.
Uptrend: green/red background. Danger zone: orange bg. No go zone: no bg.
Potential buys (in a clear trend): 55, 100, 200 EMA touches and
fibo retracements to .382 and .618.
Potential stop loss: when price breaks the 200 EMA (marked by a red line).
Exit signs: opposite trend divergences (RSI).
Take profit: EMA 55 crossing down EMA 100.
Use it in confluence with market structure. E.g. If 200 EMA ligns up with
past market structure, if there are whole numbers or if there's a monthly level.
Tested BTCUSDT D, 4H