hayatguzelHayatguzel indicator is a simple indicator which shows the price/ema ratio. Indicator uses the highest or lowest values for price while closure ones for ema. Ema value can be adjusted according to your choise such as 21, 34, 55 etc. or any value you prefer.
I want to explain hayatguzel on XAUUSD chart. I marked 3 points on the chart. 1st one is the peak value of gold with a price/ema55 ratio around 1.30, the 2nd one is the other peak value of gold with a price/ema55 ratio around 1.27 and the 3rd one is also 1.30.
As can be seen, gold price has a maximum capability of going upto 1.30 times the ema55 value in an uptrend. And now this ratio is about 1.23, so we are expecting a maximum level of 1.30 for our predicted peak price value. You can also use this indicator for predicting lows of course but for this graph we are looking for the peak value. My strategy is to aim 1.30 value (30 value on the indicator chart) and therefore hold it until there and after that look for a sell opportunity. This simple approach is usefull especially for the ones who believe that "history repeats itself".
Green: Price > Ema
Red: Price < Ema
Special Thanks to @baymucuk for his great help ! Code was created by him.
ENG
Hayatguzel indikatörü basit ve sade bir indikatör. Fiyat/ema oranını hesaplayıp grafiğe döker. Bunu yaparken de en yüksek ve en düşük fiyat değerlerini alırken ema'larda kapanış değerlerini kullanır. Ema değerleri ayarlanabilir olup 21, 34, 55 vb ya da sizin tercihiniz olan herhangi bir değer olabilir.
Bu indikatörü XAUUSD grafiğinde anlatmak istiyorum. Grafikte 3 tane işaret var. İlkinde fiyat/ema55 oranının maksimum yaptığı yer işaretli ki bu oran 1.30 civarında. 2.sinde yine fiyat/ema55 oranının maksimum yaptığı yer olan 1.27 seviyesi işaretli. 3.'de de bu değer 1.30 seviyesinde.
Görüldüğü üzere ons altın grafiğinde maksimum fiyat ema 55'in en fazla 1.30 katı olabilmiş. Şimdi ise bu değer 1.23 civarında. O nedenle bu oranın 1.30 olmasını ve orada fiyatın tepe yapmasını bekleyebiliriz. Bu indikatörü aynı zamanda dipleri tahmin etmek için de kullanabilirsiniz ama burada grafiğimiz tepeleri bulmak üzerine. Buradaki stratejim fiyat/ema55 oranında 1.30 seviyesini (indikatördeki 30 seviyesi) hedefleyerek ons altını o noktaya kadar tutmak daha sonra o bölgede satış fırsatı aramak olacaktır. Bu basit yaklaşım özellikle "tarih tekerrüden ibarettir" sözüne inananlara ışık tutacaktır.
Yeşil: Fiyat > Ema
Kırmızı : Fiyat < Ema
Yardımları için @baymucuk a teşekkürlerimi sunuyorum ! Kod onun tarafından yazılmıştır.
TR
Komut dosyalarını "GOLD" için ara
XAGUSD Long/Short Signal ~ By: Sarp GokdagAbout the Oscillator :
The Rex Oscillator is a study that measures market behavior based on the relationship of the close to the open, high and low values of the same bar. The theory behind the Rex Oscillator is that a big difference between the high and close on a bar indicates weakness. Conversely, wide disparity between the low and close indicates strength. The difference between open and close also indicates market performance.
The True Value of a Bar (TVB) gives us an indication of how healthy the market is. It is possible to have a negative close and a positive TVB, and vice versa. This indicates that the market is building strength on the opposing side of the trend. The Rex Oscillator is a moving average of the TVB, indicating the inertia of the market. When the Rex Oscillator turns positive in a bearish trend, a reversal is indicated. Likewise, Rex turning negative in a bull market indicates a reversal to the downside.
When the Rex Oscillator turns positive in a bearish trend, a reversal is indicated. Likewise, Rex turning negative in a bull market indicates a reversal to the downside.
The REX Strategy goes long when the REX line of the REX Oscillator crosses above the Signal line and Short when the REX line crosses below the Signal line. The strategy is a reversal strategy through the use of the 'Cover and go Long' and 'Close and go Short' Actions. The REX Oscillator properties of Period' and Signal' can be changed for testing purposes using the available Rex1 'Factor.'
The blue line indicates the difference between the Rex MA and the Signal.
If the blue line crosses above "0", go Long.
If the blue line crosses below "0", go Short.
To achieve best results from this strategy, set your chart range minimum 4hrs, max 1 Day.
The above references an opinion and is for information purposes only. It is not intended to be investment advice. Seek a duly licensed professional for investment advice.
IntradaySignal #Trading #Candlestick #SignalThis is a simple version of taking bull and bear positions.
Time Frame: Although the time frame decided while making the script was for 1 minute chart, but after checking, even Daily charts work good.
Asset class: The underlying here, is XAUUSD (GOLD) but confirmatory strong positional trades on stocks for intraday purposes.
Condition: The signals are meaningful and are of significant importance when its in trending pattern and not in sideways pattern.
The signals are presented by the background color. when the color is red, start taking short positions, and when the signal is green, go with long position.
StopLoss: Complete reliance on the script might not be rewarding, Prepare your own stoploss and targets. I advise you to take profit and book losses as per "resistance & support" zones.
Revolution Kagi Reversal Amount IndicatorThis is one of my favorite indicators. You simply type in the significant price levels for whatever asset you are trading and it will plot pivots accordingly. As in title, the indicator is based on the fantastic Kagi reversal indicator.
For instance, if, say, brent crude oil is trading at $60, you can assume that $10 and $5 will be significant price levels. If gold is trading at $1500, $100 and $500 might be significant and so on.
Borsa İstanbul Correlation Analysis&Center of Gravity IndicatorFormula Used :
COG = SUM of closing prices Pn x (n+1) / Sum of closing prices Pn
[e2] Fibonacci, Tribonacci, Tetranacci Sequence CalculatorThe script is a simple calculator to obtain numbers of Fibonacci, Tribonacci or Tetranacci Sequence.
The script contain calculations for constants (up to 16 digits) that could be used as one of the sequence's number.
The Calculator has 3 modes. Users can define the numbers to initialize the sequence in the options:
- The Fibonacci Sequence is the series of numbers, every next number is found by adding up the two numbers before it.
xn = xn-1 + xn-2
fiConst variable = Fibonacci Constant(Golden Ratio) - 1.61803...
"Classic" Sequence initialize with numbers {0, 1}. Output: 1,2,3,5,8,13,21...
To Calculate the Fibonacci Extensions the sequence should be initialized with {1, fiConst}. Output: 2.618, 4.236, 6.854...
- The Tribonacci Sequence is the series of numbers, every next number is found by adding up the three numbers before it.
xn = xn-1 + xn-2 + xn-3
trConst variable = Tribonacci Constant - 1.83929...
"Classic" Sequence initialize with numbers {0, 0, 1}. Output: 1,2,4,7,13,24...
To Calculate the Tribonacci Extensions the sequence should be initialized with {0, 1, trConst}. Output: 2.839, 5.679, 10.357...
- The Tetranacci Sequence is the series of numbers, every next number is found by adding up the four numbers before it.
xn = xn-1 + xn-2 + xn-3 + xn-4
teConst variable = Tetranacci Constant - 1.92756...
"Classic" Sequence initialize with numbers {0, 0, 0, 1}. Output: 1,2,4,8,15,29,56...
To Calculate the Tetranacci Extensions the sequence should be initialized with {0, 0, 1, teConst}. Output: 2.928, 5.855, 11.710...
The Calculator can return a single number or a set of numbers based on the selected sequence mode.
The script is made for other scripts integration rather than stand-alone usage.
BTC Hash Rate & Price Stochastic IndiciatorFresh off the press, we have a new breed of indicators: Bitcoin's Hash Rate & Price.
As many of you have read, roughly 80% of BTC's price movements can be correlated to its changes in hash rate volume. I decided to make a stochastic indicator that utilizes this principle to track divergence of the price from the hash rate.
Let's break this down...
In red is the CLOSE of BTC's Price, which is then smoothed by a SMA, and smoothed again by a WMA.
In aqua is a STOCH of BTC's Hash Rate, which is then smoothed by a SMA, and smoothed again by a WMA.
The reason why I chose to use the CLOSE of the Price versus a STOCH as I did with the Hash Rate, is because the price tends to signal trends via divergence from the Hash Rate, and eventually converge with the Hash Rate at some point.
You will notice that anytime there is a significant divergence of the RED from the AQUA, a trend is closely aligned with it. This indicator does a remarkable job of indicating the beginnings and ends of both bullish and bearish price movements.
Example Strategy:
Enter long when RED (price) crosses over AQUA (hash rate), and close long when RED crosses under AQUA.
The inverse can be done for shorts, just RED diverges downwards from AQUA versus upwards.
Note:
Unlike a normal Stochastic Indicator, the upper and lower bounds do not appear to hold any significance. In other words, the lines do not seem to reverse at 20/80. As a result, I just set them to 0/100 for aesthetics.
DO NOT make trades based off of small divergences, or simply enter into positions based off the price divergences. Though this indicator times the start/end of movements very accurately, it also comes riddled with false breakouts .
Proceed at your own pace, and please, toy around with the inputs values. I experimented with a few combinations, but I'm sure there are better value combinations that yield sharper results with fewer false signals.
EASTER EGG:
Notice the "Golden Line"? Any avid user of TV knows that Fibonacci ratios show up everywhere in markets. With that said, I plotted a horizontal line at 0.618, which is 1/Phi, an important level in Fibonacci retracements.
Final Comments:
First, this is not investment, merely my experimentation and observation of happenings in the analytical world.
Second, please comment questions, improvements, etc. Dialogue opens up room for exploration!
Price CorrelationsThis indicator shows price correlations of your current chart to various well-known indices.
Values above 0 mean a positive correlation, below 0 a negative correlation (not correlated).
It works well with daily candle charts and above, but you may also try it on 1h candles.
The default indices:
- Gold
- S&p 500
- Mini Dow Jones
- Dow Jones
- Russel 2000
- Nasdaq 100
- Crude Oil
- Nikkei 225 (Japan)
- FTSE 100 (UK)
- Silver
- DAX Futures (DE)
You can change the defaults to compare prices with other indices or stocks.
[e2] Fibonacci slicerFibonacci slicer function.
The script is a simple calculator that accepts any 2 input values and divides the distance between those values using Fibonacci proportions.
- Easy for script integration (lines 21-35).
- The function accepts any 2 values and their order doesn't matter.
- Correctly divides negative-negative, negative-positive, positive-negative and positive-positive values.
- Calculates 7 levels derived from the Golden ratio (1.618033).
Correlation & BetaDisplay the correlation coefficient and/or Beta of an asset to a specified market.
Options to:
- Specify market (S&P500 futures by default)
- Display one or other metrics
- Modify assessment period (200 bars by default)
- Calculate on price, returns or log-returns
Yield Curve Inversion MonitorIdentifies when the US Treasury Yield Curve inverts (2 and 10 year bond rates).
When they ‘invert’ long-term bonds have a lower interest rate than short-term bonds. In other words, the bond market is pricing in a significant drop in future interest rates (which might be caused by the US Fed fighting off a recession in the future).
In the last 50 years, every time the US treasury yield curve inverted a recession followed within 3 years. On average the S&P500 gained 19.1% following the inversion and peaked 13 months later. In other words, as far as investors are concerned, the recession began roughly one year later.
However, once the market peaks, it then drops 37.6% on average, wiping out all those gains and more.
...Looks like 2020 is shaping up to be another prime example.
AX__Support/Resistance 000 y 00 There are many assets in the markets that are very sensitive to round levels, especially double or triple zero, so that these levels function as clear levels of support or resistance, sometimes very strong. And that we can take advantage of along with other things, to operate with a greater probability of success.
The script or indicator mainly for all currencies of the FOREX and XAUUSD gold market generates reference lines that at certain times of the market function of resistance or support by performing an automatic line without the need to draw them in tradingview although in tradinview they also generate the same lines only This script has a more prominent visual mode that makes it much better than the generic TV
generates lines every 100 pips FOREX including gold
generates extra lines of 10 pips without losing resolution (optional)
1 to 4 line thickness
4 colors black blue white and gray
I hope this tool helps you in your daily trading if you have any suggestion correction write me in comments or imbox by tradingview messages look for me by the name of AX010
====================================================================
Existen muchos activos en los mercados que son muy sensibles a los niveles redondos, sobre todo a los doble o triple cero, de forma que dichos niveles funcionan como claros niveles de soportes o resistencias, en ocasiones muy fuertes. Y eso lo podemos aprovechar junto con otras cosas, para poder operar con una mayor probabilidad de éxito.
el script o indicador principalmente para todas las divisas del mercado de FOREX y XAUUSD oro genera lineas de referencia que en determinado momento del mercado funciona de resistencia o soporte realizando un linea automatica sin necesidad de trazarlos en tradingview aunque en tradinview tambien generan las mismas lineas solo q este script tiene un modo visual mas resaltante que lo hace mucho mejor que lo generico de TV
genera lineas cada 100 pips FOREX incluido el oro
genera lineas extra de 10 pips sin perder resolucion (opcional)
grueso de linea de 1 a 4
4 colores negro azul blanco y gris
espero que es esta herramienta les ayude en su trading diario si tienen alguna sugerencia correccion escribanme en comentarios o imbox por mensajes de tradingview buscame por el nombre de AX010
saludos
Bitcoin Margin Call Envelopes [saraphig & alexgrover]Bitcoin is the most well known digital currency, and allow two parties to make a transaction without the need of a central entity, this is why cryptocurrencies are said to be decentralized, there is no central unit in the transaction network, this can be achieved thanks to cryptography. Bitcoin is also the most traded cryptocurrency and has the largest market capitalization, this make it one of the most liquid cryptocurrency.
There has been tons of academic research studying the profitability of Bitcoin as well as its role as a safe heaven asset, with all giving mixed conclusions, some says that Bitcoin is to risky to be considered as an hedging instrument while others highlight similarities between Bitcoin and gold thus showing evidence on the usefulness of Bitcoin acting as an hedging instrument. Yet Bitcoin seems to attract more short term speculative investors rather than other ones that would use Bitcoin as an hedging instrument.
Once introduced, cryptocurrencies where of course heavily analyzed by technical analyst, and technical indicators where used by retail as well as institutional investors in order to forecast the future trends of bitcoin. I never really liked the idea of designing indicators that specifically worked for only one type of market and ever less on only one symbol. Yet the user @saraphig posted in Feb 20 an indicator called " Margin Call MovingAverage " who calculate liquidation price by using a volume weighted moving average. It took my attention and we decided to work together on a relatively more complete version that would include resistances levels.
I believe the proposed indicator might result useful to some users, the code also show a way to restrict the use of an indicator to only one symbol (line 9 to 16).
The Indicator
The indicator only work on BTCUSD, if you use another symbol you should see the following message:
The indicator plot 6 extremities, with 3 upper (resistance) extremities and 3 lower (support) extremities, each one based on the isolated margin mode liquidation price formula:
UPlp = MA/Leverage × (Leverage+1-(Leverage*0.005))
for upper extremities and:
DNlp = MA × Leverage/(Leverage+1-(Leverage*0.005))
for lower extremities.
Length control the period of the moving averages, with higher values of length increasing the probability of the price crossing an extremity. The Leverage's settings control how far away their associated extremities are from the price, with lower values of Leverage making the extremity farther away from the price, Leverage 3 control Up3 and Dn3, Leverage 2 control Up2 and Dn2, Leverage 1 control Up1 and Dn1, @saraphig recommend values for Leverage of either : 25, 20, 15, 10 ,5.
You can select 3 different types of moving average, the default moving average is the volume weighted moving average (VWMA), you can also choose a simple moving average (SMA) and the Kaufman adaptive moving average (KAMA).
Based on my understanding (which could be wrong) the original indicator aim to highlight points where margin calls might have occurred, hence the name of the indicator.
If you want a more "DSP" like description then i would say that each extremity represent a low-pass filter with a passband greater than 1 for upper extremities and lower than 1 for lower extremities, unlike bands indicators made by adding/subtracting a volatility indicator from another moving average this allow to conserve the original shape of the moving average, the downside of it being the inability to show properly on different scales.
here length = 200, on a 1h tf, each extremities are able to detect short-terms tops and bottoms. The extremity become wider when using lower time-frames.
You would then need to increase the Leverages settings, i recommend a time frame of 1h.
Conclusion
I'am not comfortable enough to make a conclusion, as i don't know the indicator that well, however i liked the original indicator posted by @saraphig and was curious about the idea behind it, studying the effect of margin calls on market liquidity as well as making indicators based on it might result a source of inspiration for other traders.
A big thanks to @saraphig who shared a lot of information about the original indicator and allowed me to post this one. I don't exclude working with him/her in the future, i invite you to follow him/her:
www.tradingview.com
Thx for reading and have a nice weekend! :3
7EMA_5MA (G/D + Bias + 12/26 Signal)This script alow you to survey multiple crossing signals as Golden/Death cross (MA50/200), Institutional Bias (EMA9/18), or EMA 12/26 crossing. You can show/hide all EMAs/MAs and show/hide all signals. Default config displays EMA 50/100/200 and MA 20. Full script includes display of EMA 9/18/12/26/50/100/200 and MA 20/21/50/100/200.
[fikira] MTF MA/EMA'sHere is my take on MA/EMA's and MTF, based on the most excellent work of
"PineCoders" (MTF Selection Framework functions)!
The big advantage is that on 1 image you can easily see where
price is compared to different MA/EMA's (each of different Time Frames).
This gives a lot of Support and Resistance area's!
Includes:
- MA/EMA 20
- MA/EMA 50
- MA/EMA 100
- MA/EMA 200
The present Time Frame MA/EMA has a coloured circle at the side.
Each can be altered in length (the length is visible at the side and changed with the settings)
Each has an extra 4 different Time Frames (multiple settings possible)
Crossover and crossunder MA/EMA 50 with 100 (Silver Cross) and 200 (Golden Cross) is included.
The present Time Frame Cross has a "o" above the Cross
Time Frame 1 Cross has a "1" above the Cross
Time Frame 1 Cross has a "2" above the Cross
Time Frame 1 Cross has a "3" above the Cross
Time Frame 1 Cross has a "4" above the Cross
Ichimoku Cloud by Wei V1.3Label Sanyaku events, green for Gold and red for dead
- a: Tenkan sen Kijun Sen cross
- b: Chiko Span Cross Candle
- c: Kumo breakout
I also added a input option to draw chiko span differently. Original Chiko to draw Chiko as originally designed, and false to draw price at 25 bars earlier at current as "chiko span"
TFs Golden Cross - Status BoxThis simple strategy demonstrates the use of Pine Script version 4 "label" feature to show status box.
This box can display anything, in this case it shows current market position, current profit and close price. It renders the box in green if profit is positive, red if negative and blue if neutral.
Silver Long/Short Combines Gold and Silver price ratio with SMA trend indicators for buy and sell signals.
Extreme VolumeThis indicator colors volume bars that are significantly higher volume than the vol moving average ( SMA ). Utilizes two multiplier that can be adjusted by user. Defaults are that the indicator colors volume bars yellow if 20% higher than average, and orange if over 50% higher than average.
Reason why i created this indicator is i typically don't care about volume unless it is significantly higher than average. I find extreme volume useful for confirmation of a breakout, etc. This is why the rest of the volume bars are gray, they are still available for reference, but I dont pay much attention until volume is higher than average.
Also, when you load this indicator it will be in its own pane below the chart. To try and figure out how to add it to same pane as the chart was a huge pain in the ass. Once you figure it out it is pretty easy. I'll try to explain below...
Next to the indicator name you have the following options ... Hide, Settings, Show Source Code{}, Delete(X), and More (3 dots)
1) Click on "More" (3 dots)
2) Click on "Move To" then chose "Existing Pane Above"
3) Volume will likely be too large. Volume scale should be on left side, use your mouse to adjust volume smaller
4) Volume will likely be in the middle of your chart, click on it and drag it down.
ZoneBand (@Mido_yuiya)Bollinger band is converted to EMA , and support and resistance bands are made into regions
ANN MACD : 25 IN 1 SCRIPTIn this script, I tried to fit deep learning series to 1 command system up to the maximum point.
After selecting the ticker, select the instrument from the menu and the system will automatically turn on the appropriate ann system.
Listed instruments with alternative tickers and error rates:
WTI : West Texas Intermediate (WTICOUSD , USOIL , CL1! ) Average error : 0.007593
BRENT : Brent Crude Oil (BCOUSD , UKOIL , BB1! ) Average error : 0.006591
GOLD : XAUUSD , GOLD , GC1! Average error : 0.012767
SP500 : S&P 500 Index (SPX500USD , SP1!) Average error : 0.011650
EURUSD : Eurodollar (EURUSD , 6E1! , FCEU1!) Average error : 0.005500
ETHUSD : Ethereum (ETHUSD , ETHUSDT ) Average error : 0.009378
BTCUSD : Bitcoin (BTCUSD , BTCUSDT , XBTUSD , BTC1!) Average error : 0.01050
GBPUSD : British Pound (GBPUSD,6B1! , GBP1!) Average error : 0.009999
USDJPY : US Dollar / Japanese Yen (USDJPY , FCUY1!) Average error : 0.009198
USDCHF : US Dollar / Swiss Franc (USDCHF , FCUF1! ) Average error : 0.009999
USDCAD : Us Dollar / Canadian Dollar (USDCAD) Average error : 0.012162
SOYBNUSD : Soybean (SOYBNUSD , ZS1!) Average error : 0.010000
CORNUSD : Corn (ZC1! ) Average error : 0.007574
NATGASUSD : Natural Gas (NATGASUSD , NG1!) Average error : 0.010000
SUGARUSD : Sugar (SUGARUSD , SB1! ) Average error : 0.011081
WHEATUSD : Wheat (WHEATUSD , ZW1!) Average error : 0.009980
XPTUSD : Platinum (XPTUSD , PL1! ) Average error : 0.009964
XU030 : Borsa Istanbul 30 Futures ( XU030 , XU030D1! ) Average error : 0.010727
VIX : S & P 500 Volatility Index (VX1! , VIX ) Average error : 0.009999
YM : E - Mini Dow Futures (YM1! ) Average error : 0.010819
ES : S&P 500 E-Mini Futures (ES1! ) Average error : 0.010709
GAZP : Gazprom Futures (GAZP , GZ1! ) Average error : 0.008442
SSE : Shangai Stock Exchange Composite (Index ) ( 000001 ) Average error : 0.011287
XRPUSD : Ripple (XRPUSD , XRPUSDT ) Average error : 0.009803
Note 1 : Australian Dollar (AUDUSD , AUD1! , FCAU1! ) : Instrument has been removed because it has an average error rate of over 0.13.
The average error rate is 0.1850.
I didn't delete it from the menu just because there was so much request,
You can use.
Note 2 : Friends have too many requests, it took me a week in total and 1 other script that I'll share in 2 days.
Reaching these error rates is a very difficult task, and when I keep at a low learning rate, they are trained for a very long time.
If I don't see the error rate at an average low, I increase the layers and go back into a longer process.
It takes me 45 minutes per instrument to command artificial neural networks, so I'll release one more open source, and then we'll be laying 70-80 percent of the world trade volume with artificial neural networks.
Note 3 :
I would like to thank wroclai for helping me with this script.
This script is subject to MIT License on behalf of both of us.
You can review my original idea scripts from my Github page.
You can use it free but if you are going to modify it, just quote this script .
I hope it will help everyone, after 1-2 days I will share another ann script that I think is of the same importance as this, stay tuned.
Regards , Noldo .
BTCBOT2Watches 3 Symbols with separate timeframe control, with Hull Moving Average crossovers on each, DXY XAU/USD BTC/USD
and a daily candle crossover. With StopLoss and Target Price and Backtesting history selection control. Entry and Exit rules visible in script (script open)
So if DXY chart is going down and Gold chart going up and Bitcoin chart going up then it will enter a buy, yes it is watching more than just bitcoin itself.
it needs HMA to match on all 3 charts and with selected timeframes, the timeframe of users chart, the timeframe in settings for the HMA's on the symbols. Also a Daily Candle chart of the users selected chart (symbol)
EMA - Baby WhaleThis script will show you the 8, 13, 21, 55, 100 and 200 EMA .
You can change the colors yourself if you want.
You can use the EMA to define the trend.
A good strategy that traders use is a 55 EMA crossover.
This means that when the 8, 13 and 21 all cross the 55 EMA you place a buy or sell order.
You close your position when the same thing happens on the other side.
Another great way that traders use these EMA's is to spot a Golden or Death cross.
When the 55 and 200 EMA cross and the 200 becomes support it means we're in a uptrend and vice versa.
If you want access, just send a message please.
Much love from Baby Whale!!
🙏❤️🐳