Bear & Bull Zone Signal StrategySince I love to mix and match, here is something fresh and that actually works on the breakout of Ethereum without losing your ass on lagging indicators.
It blends some of the nice parts of my previous scripts while moving to big boy pants with a twist on the Fibonacci retracement using SMA and EMA at multiple levels to do a sanity check.
Is it too good to be true? Nope, just what happens when a Solution Architect starts messing around with crypto and applies engineering and mathematics to the mix. You get a strategy that really doesn't have high profit losses when you tweak it just the right way.
What's the right tweak you ask?
1. Start with a 30 minute timeframe and set your window start date to the date the market began the bear or bull run
2. Make sure you can see your strategy performance window (not the graph one)
3. Set Stop Loss and Target Profit to 50%
4. Use your mouse wheel or up and down arrows and mess around with the RSI, go down one at a time but no lower than 7. Whichever value displayed the highest long or short gain is the one to pick.
5. Now select long or short only based on whichever one shows the highest gain.
6. Now go to K and D, leave K as 3 and check what happens when D is 4 or 5. Leave D at the value that gives you the highest gain.
7. Now go to EMA Fast and Slow Lengths. Leave Fast at 5 and check what happens when the Slow is moved up to 11 or 12, do the gains go up. If not, check what happens when Slow is moved down to 9, 8, or 7. Whichever gives you the highest gain, leave it there. Now go mess with the fast length, keep in mind that fast must always be less than slow. So check values down to 3 and up to 6. Same concept, mo money...leave it be.
8. Now go mess with the Target Profit, I start at 5, hit enter, then go to 7, hit enter, then 9...up by 2 until I get to 21 to make sure I don't hastily pick a low one and always keep in mind between which values the gain switched from high to low. For example, in this example I published at 11 it was $5k and at 13 it was $3700 for the gains. So after I got up to 21 I went back to 11 and started going up by 0.01 steps until the value dropped, which was at 11.19 so I set it at 11.18.
9. Now stop loss is trickier, you've maximized the gains, which means if you set the stop loss at a low value you will sacrifice gains. Typically by this point your loss is less than 10% with this script. So, my approach is to find the value where the stop loss doesn't change what I've tweaked already. In this example, I did the same start at 5 and go up by 2 and saw that when I went to 17 it stopped changing. So I started going back down by 0.5 and saw at 15.5 the gains went lower again. Now I started going back up in steps of 0.01 and at 15.98 it went back to the high gain I already tweaked for. I kept stop loss there and unleashed the strategy on ETH.
So far so good, no bad trades and it's been behaving pretty well.
اتجاه حجم التداول للأسعار
Price/Volume Trend MeterAnother simple indicator from the sweet indicator series, This is a combination of the Volume and Price Trend Meter indicators combined (Links below) into one indicator called PVTM (Price Volume Trend Meter).
PVTM measures the strength of price and volume pressure on a histogram.
The indicator sums up all green candles price and volume and red candles price and volume over a specific period of bars and plots based on Price summed value. The result will look similar to Price Trend Meter with the benefit of trying to filter out more noise.
Use this indicator to identify the increasing asset of price and volume with the green candles (Close is higher than open) and decreasing of price and volume with the red candles (Close is lower than open).
======= Calculation ==========
Bright Green Color Column: Total summed up Price and Volume are higher than 0.
Bright Red Color Column: Total summed up Price and Volume are Lower than 0.
Weak Green Color Column: Conflict between Price and Volume (One positive and one negative) so we continue based on previous color .
Weak Red Color Column: Conflict between Price and Volume (One positive and one negative) so we continue based on previous color.
======= Price/Volume Trend Meter Colors =======
Green: Increasing buying pressure.
Weaker Green: Declining Buying pressure (Possible Sell Reversal).
Red: Increasing selling pressure.
Weaker Red: Declining Selling pressure (Possible Buy Reversal).
Other sweet indicators that this indicator is based on:
Volume Trend Meter:
Price Trend Meter:
Like if you Like and Follow me for upcoming indicators/strategies: www.tradingview.com
MAX SAHAM ADX with DI Max Saham's ADX line with D+ & D-
ADX is used to quantify trend strength.
When the D+ (+DMI) is dominant and rising, price direction is up.
When the D- (-DMI) is dominant and rising, price direction is down. But the strength of price must also be considered.
Uses Wilder's MA to get a more accurate ADX reading as compared to SMA.
Also added the green background to indicate the trend and also dots to indicate bull and bear crossing of the DMI's
GOD's EYEGet to know when to accumulate when biggies are buying and when to stay away from the stock
Candlestick RSThis is a candlestick charted Relative Strength indicator. It compares the chosen stock's progress compared to that of the SPY ETF ... ( SPY is used so it should hopefully update intraday). I use this indicator to see which stocks are outperforming the market.
Input Variable Descriptions:
Ratio: this variable is a float (0 to 1) that is basically how close the Candlestick RS is to the actual price action of the chart. (1.0 being right on top of it, 0.0 being as far away as possible from it)
Ballpark SPY price: this variable has to be constant, and due to the way pinescript works, you have to manually put in a ballpark of what SPY is at.
Neither of these variables influences the actual data of the indicator, but rather how it is shown on screen. It's difficult to describe, so I recommend you messing around with the variables and see what changes.
Hope this helps, I find this useful, so I figured I'd publish this... This is my first pine script so forgive me for any errors, just want to help :)
Price/Volume Value HistogramAn interesting implementation of mine to measure an asset changes based on asset price velocity and volume velocity. The indicator acts as asset value calculator. Long and Short.
==Points System Rules==
UPTRENDING
If Current Close is higher than previous Close and Current Volume is bigger than previous Volume: Adds Close Points and Volume Points
Otherwise check
If Current Close is higher than previous Close: Adds Only Close Points
DOWNTRENDING
If Current Close is lower than previous Close and Current Volume is bigger than previous Volume: Reduces Close Points and Volume Points
Otherwise check
If Current Close is lower than previous Close: Reduces Only Close Points
==Plotting==
Result of the values are summed up to a histogram.
Obviously on increasing prices and volume the histogram will be above zero line and on the Bullish side (green color), otherwise, on the Bearish side (red color).
You can't cheat the price movement, it's just what it is.
Optional to smooth it by EMA (set to true by default).
Like if you Like and Enjoy!
Follow for upcoming indicators.
Freedom of MovementFreedom of Movement Indicator
---------------------------------------------------------
In “Evidence-Based Support & Resistance” article, author Melvin Dickover introduces two new indicators to help traders note support and resistance areas by identifying supply and demand pools. Here you can find the support-resistance technical indicator called "Freedom of Movement".
The indicator takes into account price-volume behavior in order to detect points where movement of price is suddenly restricted, the possible supply and demand pools. These points are also marked by Defended Price Lines (DPLs).
DPLs are horizontal lines that run across the chart at levels defined by following conditions:
* Overlapping bars: If the indicator spike (i.e., indicator is above 2.0 or a custom value) corresponds to a price bar overlapping the previous one, the previous close can be used as the DPL value.
* Very large bars: If the indicator spike corresponds to a price bar of a large size, use its close price as the DPL value.
* Gapping bars: If the indicator spike corresponds to a price bar gapping from the previous bar, the DPL value will depend on the gap size. Small gaps can be ignored: the author suggests using the previous close as the DPL value. When the gap is big, the close of the latter bar is used instead.
* Clustering spikes: If the indicator spikes come in clusters, use the extreme close or open price of the bar corresponding to the last or next to last spike in cluster.
DPLs can be used as support and resistance levels. In order confirm and refine them, FoM (Freedom of Movement) is used along with the Relative Volume Indicator (RVI), which you can find here:
Clustering spikes provide the strongest DPLs while isolated spikes can be used to confirm and refine those provided by the RVI. Coincidence of spikes of the two indicator can be considered a sign of greater strength of the DPL.
More info:
S&C magazine, April 2014.
Price Volume Strength ComparatorBollinger bands says whether price or any source is relatively high or low at any particular point of time. We can apply Bollinger bands on RSI and volume indicator Price Volume Trend to identify if RSI movement or PVT movement is relatively high or low.
By calculating Bollinger %B, we can define the variation in a range between 0 to 1. By applying Bollinger %B on price, volume and strength, we are trying to compare how much they differ relative to each other.
For example, if Bollinger %B of volume is higher than Bollinger %B of price, which may mean, we can still expect continuation of upward movement. If volume %B is lesser, we can interpret this as price has moved more than the volume and may retrace back.
Note: I tried adding multiple volume/strength indicators as input choice. But, if condition did not work with simple string. Have no idea why. I will try adding that later if more people show interest.
Engulfing Detector (Supply and Demand)Bullish and bearish engulfing candles marked with horizontal lines around engulfed candle.
This indicator can be used to assist in locating potential supply and demand zones.
The fresh zones will be of green and red line colors and the tested zone lines are grey in color.
Histogram - Price Action - Dy CalculatorThis script aims to help users of Price Action robot, for Smarttbot (brazilian site that automates Brazilian market (B3)).
You can use on any symbol.
The script will follow price action principles. It will calculate the absolute value of last candle and compare with actual candle. Colors are:
- Red - If the actual candle absolute value is higher than previous one, and the price is lower than last candle. It would be a short entry.
- Blue - If the actual candle absolute value is higher than previous one, and the price is higher than last candle. It would be a long entry.
- Black - The actual candle absolute value is lower than previous one, so there is no entry.
If there is a candle that is higher than previous one, and both high and low values are outside boundaries of previous one, it will calculate which boundary is bigger and will apply the collor accordingly.
UVOL DVOL Strength and Stagnant HistogramI liked the style of one of Noldo's scripts pertaining to Put/Call ratio so I adapted my existing UVol / DVol ratio script using his code from
I am also reducing the number of securities referenced to only Nasdaq which speeds up displaying
The yellow bars are meant to represent stagnant volume, with green / red representing strong up or down volume.
Note the indicator will display the same no matter which individual stock you are watching since it uses UVol and DVol from the whole Nasdaq exchange NOT the stock or security you are currently viewing.
Argentina CCLPrecio del dolar contado con liquidación de activos argentinos ponderados por volumen operado
Multiple VWAPAn intraday indicator which plots the 3 different VWAP.
1. D-VWAP shows VWAP from the first candle of the day
2. W-VWAP shows VWAP from the first candle of the week
3. M-VWAP shows VWAP from the first candle of the month
PVT Osc - Price Volume Trend Oscillator [UTS]The oscillator version of the Price Volume Trend indicator (PVT) can be considered as a leading indicator of future price movements. The PVT Indicator is similar to the On Balance Volume indicator as it is also used to measure the strength of a trend.
The difference between the OBV and the PVT is that where the OBV adds all volumes when price achieves higher daily closes and subtracts them when price registers a lower daily close, the PVT adds or subtracts only a portion of the volume from the cumulative total in relation to a percentage change in price.
The general market consensus is that this difference enables the PVT to more accurately represent money flow volumes in and out of a stock or commodity.
The PVT has been designed so that it is capable of forecasting directional changes in price. For instance, if the price of a stock is rising and the PVT begins to fall, then this is indicative that a price reversal could occur very soon.
The general consensus is that the PVT is more accurate at detecting new trading opportunities than the OBV because of the differences in their construction. The OBV is designed so that it adds the same amount of volume whether the price closes upwards by just a small fraction or by multiples of its day opening value. On the other hand, the PVT adds volume proportional to the amount the price closed higher.
General Usage
Plain old PVT can be used to confirm trends, as well as spot possible trading signals due to divergences.
A benefit of the oscillator version is that it can produce LONG or SHORT signals on zero line cross.
Or controversy, disallow LONG trades in bearish territory and disallow SHORT trades in bullish territory.
Moving Averages
4 different Moving Averages are available:
EMA (Exponential Moving Average)
SMA (Simple Moving Average)
VWMA (Volume Weighted Moving Average)
WMA (Weighted Moving Average)
ADL - Accumulation Distribution Line [UTS]an underlying asset.
It is determined by the changes in price and volume. The volume acts as a weighting coefficient at the change of price — the higher the coefficient (the volume) is the greater the contribution of the price change (for this period of time) will be in the value of the indicator. The indicator is also known as Accumulation / Distribution Index.
Common known variants of this type of indicator are the On Balance Volume, Chaikin Oscillator or Chaikin Money Flow.
Based on www.metatrader5.com
Incremental Lines Above and BelowPut lines above and below current price by a specified value. The step value refers to the mintick value of the symbol. (e.g. BTCUSD has a mintick value of 0.01 so if you wanted an increment of $12.50 you would use 1250 for the number of steps between value)
Gap DetectorArrow at candle where bullish or bearish gap occurred by a configurable minimum pip distance
QuantNomad - Bitcoin NVT/NVTSIn this script I included 2 quite interesting indicators for Bitcoin:
* NVT (Network Value to Transactions Ratio)
* NVTS (NVT Signal)
Both indicators are based on Bitcoin Network Value (Market Cap) and 24h transaction volume.
For both these values I'm using Quandl datasets from Blockchainc.com:
market_cap: QUANDL:BCHAIN/MKTCP
transac_vol: QUANDL:BCHAIN/ETRVU
Calculation for both indicators are pretty simple:
NVT = median(market_cap / transac_vol, 14 bars)
NVTS = market_cap / sma(transac_vol, 90 bars)
NVT and NVTS are cryptocurrency's answers to P/E ratio. They can help you to understand if bitcoin is under/overvalued.
When NVT or NVTS is relatively high it can be a pretty good point to short bitcoin, if it's low it good time to buy bitcoin.
NVT Ratio - was created by Willy Woo
NVT Signal - was created by Dimitry Kalichkin
Because of different sources of transaction volume data, these indicators can differ in values from originals, but magnitude should be the same.
This is a pretty simple example where you can select only static overbought/oversold levels and when indicator will be above/below it you will see in changing in color.
I have many more things in my head how these indicators can be developed further and what strategies can be derived from them, but as is they can be a pretty good base for you. Will share my advanced findings later.
Volume with directionOscillator plots cumulative volume with direction defined by price (positive price change = positive volume and vice versa) divided by volume sma.
It is good for divergence indication and can be used for trend change prediction.
It is faster then stoch with the same length.
Seasonality-Buschi
English:
This script shows the price development over the last year (default: green) and mean prices over the last three (default: light green), six (default: orange) and nine (default: red) years and is therefore at least some kind of approach towards true seasonality.
Thanks to user "apozdnyakov" for providing most of the code!
Deutsch:
Dieses Skript zeigt den Kursverlauf über das letzte Jahr (Standard: grün) und die durchschnittlichen Verläufe über die letzten drei (Standard: hellgrün), sechs (Standard: orange) und neun (Standard: rot) Jahre und stellt damit zumindest eine Annäherung zu einer echten Saisonalität dar.
Dank an User "apozdnyakov", der den Großteil des Codes zur Verfügung gestellt hat!
Cumulative Force IndexVolume indicator adapted from Elder's Force Index.
From here:
stageanalysis.net