Delta longs-shorts. BITFINEX:BTCUSDFor any timeframe. Use for the BTC/USD pair. It is calculated by the formula: longs - shorts. Used data from Bitfinex. To smooth the values, you can use the EMA embedded in the indicator.
Breadth Indicators
52 Week High/Low to YesterdayThis script adds the 52 weeks (one year) high/low to the chart but it wouldn't update the value on the current trading day, so that it would remain at the same level for the whole trading day. It can come really handy for day trading the day of the 52 weeks high/low breakout/breakdown.
McClellan Oscillator [LazyBear ~ modified]The McClellan Oscillator is a market breadth indicator developed by Sherman and Marian McClellan.
It is calculated from Net Advances, which is the number of advancing issues minus 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.
The McClellan Oscillator can be traded with breadth thrusts, centerline crossovers and divergences.
The original code was written by LazyBear - I just modified it to add together all advancing and declining issues from all stock exchanges (NYSE + NASDAQ + others), to make it available on the hourly time frame and also add alerts.
Highs & LowsHigh and Lows Script.
For all the price action lovers out there.
Hope you all enjoy.
Thanks
ADVN-DECLAdvancing - Declining issues indicator which you can use for Bitcoin trading if you, like me, believe that cryptocurrency is highly correlated with the activity on the stock exchanges (yes, the PROs are here, we just didn't know it yet)
This indicator is based on showing the data, as much as possible, as it is, and not messing it up by calculating stuff. Calculation should be used to better understand what the data represents, and not to show beatiful things which are, in fact, not present.
You could, for example, take ADVN and DECL, calculate rma() moving averages and make a RSI out of it. The result is very interesting when applied on the daily time frame, but not as useful for trading.
By the way, I recommend enabling this option:
Right click - Settings - Timezones / Sessions
Please check "Extended hours (Intraday Only)"
I could do it in code with the ticker() function, but I'm under the impression that then, free TV users would not be able to use the indicator.
TA-Money Flow-v2, Stochastic OBVNot sure where I originally got this (somewhere off Tradingview several years ago, thanks to the person who shared), just publishing because of a request.
This is basically a stochastic OBV movement indicator. It is good to work with both price and volume. I've updated to be able to display either as positive only, or both sides (50/-50), also included an invert function. It works great on any time frame, but you need to have volume data.
Enjoy.
I've got a version 3 if you're interested.
Opening range plus essential indicators all in oneThese are some essential indicators I use which do not clog up too much of the window.
Volume Ticks - Increasing Volume Bar Count [LucF]Volume Ticks is a zero-lag market sentiment indicator. It works by providing a cumulative count of increasing volume columns.
A one count is added for each increasing volume column where close>open, and one is subtracted on an increasing volume column if close<open. That’s it. The count does not change when volume hasn’t increased compared to the previous bar’s volume, nor when price does not change. Price movement during the bar, whether 0.001% or 100%, is irrelevant to Volume Ticks; it only moves by 1 at a time.
Given that price is not used in Ticks, it is intriguing how well it tracks—or often leads—price movement. The fact that it doesn’t use price also makes it an ideal companion to most indicators that do use price, whether in momentum or mean-reversion based strategies.
As with my TLD indicator , the postulate behind Ticks is that price movement occurring on increasing volume is more significant than otherwise. In my opinion, the usefulness of Ticks tends to validate this.
Features
The averages can be turned on and off.
A long-term sentiment marker can be turned on.
Markers for BB exits and pause-reversals can be turned on, with the option of showing only long or short markers.
9 alerts can be defined on markers, with the option of choosing only long or short markers.
Use cases
Provides perspective when reading momentum indicators.
Helps identify false momentum tops or bottoms.
Comes in handy in detecting subtle sentiment in consolidations. Instances where slight price movement is accompanied by more important Ticks movements often predate more important price movements.
Helps detect exhaustion in trends.
Things to keep in mind
Volume Ticks show sentiment—not price nor trend. Because it so often mimics price, this is easy to forget.
Volume Ticks is not bound. Its position with regards to the zero line is not particularly useful either; position relative to and interplay between the MAs is much more useful.
Readings are more reliable with many data points. When used on monthly, weekly or daily charts, readings should be validated at shorter intervals. Over the same length of time, a compressed view of a shorter interval will usually provide more reliable readings than the longer interval view.
Being zero-lag, Ticks is inherently noisy. You will see this when using the Pause-Reversal markers.
The signal line will not move if no increasing volume is accompanying price movement, however important that movement may be.
Linear regressions are used in lieu of MAs, except the slow long MA (T5) which uses a simple moving average. The fast MA (T2) is double-smoothed.
Markers 2 are brighter when T3 and T4 are in the direction of the marker. The markers are not this indicator’s most useful feature.
Here is Ticks in action on a chart also using TLD:
Intelligent Moving AverageFor 4 simple moving averages, the script tests every single combination for maximum profitability and finds the best pair.
Combinations:
sma1 and sma2,
sma1 and sma3,
sma1 and sma4,
sma2 and sma3,
sma2 and sma4,
sma3 and sma4
And then paint the pair which get best performance. sma lengths are optional, so you can change lengths as you wish.
You will see in some charts that for example sma1 and sma2 pair was best perfrmance and colored on the chart but then sma2 and sma3 pair got better performance, so script starts to paint sma2 and sma3. so it's dynamic based on best performance.
keep in mind => length1 < length2 < length3 < length4 will be better
I didn't have enough time to test the script, so please comment when you test it.
by LonesomeTheBlue
bitFlyer DivergencebitFlyer Divergence.
Basis is BitMEX:BXBT(converted into JPY).
*bitFlyer BTCJPY spot
*bitFlyer FXBTCJPY
Fuchsia(pink) = BTCJPY spot - BXBT
Teal(dark green) = FXBTCJPY - BTCJPY spot
Lime(light green) = BTCspot - BXBT
Daily Pivot Standart alertableWith this Indicator u can set allert between the Pivot points s15.directupload.net
So it is useful for scalping
OWEN 34-144EMA Trader //@version=3
study("OWEN 34-144EMA Trader", overlay=true)
m = ema(close, 34)
pm = ema(close , 34)
t = ema(close, 144)
pt = ema(close , 144)
prev = pm - pt
curr = m - t
plot(m, "Momentum", blue, transp=0)
plot(t, "Trend", red, transp=0)
cross_up = prev <= 0 and curr > 0
cross_down = prev >= 0 and curr < 0
Demand Index StrategyDemand Index Strategy
Goes Long if Indicator is > 1
Goes Short if Indicator is < 1
I have no clue how and when to use it.
Please message me if you found something.
TheStocksDoctor_WVF + ADX + CCIThis script is a modified version of CM Williams Vix Fix for which I have added an indicator that shows when ADX and CCI are both indicating positive momentum - highlighted by green bars. This is part of TheStocksDoctor Trading System.
Inputs are as follows:
Lookback period Standard Deviation High ---> 22
Bolinger Band Length ---> 20
Bollinger Band Standard Dev.. ---> 2
Lookback period percentile high ---> 50
Highest Percentile ---> 0.85
----Highlight bars Below... --->
Show Highlight bar if WVF WAS true is now False --->
Show highlight bar if WVF IS True --->
----Highlight bars Below Use Filtered... --->
Show highlight bar for filtered entry --->
Show highlight bar for AGGRESSIVE Filtered Entry? --->
Check below to Turn all Bars Gray --->
Check box to Turn Bars gray? --->
Long-term look back current bar has to close Below... ---> 40
Medium-term look back current bar has to close below... ---> 14
Entry price action strength --close... ---> 3
--------Turn On/Off Alerts below... --->
---To activate alerts you HAVE To Check... --->
---You can un Check the box BELOW... --->
Show Williams Vix Fix Histogram... --->
Show Alert WVF = True? --->
Show Alert WVF wa true now False? --->
Show Alert WVF Filtered? --->
Show Alert WVF AGGRESSIVE Filter? --->
ADX Smoothing ---> 17
DI Length ---> 17
Godmode 4.0.2 [Supply/Demand]First off, a huge thank you to the following people:
LEGION:
LazyBear: www.tradingview.com
xSilas: www.tradingview.com
Ni6HTH4awK: www.tradingview.com
sco77m4r7and:
SNOW_CITY: www.tradingview.com
oh92: www.tradingview.com
alexgrover: www.tradingview.com
cI8DH: www.tradingview.com
DonovanWall: www.tradingview.com
shtcoinr: www.tradingview.com
This is the third iteration of Godmode. This time I borrowed the method used by shtcoinr to render supply/demand, resistance and support zones. The idea here is to input the appropriate benchmark tickerid to the asset class you're trading and to paint zones according to the price activity of the selected tickerid. This works very well trying to paint meaningful zones against noisy stocks, currencies, commodities etc. Use a correlation coefficient to determine the best benchmark for your asset class.
Want to Learn?
If you'd like the opportunity to learn Pine but you have difficulty finding resources to guide you, take a look at this rudimentary list: docs.google.com
The list will be updated in the future as more people share the resources that have helped, or continue to help, them. Follow me on Twitter to keep up-to-date with the growing list of resources.
Suggestions or Questions?
Don't even kinda hesitate to forward them to me. My (metaphorical) door is always open.
Error in dataIt gaves you a clear look into how many errors the data has for a current market.
Basically it checks if close =open and by how much margin that is correct