MY BOX by GustavoThis box contains two strategies, several moving averages and Bollinger Bands.
PFR or "Reversal closing price" is a simple and effective strategy, widespread by the Brazilian trader Stormer.
The purpose is to make the candles generate the input signal more clearly.
Description:
When the sales PFR candle appears colored, watch out for the next candle. If he breaks the closing of the PFR sell candle, SALE!
Your stop should be at the maximum of the PFR candle and your target projected at 1.618 in the fibonacci extension.
When the buy PFR candle appears colored, watch out for the next candle. If it breaks the closing of the buy PFR candle, BUY!
Your stop should be at the low of the PFR candle and your target projected at 1.618 in the fibonacci extension.
Inside Bar: The candle has its maximum less than the maximum of the previous candle and its minimum greater than the minimum of the previous candle.
Settings:
You can edit the colors in the indicator settings and select the measurements you want to use.
You can also choose to use the Stocastico Lento filter on over-purchase and over-sale.
You can also activate the Inside bar, it will appear in red on the graph.
There is also the possibility to activate in the settings, the Bollinger Bands.
--------------------------
Este box contém duas estratégias, diversas médias móveis e Bandas de Bollinger.
PFR ou "Preço de fechamento de reversão" é uma estratégia simples e eficaz, bastante difundida pelo trader brasileiro Stormer.
O intuito é tornar os candles de geram o sinal de entrada mais claro.
Descrição:
Quando o candle PFR de venda aparecer colorido, fique atento ao próximo candle. Se ele romper o fechamento do candle PFR de venda, VENDA!
Seu stop deverá ser na maxima do candle PFR e seu alvo projetado em 1,618 na extenção de fibonacci.
Quando o candle PFR de compra aparecer colorido, fique atento ao próximo candle. Se ele romper o fechamento do candle PFR de compra, COMPRE!
Seu stop deverá ser na mínima do candle PFR e seu alvo projetado em 1,618 na extenção de fibonacci.
Inside Bar: O candle tem sua máxima menor que a máxima do candle anterior e sua mínima maior que a minima do candle anterior.
Configuração:
Você pode editar as cores nas configurações do indicador e selecione as medias que deseja usar.
Também pode escolher usar o filtro do Stocastico Lento em sobre compra e sobre venda.
Você também pode ativar o Inside bar, ele aparecerá em vermelho no gráfico.
Há também a possibilidade de ativar nas configurações, as Bandas de bollinger.
Indikator-Indikator Rentang
[Unxi]McClellan Oscillator for TECDAX [modified]This version is for use with the German TecDax index only!
About McClellan Oscillator
Developed by Sherman and Marian McClellan, the McClellan Oscillator is a breadth indicator derived from Net Advances, the number of advancing issues less the number of declining issues. Subtracting the 39-day exponential moving average of Net Advances from the 19-day exponential moving average of Net Advances forms the oscillator.
As the formula reveals, the McClellan Oscillator is a momentum indicator that works similar to MACD .
McClellan Oscillator signals can be generated with breadth thrusts, centerline crossovers, overall levels and divergences.
About my version
This version here is a modification, though:
- It can only be used on the German TECDAX index
- It only considers the TECDAX stocks
- The data window will provide a summary about rising and declining stocks
- The data window will output the last change for each of the 30 stocks
The script is pretty slow because it has to calculate the change for each bar individually (instead of receiving a complete calculation from the stock exchange).
This script will work on any time period. Just use whatever timeperiod you are comfortable with, the indicator will automatically adjust accordingly. It is recommended to use it with timeperiod = 1d, though.
DISCLAIMER
This script was mainly written for educational purposes (training myself how to write custom indicatotors).
As you can see, the code is really messy. Feel free to provide your feedback in the comments!
Credits
Based on the simple version of aftabmk
You can find the original version by searching for McClellan Oscillator for nifty 50.
Also got some inspiration from lazybear's version and from danarn's "Crypto McClellan Oscillator".
McClellan Oscillator for DAX (GER30) [aftabmk modified]About McClellan Oscillator
Developed by Sherman and Marian McClellan, the McClellan Oscillator is a breadth indicator derived from Net Advances, the number of advancing issues less the number of declining issues. Subtracting the 39-day exponential moving average of Net Advances from the 19-day exponential moving average of Net Advances forms the oscillator.
As the formula reveals, the McClellan Oscillator is a momentum indicator that works similar to MACD .
McClellan Oscillator signals can be generated with breadth thrusts, centerline crossovers, overall levels and divergences.
About my version
This version here is a modification, though:
- It can only be used on the DAX index (DAX 30 or GER 30)
- It only considers the DAX 30 stocks
- The data window will provide a summary about rising and declining stocks
- The data window will output the last change for each of the 30 stocks
BUG
I am only publishing this version because I am not sure if my current version is saved when I leave tradingview.com without publishing the script.
This version still contains a bug - the if/else clauses do not correctly recognize declining stocks. So the oscillator should not be used as it is.
Working on it these days. Feel free to provide feedback!
Stuff I am working on
- Coloring the area green/red according to the value
- Fixing this bug/making this script more efficient
DISCLAIMER
This script was mainly written for educational purposes (training myself how to write custom indicatotors).
As you can see, the code is really messy.
Credits
Based on the simple version of aftabmk
You can find the original version by searching for McClellan Oscillator for nifty 50.
Williams %RHi! WPR is the Williams percentage range indicator in my design. The main idea is that the intersection of the indicator and the moving average in the overbought and oversold zones + color highlighting gives more clear visual signals for making trading decisions based on this indicator.
Buyer-seller strengthThis is my first attempt to convert my price action trading principles into pine script.
As price action trader, we attempt the see the hidden strength of buyer in sellers candle and vice versa. I use simple calculation of candle wick to body -proportion to assess the strength. This script identifies the proportion of buyers and sellers in any given candle in form of %. Sellers are given in positive % and buyers are given as negative %. By moving the cursor to the interested candle the values can be seen.
While this will not be useful for decision as sole trading system, I use it as adjunct, whenever I analyze the data.
Happy trading
Woobull BTC Top CapA close approximation of Willy Woo's Top Cap indicator.
Top Cap is BTC's market cap cumulative average x 35
Since trading view lacks the data from 2010 to 2014 that is used for the calculation, initial values are taken from Willy Woo's chart.
The indicator must be applied to a CRYPTOCAP:BTC chart and daily timeframe
LTB Zigzag CirclesHello All,
Today I am here with a new idea and script, " LTB Zigzag Circles ". The idea is to create Circles using last 2 zigzag waves and to catch the breakouts earlier than horizontal lines. if a circle is broken then the script shows entry for Long/Short positions. and if broken circle reappears again then the position is closed. You can change Zigzag period as you wish and see the different results.
Here you can see how the script calculates and draws the Circles:
Below you can see how the script draws part of the circle on each bar:
Optionally the script can show levels:
P.S. I haven't tested it as a strategy, Result and Performance may change by Zigzag period, you need to find best Zigzag period according to your strategy. By the way, my Zigzag Circles idea can be improved, if you have any recommendation let me know please ;)
Enjoy!
On Balance Volume HLOC with AverageI am playing OBV now.
The original OBV is only calculate CLOSE.
I got an idea about XOBV with HLOC.
A bar has 5 periods:
- Open--Low--Open--Close--High--Close or
- Open--High--Open--Close--Low--Close
Assume that volume will evenly distributed on these 5 periods. Only Open--Close period has effective changed volume.
So XOBV = OBV * abs(close-open)/(2*(high-low)-abs(close-open)))
Better use XOBV and OBV both. Divergence and same price comparison are worth to watching.
John Ehlers - The Price RadioPrice curves consist of much noise and little signal. For separating the latter from the former, John Ehlers proposed in the Stocks&Commodities May 2021 issue an unusual approach: Treat the price curve like a radio wave. Apply AM and FM demodulating technology for separating trade signals from the underlying noise.
reference: financial-hacker.com
Jigga - Heatmap ComparisionHi All,
I always have a question on how to know which sector is performing. I have created this Heatmap comparison to know strength of sector.
I have used RSI and MACD calculation and put it across 5 different index. Color shows bullishness and Gray shows weakness.
You can select RSI or MACD or Both to have calculation. And you can also compare stocks if you want.
Note: Use it for Medium / Long term investment. Can not be use for Intraday.
Happy investing !!
R-HL-PDWThis script doesn't give buy or sell signals. It gives a reference point to the previous day's high and low as well as the previous week's high/low. This will be helpful for intraday trading decisions.
McClellan Oscillator for nifty 50This is a indicator which indicates breath of the market.
If found relevant do let me know!!
Only handpicked relevant 20 stocks (20 +ve indicator+ 20 -ve indicator) from different sector .
As there is the limit of 40 script allowed only.
Further modifications might be there if the limit is increased to 100 (50 +50 indicator) .
Cost of SpreadAdd to a quote, set the current total transaction cost (i.e. Spread (%) to 0.04 if BTCUSDT binance future, Spread (base) 0.0001 if trading EURUSD with 1 pip net spread).
Both lines indicate the relative volatility corrected cost of trading (ATR as orange line, StdDev as cyan).
Bitfinex Spot PremiumOverview
A tool to display the spot price premium of Bitfinex coins vs the other big 3 exchanges.
Premium is calculated against:
- Coinbase
- Binance
- FTX
The average is calculated through volume weighting. The absolute difference between the Bitfinex spot price and the calculated average is then displayed on the histogram.
Interacting with the tool
Colours: Green bars indicate a positive premium (Bitfinex spot price is greater than the average), Red bars indicate a negative premium. The ability to grey out smaller premiums is also enabled with the "Grey Small Vals" checkbox, this can be used to further emphasise larger premiums.
Ticker: The ticker input allows you to detect the Bitfinex premium for any coin traded within all 4 exchanges (Bitfinex, Coinbase, Binance, FTX). Just input the coins ticker symbol, for example, "BTC", "ETH", "UNI".
Indicator Ideology
Bitfinex is known for being the home of crypto "smart money". Therefore, positive premiums indicate stronger buying from "smart money". Although this premium is a good sign of bullish/ bearish market conditions, for example, consecutive days of a negative Bitfinex premium have been pretty good at indicating short term tops in BTC, this indicator should only be used as a confirmation signal.
Tick Data DetailedHello All,
After Tick Chart and Tick Chart RSI scripts, this is Tick Data Detailed script. Like other tick scrips this one only works on real-time bars too. it creates two tables: the table at the right shows the detailed data for Current Bar and the table at the left shows the detailed data for all calculated bars (cumulative). the script checks the volume on each tick and add the tick and volume to the specified level (you can set/change levels)
The volume is multiplied by close price to calculate real volume .There are 7 levels/zones and the default levels are:
0 - 10.000
10.000 - 20.000
20.000 - 50.000
50.000 - 100.000
100.000 - 200.000
200.000 - 400.000
> 400.000
With this info, you will get number of ticks and total volumes on each levels. The idea to separate this levels is in order to know which type of traders trade at that moment. for example volume of whale moves are probably greater than 400.000 or at least 100.000. Or volume of small traders is less than 10.000 or between 20.000-50.000.
You will get info if there is anomaly on each candle as well. what is anomaly definition? Current candle is green but Sell volume is greater than Buy volume or current candle is red but Buy volume is greater than Sell volume . it is shown as (!). you should think/search why/how this anomaly occurs. You can see screenshot about it below.
also "TOTAL" text color changes automatically. if Buy volume is greater than Sell volume then its color becomes Green, if Sell volume is greater than Buy volume then its color becomes Red (or any color you set)
Optionally you can change background and text colors as shown in the example below.
Explanation:
How anomaly is shown:
You can enable coloring background and set the colors as you wish:
And Thanks to @Duyck for letting me use the special characters from his great script.
Enjoy!
CAT Shaky TopThe indicator shows when S&P goes overbought while breadth does not confirm the rally.
The standard conditions are:
- S&P goes over 200 day weighted moving average increased by 10% and
- % of US stocks over 50 DMA holds under 60.
When both conditions are met the indicator plots a red triangle on top of the price.
You can change two inputs to see how often in the past similar cases happened.
If you have any questions please send me email to castawaytrader@gmail.com
Annualized Futures Spread2つの銘柄間のスプレッドを年率換算してオシレーターの枠に表示するスクリプトです。
(BTCUSD現物とBTC-0625先物契約のような2銘柄間で使用することを想定しています。)
設定で年率換算していない生の乖離率の表示に切り替えることも可能です。
初期設定ではFTXの BTCUSDとBTCUSD-0624、BTCUSDとBTC-1231、ETHUSDとETH-0625 が指定されています。
そのまま使用しても構いませんし、設定やソースコードを編集して活用してくださって構いません。
ーーーーーーーーーーーーー
This custom script can be used to display the annualized spread rate between two specified symbols like BTCUSD and BTC-0625.
It is also possible to display raw spreads that are not annualized. (Just simply clicking the checkbox in setting.)
The default settings are BTC0625 and BTCUSD, BTC1231 and BTCUSD, and ETH0625 and ETHUSD on FTX Exchange.
You may use it as-is, or edit the settings or modify the source code as you like.
(This script was removed due to a violation of the English-Only house rule once, so this is a repost with a revised title and text.)
P/L CalculatorI couldn't find an existing indicator that simply calculated profit and loss, so here's one for quick, visual P/L. My api's lag too much to this helps while scalping.
Bond Yields (China)With reference to "Bond Yields eXtreme" by danarm
The bond yields from China are combined for easy reference
Saurabh's ORB 45This is indicator is all about opening range breakout on 45 mins charts.
|
|
|
|
|
which can be useful to day trader as a breakout strategy following the trend. Useful in 45 mins charts. Also, you may change the time frame from settings according to your likes.
Give thumbs up if you like it.