Gain/StopLoss Percentage LinesGain/StopLoss Percentage Lines is a quick way to enter your Entry Price in to a stock and track the percentage of gain or loss at the 5% and 10% markers.
Click on the gear settings icon and type in your entry price. The percentage is defaulted to 5%. You can change this to a different percentage at this screen. Note that whatever number you enter will be doubled for the upper and lower lines. For instance, if you want to set your first red line stop loss and green gain line at 2.5%, your two other upper and lower green and red lines will be at 5%.
However, this will not change the text on the tab marker.
To change the tab text, go in to the Pine Editor and change the green text that says "5% Gain" and "5% Loss" to your new percentages.
Ratio
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
SOPR - Spent Output Profit RatioThe SOPR (Spent Output Profit Ratio) indicator provides insight into macro market sentiment, profitability and losses taken over a particular time-frame. It reflects the degree of realised profit for all coins moved on-chain.
SOPR is measured by considering only coins moved the timescale considered (daily, hourly etc), and taking the ratio between the fiat value at the time of UTXO creation, and the fiat value when the UTXO is spent.
SOPR values greater than 1 implies that the coins moved that day are, on average, selling at a profit (price sold is greater than the price paid).
SOPR value less than 1 implies that the coins moved that day are, on average, selling at a loss (price sold is less than the price paid).
You have the ability to see the SOPR of BTC, ETH and LTC. You can also smooth the SOPR using an EMA or SMA of your choice.
Thank you to both TradingView and Glassnode for adding all the on-chain data
Harmonic Trading Ratios Educational (Source Code)This table indicator was intended as educational purpose only for Harmonic Trading Ratios.
The ratios are used for Harmonic AB=CD and XAB=CD.
Ratio calculation are shown for Retracement and Projection based Primary, Primary Derived, Secondary Derived and Secondary Derived Extreme.
Primary Retracement : 0.618
Primary Projection : 1.618
Please take note that Secondary Derived Extreme is only available for Projection.
Indikator berjadual bertujuan sebagai pendidikan sahaja untuk Harmonic Trading Ratios.
Ratio digunakan untuk Harmonic AB=CD and XAB=CD.
Pengiraan ratio untuk Retracement and Projection adalah berdasarkan Primary, Primary Derived, Secondary Derived dan Secondary Derived Extreme.
Primary Retracement : 0.618
Primary Projection : 1.618
Sila ambil perhatian bahawa Secondary Derived Extreme adalah untuk Projection sahaja.
The values shown in table was based on Harmonic Trading: Volume One, Page 18 written by Scott M Carney.
Nilai yang ditunjukkan dalam jadual adalah berdasarkan buku Harmonic Trading: Volume One, Page 18 ditulis oleh Scott M Carney.
Indicator features :
1. List Harmonic Trading Ratios including calculation.
2. Show and draw individual Harmonic Trading Ratio.
3. For desktop display only, not for mobile.
Kemampuan indikator :
1. Senarai Harmonic Trading Ratios termasuk pengiraan.
2. Memapar dan melukis Harmonic Trading Ratio secara berasingan.
3. Untuk paparan desktop sahaja, bukan untuk mobile.
FAQ
1. Credits / Kredit
Scott M Carney,
Scott M Carney, Harmonic Trading: Volume One
2. Code Usage / Penggunaan Kod
Free to use for personal usage but credits are most welcomed especially for credits to Scott M Carney.
Bebas untuk kegunaan peribadi tetapi kredit adalah amat dialu-alukan terutamanya kredit kepada Scott M Carney.
Display for Bullish / Bearish Retracement
Paparan untuk Bullish / Bearish Retracement
Display for Primary Retracement and Primary Projection
Paparan untuk Primary Retracement and Primary Projection
Display for Secondary Derived Extreme Retracement and Secondary Derived Extreme Projection
Paparan untuk Secondary Derived Extreme Retracement and Secondary Derived Extreme Projection
Alt Golden Ratio by USCG_VetPine Script math based on the medium article by Philip Swift.
Idea based from Willy Woo Charts.
Disclaimer: None of this Pine Script, Title, nor Description should be used for Financial Advice. For Education Purposes Only.
Purpose: Identify a Golden Ratio Cross of the 350 Daily MA vs the 111 Daily MA with Multiplier to theorize where local valuation tops or bottoms could be approximated. NOT FINANCIAL ADVICE!
Parameters:
DMA A: short Daily Moving Average
DMA B: long Daily Moving Average
Golden Ratio: point where short Daily Moving Average crosses value assigned in parameter.
Indicators:
S2: Cross of DMA A vs DMA B in upward direction (approximate local top)
Sn: additional approximate top indicators
Sell1: first approximate local bottom
Selln: additional approximate local bottom indicators
GR: Golden-Ratio Cross of DMA A
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에게도 감사를 드립니다.
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
Relative Strength Ratio Chart + Relative Volume Gradient CandlesThe purpose of the Comparative Relative Strength Ratio indicator is to provide a way of looking at a relative strength ratio as a candle graph instead of only a closing price line, as well as to provide relative volume gradient coloration on the ratio-generated candles, and additionally to plot moving averages of the CRS ratio that can help display shifting trends in relative strength.
This is different from my Relative Volume Gradient Paintbars indicator, as well as my Comparison Chart with Relative Volume Gradient Paintbars indicator, in that the first looks at the charted symbol itself, the second looks at an alternate symbol, and this third indicator looks at a ratio between the charted symbol and the alternate symbol.
The idea behind this indicator is to provide additional means of evaluating relative strength, such as comparing the moving averages of the comparative relative strength ratio graph to the charted stock symbol's own MAs in order to gauge strength, comparing the price action of the ratio to that of the individual stock and its index, and comparing the volume gradient signal between the ratio, the stock, and the index.
The unique volume features allow comparing volume as a percent of the index volume, as well as stock's candle range as a percent of the range of the index. So when the volume as a percentage of the index's overall volume becomes high, this can be made to highlight the candles.
[kai]Futility RatioAn indicator that measures movement inefficiency
Inefficient movement, that is, the range market becomes a high number, the limit is reached at about 60 and a trend occurs
When the range breaks and a trend occurs, the inefficiency drops to about 40 and many trends end.
The full-scale trend goes down further and goes down to about 25, which is evaluated as an efficient movement, the limit is reached and the trend ends.
As for how to use this Inge, the direction of the trend needs to be considered in other ways.
Create a position when you reach 60
Position closed or contrarian at 40 or 25
I assume the usage
動きの非効率性を測定するインジケーターです
非効率な動きをするつまりレンジ相場は高い数字になって、60程度で限界が訪れてトレンドが発生します
レンジがブレイクしトレンドが発生すると40程度まで非効率性は下がりって多くのトレンドは終了します
本格的なトレンドはさらに下がっていって効率的な動きと評価される25程度まで下がって限界が訪れてトレンドが終了します
このインジの使い方はトレンドの方向は他の方法で考える必要がありますが
60まで上がったときにポジション作成
40又は25でポジションクローズ又は逆張り
という使い方を想定しています
Distance from the ATH priceThis indicator shows us the distance (in %) between the current price and the ATH price.
The closer the price is to the ATH the higher the percentage.
100% means we reached the ATH price.
HOW TO USE:
No special input necessary.
Markets:
It can be used to all markets.
NOTE:
Some Exchanges don't go very far back in the past and for this reason this may have impact on this Indicator.
Stock Value Display//This study is designed to plot estimates for a stock's value:
//1) the Price to earnings ratio (PE) value based on the trailing twelve months of data
//2) the PE value based future data
//3) the Benjamin Graham value based trailing data
//4) the Dividend Discount value based on trailing data
You can adjust the period of data used to calculate the value between Fiscal Quarter "FQ" and Fiscal Year "FY."
The values displayed on the chart are subject to the financial information provided to TradingView. This is intended to be used as a quick reference and should be viewed in context with other analysis prior to making any transaction decisions.
As always, happy trading!
Hashrate to Securities RatioTMcV
HashSecRatio Original
January,30,2021
The Hashrate to securities ratio is a study to get a view on data flowing through the blockchain and can be applied to any asset available in Tradingview.
This indicator illustrates asset performance vs the moving average of BTC hash rate and accurately highlights price trend tops and bottoms allowing for excellent entry points in long and short trades highlighting overbought and oversold conditions in custom timeframes.
I will allow protected access for a short period of time to gather public opinion after that access will be limited to paid only.
For now if you would like to use this script please leave a comment and add to your favorite scripts.
P1 FundamentalsP1 is because to me, this is a priority 1 indicator, so I have P1 and P2 indicators ordered on the favorite list.
What can you check on the selection pane?
On “period”, you can show the data related to:
the fiscal quarters
or the fiscal years.
You can select a pack of financial data that I have organized in sections:
Revenue & earnings
EPS & DPS (EPS, EPS estimate, DPS and dividend payout ratio )
Debt (total debt, total equity and cash & equivalents)
Returns (ROE, ROIC, ROA and R&D revenue to ratio)
I recommend to just select one of them, in other case the chart is a mess.
Any feedback on the code is welcome!!
GBTC premium as a percentage of the bitcoin pricePlots the GBTC premium as a percentage of the bitcoin price at the close. It also includes the annual management fee (2% at the moment). It accrues on a daily, weekly or monthly basis depending on the chart resolution. (intraday not supported) The amount of bitcoin per gbtc share and the annual fee may be changed by Grayscale in the future. Those values can be easily update in the script settings.
Precious Metal RatiosThis is a script that shows the ratios of precious metals, including Gold, Silver, Platinum, Palladium, Copper, Aluminum, and Steel.
You can choose your desired base currency and quote currency. The default ratio is Gold/Silver, where Gold is the base currency and Silver is the quote.
To use, just select your current timeframe from the menu.
Includes an option for repainting -- default value is true, meaning the script will repaint the current bar.
False = Not Repainting = Value for the current bar is not repainted, but all past values are offset by 1 bar.
True = Repainting = Value for the current bar is repainted, but all past values are correct and not offset by 1 bar.
In both cases, all of the historical values are correct, it is just a matter of whether you prefer the current bar to be realistically painted and the historical bars offset by 1, or the current bar to be repainted and the historical data to match their respective price bars.
As explained by TradingView,`f_security()` is for coders who want to offer their users a repainting/no-repainting version of the HTF data.
FAIR P/E BASED ON INTEREST RATESJust a different way to view S&P 500 valuations versus the standard look of looking at raw PE. Current yield of the 10 Year Bonds are used to calculate a fair value for the SPX.
This is a methodology that Buffett uses to measure value.
Recommend turning off most plots and just plotting PE and/or PE10 percent difference only.
The "slope and intercept" inputs should be left alone unless you recalculate them with updated data.
The "current PE and PE10" inputs can be found here: www.multpl.com This is a daily estimated value.
The full calculated value is released once per month, and is what Quandl has. Change these numbers if you want today's updated values.
Once you have the study set up the way you want, I recommend saving the defaults (bottom left corner in the settings screen).
Mayer MultipleThe script implements a custom version of the Mayer multiple and it may be useful for analyzing the price of Bitcoin in a historical context.
Note n.1: Mayer multiple does not tell whether to buy, sell or hold, but highlights the best long-term area when the bitcoin price is below a threshold value (2.4).
Note n.2: the threshold value (2.4) has been determined in the past by simulations performed.
The script user may decide whether to use the shown graph or another graph for the calculation of the Mayer multiple.
The script is very easy to use and it is possible to change the following parameters:
the period of SMA (default value is 200)
the threshold (default value 2.4)
Show or not the sell area
Use or not the shown graph to calculate the Mayer multiple (default value is true)
name of exchange to use for calculation of the Mayer multiple (default value is BNC)
name of chart to use for calculation of the Mayer multiple (default value is BLX)
5 Magic Numbers + Extra DataAdditional Float Public Shares Percentage%.
Easily getting data and making decision
"FQ = FQ means the financial year of Latest Quarter Report Data"
"FY = FY means the financial year of Latest Last Year Data"
"TTM = TTM means the financial year of Latest past 12 consecutive months of a company’s performance data"
Net Profit Y : FY
Net Profit Qcurrent : FQ
Net Margin Q (%) : FQ
Total Shares : FQ
Float Public shares : FY
Market Cap : Current Value
P.E.R < 10% : FY
R.O.E Cap > 15% :FY
Dividend Yield (%) :FY
E.P.S X 8.1 < Current Price ( RM ) :TTM
N.T.A < Current Price ( RM ) :FQ
5 Magic Numbers CB7This script is actually 5 magic numbers and other data that being extract from TradingView itself for Bursa Market. Make it easy for us to read the data. Hopefully we can succeed together in our Trading Life
Real Value by AxbofReal Value is a measure of what an asset is worth. This measure is arrived at by means of an objective calculation or complex financial model, rather than using the currently trading market price of that asset.
In financial analysis this calculation method is used in conjunction with the work of identifying, as nearly as possible, the underlying value of a company and its cash flow.
By performing a calculation of the company's financials, however, the findings might show that the company is undervalued.
In the end, however, any such estimation is at least partly subjective. The analyst compares the value derived by this model to the asset's current market price to determine whether the asset is overvalued or undervalued.
In financial analysis, Real value by Axbof is the calculation of an asset's worth based on a financial model.
investors should keep in mind that the Real Price Calculation Result is only an estimate.
TÜRKÇE
Yatırımcı olarak sizler, bu indikatör tarafından hesaplanan değeri, hissenin aşırı değerli mi yoksa düşük değerli mi olduğunu belirlemek için varlığın cari piyasa fiyatı ile karşılaştırmak için kullanabilirsiniz.
Şirketin Net Varlık Değeri Hesaplanmakta (Kısa, Uzun Vadeli Borçlar ve Aktifler ile)
ardından Şirketin Ödenmiş Sermayesi ile oranının hesaplanması ile oluşturulan bir modelidir.
Hesaplanan Bu Değer, bir varlığın değerinin gerçek içsel ölçüsüdür. Bu ölçüme, o varlığın hali hazırda işlem gören piyasa fiyatını kullanmak yerine objektif bir hesaplama (mali ve finansal değerler) yoluyla ulaştım.
Finansal analizde bu İçsel Değer hesaplama yöntemi, bir şirketin temel değerini ve nakit akışını mümkün olduğu kadar yakın bir şekilde belirleme çalışmasıyla bağlantılı olarak kullanılır.
Bununla birlikte, şirketin mali durumunun bir hesaplamasını yaparak, bulgular şirketin değerinin düşük veya yüksek olduğunu gösterebilir.
Yatırımcılar, İçsel Hesaplama Sonucunun yalnızca bir tahmin olduğunu unutmamalıdır.
Rise from All Time LowThis very simple script lets you see how much the asset rose from the All Time Low (ATL).
First, the ATL is calculated and plotted. Then, we measure the distance from ATL and current bar close.
Two labels are plotted :
ATL label
Current close label with rise and rise
It can be useful for penny stocks trading when you want to buy lows but must see how much the price rose last bars to improve entries.
For example, SQBG is actually "only" at x 1.85 from ATL (not an advice in investment) :
If you have ideas to complete or improve this script, let me know in comments ;)