CDC ActionZone V3 2020## CDC ActionZone V3 2020 ##
This is an update to my earlier script, CDC ActionZone V2
The two scripts works slightly differently with V3 reacting slightly faster.
The main update is focused around conforming the standard to Pine Script V4.
## How it works ##
ActionZone is a very simple system, utilizing just two exponential moving
averages. The 'Zones' in which different 'actions' should be taken is
highlighted with different colors on the chart. Calculations for the zones
are based on the relative position of price to the two EMA lines and the
relationship between the two EMAs
CDCActionZone is your barebones basic, tried and true, trend following system
that is very simple to follow and has also proven to be relatively safe.
## How to use ##
The basic method for using ActionZone is to follow the green/red color.
Buy when bar closes in green.
Sell when bar closes in red.
There is a small label to help with reading the buy and sell signal.
Using it this way is safe but slow and is expected to have around 35-40%
accuracy, while yielding around 2-3 profit factors. The system works best
on larger time frames.
The more advanced method uses the zones to switch between different
trading system and biases, or in conjunction with other indicators.
example 1:
Buy when blue and Bullish Divergence between price and RSI is visible,
if not Buy on Green and vise-versa
example 2:
Set up a long-biased grid and trade long only when actionzone is in
green, yellow or orange.
change the bias to short when actionzone turns to te bearish side
(red, blue, aqua)
(Look at colors on a larger time frame)
## Note ##
The price field is set to close by default. change to either HL2 or OHLC4
when using the system in intraday timeframes or on market that does not close
(ie. Cryptocurrencies)
## Note2 ##
The fixed timeframe mode is for looking at the current signal on a larger time frame
ie. When looking at charts on 1h you can turn on fixed time frame on 1D to see the
current 'zone' on the daily chart plotted on to the hourly chart.
This is useful if you wanted to use the system's 'Zones' in conjunction with other
types of signals like Stochastic RSI, for example.
Signals
Twin Range FilterAn experiment to combine two range filters and plot the average of both to smooth out the signals.
This works significantly better than the typical ATR set-up, but there's still too much noise here to set and forget with bots. Use it as the basis of your own system with additional filtering on top.
VPTbollfib & Camarilla (Danarilla)I do not own the original indicators. This is just a combination of the two because of their nature to work in a similar way.
Camarilla Pivots run on the basis of intraday range trading. Usually after daily open you look the fade whatever move happened before. by shorting R3/H3 levels or longing R3/L3. Targeting the other side of the range. This is the infamous PivotBoss level calculations and you would want to activate camarilla and turn off the normal pivots. They use the previous days volatility to plot the next days levels.
But what about some confirmation?
Well RafaelIzoni (who made it open source for improvement) threw together this VPTbollfib. It is volume price trend crossing down a fib line using bollinger bands as price envelope. The beauty of this is that It will signal usually counter to current price action based on selling into uptrends or vise versa. Meaning you get signals to counter price. Which is what you might be looking for on range day trade scalps for camarilla. A wick reversal or engulfing + volume based signal is a very happy pairing together. And those signals are usually suitable for the target of the range you are day trading. Hourly time frame works quite well for both. And camarilla should also be on daily settings.
Special Thanks to Nanda (who published the pivotboss indicator AND) Helped to merge the scripts together.
This indicator alone is an entire trade system. Camarilla already is. If you know the rules. it can be used for entries, exits, risk management to trade the range on TREND, COUNTER TREND, and BREAKOUT plays. The bollinger band fibs add confirmation to the trends levels. And the VPT adds a secondary confirmation to take a camarilla trade.
Try it out. I think you will find both the levels on camarilla and the VPT signals quite suprising.
Phase CalculationPhase Calculation was authored by John F. Elders in the Stocks and Commodities Magazine 11/1996
This indicator will tell you if the stock is in a uptrend or downtrend. A phase number with a low number means it is in a uptrend and a phase number with a high number means it is in a downtrend.
Let me know if you want to see me write code for different indicators!
MWDX AverageThis is a variation of an exponential moving average which follows the price pretty smoothly. Feel free to change the factor to adjust how closely it follows the price. I set the default to 0.2
Let me know if you want me to write code for any other indicators!
Moving Average Adaptive QThe Moving Average Adaptive Q (MAAQ) was authored by Perry Kaufman in the Stocks and Commodities Magazine 06/1995
This is similar to his Kaufman Adaptive Moving Average with a few changes. This is a pretty close moving average which I like quite a bit. Try it and let me know what you think.
Send me a message and let me know what other indicators you would like to see!
Moving Average Adaptive FilterThe Moving Avg Adaptive Filter (MAAF) was authored by Perry Kaufman in the Stocks and Commodities Magazine 03/1998
This is a volatility based indicator so when this indicator goes up, sell in the direction of how that stock is going. In other words go short when it is rising and the stock price is below the ema or go long when it is rising and the stock price is above the ema. Lower volatility means it is trading sideways or the current price action is about to reverse.
Send me a message and let me know what other indicators you would like to see!
ASCTrendThis is a signal type inge displayed on the candlestick.
Very famous in the world, ASCTrend is one of the oldest signal type indicators, and it seems that the base was completed around MT3, the predecessor of MT4.
I ported it because it was not in TradingView for some reason.
ローソク足上に表示されるシグナル型のインジです。
世界的に非常に有名で、ASCTrendはシグナル型のインジケーターの中でも歴史は古く、ベースはMT4の前身であるMT3の頃には出来上がっていたようです。
なぜかTradingViewにないので移植してみました。
On Balance Volume ModifiedHere is a smoothed version of the classic OBV indicator with a signal line. You can use it to look for signal line crossovers and divergences. The signal line is a 10-day EMA of the OBVM line. Typically, the signal line can vary from 10 to 50.
This was just published by Vitali Apirine in the latest issue of Stocks & Commodities (April 2020) p22-25
Please let me know if you want me to publish any other indicators or if you have any questions!
Modified OBV w/ Divergence Detection by CryptorhythmsApirine OBV-M Modified OBV w/ MA Selection by Cryptorhythms
Intro
Released in the April 2020 issue of TASC, and created by Vitali Apirine.
Description
OBV-M is of course based on the classic indicator on balance volume originally developed by Joe Granville. Apirine then smooths the calculation and adds a signal line to help denote entry and exit points.
As the author points out uts also great at showing divergences!
Extras
As usual when porting indicators to the library here on tradingview, I like to add some extra flare!
💠MA selection to allow you to experiment with alternate settings
💠Bar coloration based on trade state for easy visual at a glance chart checking
💠Divergence Detection and plotting thanks for Ricardo Santos' script
Enjoy!
👍 We hope you enjoyed this indicator and find it useful! We post free crypto analysis, strategies and indicators regularly. This is our 78th script on Tradingview!
BO - CCI Arrow with AlertBO - CCI Arrow with Alert base on CCI indicator to get signal for trade Binary Option.
Rules of BO - CCI Arrow with Alert below:
A. Setup Menu
1. cciLength:
* Default CCI lenght = 14
2. Linear Regression Length:
* Periods to calculate Linear Regression of CCI,
* Default value = 5
3. Extreme Level:
* Default top extreme level = 100
* Default bottom extreme level = -100
4. Filter Length:
* Periods to define highest or lowest Linear Regression
* Default value = 6
B. Rule Of Alert Bar
1. Put Alert Bar
* Current Linear Regression Line created temporrary peak
* Peak of Linear Regression Line greater than Top Extreme Level (100)
* Previous Linear Regression is highest of Filter Length (6)
* Previous Linear Regression is greater than previous peak of Linear Regression Line
* Current price greater than previous low
* CCI(14) less than Linear Regression Line
2. Call Alert Bar
* Current Linear Regression Line created temporrary bottom
* Bottom of Linear Regression Line less than Bottom Extreme Level (-100)
* Previous Linear Regression is lowest of Filter Length (6)
* Previous Linear Regression is less than previous bottom of Linear Regression Line
* Current price less than previous lhigh
* CCI(14) greater than Linear Regression Line
B. Rule Of Entry Bar and Epiry.
1. Put Entry with expiry 3 bars:
* After Put Alert Bar close with signal confirmed, put Arrow appear, and after 3 bars, result label will appear to show win trade, loss trade or draw trade
2. Call Entry with expiry 3 bars:
* After Call Alert Bar close with signal confirmed, call Arrow appear, and after 3 bars, result label will appear to show win trade, loss trade or draw trade.
3. While 1 trade is opening no more any signal
C. Popup Alert/Mobile Alert
1. Signal alert: Put Alert or Call Alert will send to mobile or show popup on chart
2. Put Alert: only Put Alert will send to mobile or show popup on chart
3. Call Alert: only Call Alert will send to mobile or show popup on chart
Dekidaka-Ashi - Candles And Volume Teaming Up (Again)The introduction of candlestick methods for market price data visualization might be one of the most important events in the history of technical analysis, as it totally changed the way to see a trading chart. Candlestick charts are extremely efficient, as they allow the trader to visualize the opening, high, low and closing price (OHLC) each at the same time, something impossible with a traditional line chart. Candlesticks are also cleaner than bars charts and make a more efficient use of space. Japanese peoples are always better than everyone at an incredible amount of stuff, look at what they made, the candlesticks/renko/kagi/heikin-ashi charts, the Ichimoku, manga, ecchi...
However classical candlesticks only include historical market price data, and won't include other type of data such as volume, which is considered by many investors a key information toward effective financial forecasting as volume is an indicator of trading activity. In order to tackle to this problem solutions where proposed, the most common one being to adapt the width of the candle based on the amount of volume, this method is the most commonly accepted one when it comes to visualizing both volume and OHLC data using candlesticks.
Now why proposing an additional tool for volume data visualization ? Because the classical width approach don't provide usable data regarding volume (as the width is directly related to the volume data). Therefore a new trading tool based on candlesticks that allow the trader to gain access to information about the volume is proposed. The approach is based on rescaling the volume directly to the price without the direct use of user settings. We will also see that this tool allow to create support and resistances as well as providing signals based on a breakout methodology.
Dekidaka-Ashi - Kakatte Koi Yo!
"Dekidaka" (出来高) mean "Volume" in a financial context, while "Ashi" (足) mean "leg" or "bar". In general methods based on candlesticks will have "Ashi" in their name.
Now that the name of the indicator has been explained lets see how it works, the indicator should be overlayed directly to a candlestick chart. The proposed method don't alter the shape of the candlesticks and allow to visualize any information given by the candles. As you can see on the figure below the candle body of the proposed tool only return the border of the candle, this allow to show the high/low wick of the candle.
The body size of the candle is based on two things : the absolute close/open difference, and the volume, if the absolute close/open difference is high and the volume is high then the body of the candle will be clearly visible, if the volume is high but the absolute close/open difference is low, then the body will be less visible. This approach is used because of the rescaling method used, the volume is divided by the sum between the current volume value and the precedent volume value, this rescale the volume in a (0,1) range, this result is multiplied by the absolute close/open difference and added/subtracted to the high/low price. The original approach was based on normalization using the rolling maximum, but this approach would have led to repainting.
You have access to certain settings that can help you obtain a better visualization, the first one being the body size setting, with higher values increasing the body amplitude.
In green body with size 2, in red with size 1. The smooth parameter will smooth the volume data before being used, this allow to create more visible bodies.
Here smooth = 100.
Making Bands From The Dekidaka-Ashi
This tool is made so it output two rescaled volume values, with the highest value being denoted as "Dekidaka-high" and the lowest one as "Dekidaka-low". In order to get bands we must use two moving averages, one using the Dekidaka-high as input and the other one using Dekidaka-low, the body size parameter should be fairly high, therefore i will hide the tool as it could cause trouble visualizing the bands.
Bands with both MA's of period 20 and the body size equal to 20. Larger periods of the MA's will require a larger amount of body size.
Breakout Signals
There is a wide variety of signals that can be made from candles, ones i personally like comes from the HA candles. The proposed tool is no exception and can produce a wide variety of signals. The signals generated are basic ones based on a breakout methodology, here is each signal with their associated label :
Strong Bullish signal "⇈" : The high price cross the Dekidaka-high and the closing price is greater than the opening price
Strong Bearish signal "⇊" : The low price cross the Dekidaka-low and the closing price is lower than the opening price
Weak Bullish signal "↑" : The high price cross the Dekidaka-high and the closing price is lower than the opening price
Weak Bearish signal "↓" : The low price cross the Dekidaka-low and the closing price is greater than the opening price
Uncertain "↕" : The high price cross the Dekidaka-high and the low price cross the the Dekidaka-low
In order to see the signals on the chart check the "Show signals" option. Note that such signals are not based on an advanced study, and even if they are based on a breakout methodology we can see that volatile movement rarely produce signals, therefore signals mostly occur during low volume/volatility periods, which isn't necessarily a great thing.
Conclusion
A trading tool based on candlesticks that aim to include volume information has been presented and a brief methodology has been introduced. A study of the signals generated is required, however i'am not confident at all on their accuracy, i could work on that in the future. We have also seen how to make bands from the tool.
Candlesticks remain a beautiful charting technique that can provide an enormous amount of information to the trader, and even if the accuracy of patterns based on candlesticks is subject to debates, we can all agree that candlesticks will remain the most widely used type of financial chart.
On a side note i mostly use a dark color for a bullish candle, and a light gray for a bearish candle, with the border color being of the same color as the bullish candle. This is in my opinion the best setup for a candlestick chart, as candles using the traditional green/red can kill the eyes and because this setup allow to apply a wide variety of colors to the plot of overlayed indicators without the fear of causing conflict with the candles color.
Thanks for reading ! :3 Nya
A Word
This morning i received some hateful messages on twitter, the users behind them certainly coming from tradingview, so lets be clear, i know i'am not the most liked person in this community, i know that perfectly, but no one merit to be receive hateful messages. I'am not responsible for the losses of peoples using my indicators, nor is tradingview, using technical indicators does not guarantee long term returns, your ability to be profitable will mostly be based on the quality and quantity of knowledge you have.
BO - Bar's direction Signal - BacktestingBO - Bar's direction Signal - Backtesting Options:
A. Factors Calculate probability of x bars same direction
1. Periods Counting: Data to count From day/month/year To day/month/year
2. Trading Time: only cases occurred in trading time were counted.
B. Timezone
1. Trading time depend on Time zone and specified chart.
2. Enable Highlight Trading Time to check your period time is correct
C. Date Backtesting
* Only cases occurred in Date Backtesting were reported.
D. Setup Options & Rule
1. Reversal after 2 bars same direction
* Probability of 3 bars same direction < 50
* 2 bars same direction is start of series
2. Reversal after 3 bars same direction
* Probability of 4 bars same direction < 50
* 3 bars same direction is start of series
3. Reversal after 4 bars same direction
* Probability of 4 bars same direction < 50
* 3 bars same direction is start of series
4. Reversal after 5 bars same direction
* Probability of 5 bars same direction < 50
* 4 bars same direction is start of series
5. Reversal after 6 bars same direction
* Probability of 6 bars same direction < 50
* 5 bars same direction is start of series
QQE signalsConverted the QQE oscillator to in-chart long and short signals with built in alerts. This is multi-timeframe and quite robust.
BO - Bar M15 2/3 SignalBO - Bar M15 2/3 Signal show the signal to trade Binary Option with rule below:
A. Indicator
* Bollinger Band (20,2): avoid waterfall
B. Rule of Signal
1. Rule1: Split Bar M15 to 3 part and load them on M5 chart (recommend use M5 IDC chart)
2. Rule 2: Delay 10' after bar M15 open => wait for price's pattern
3. Rule 3: Put Signal row 30-32
* Delay 10' after bar M15 open.
* Direction of 1/3 and 2/3 Bar M15 is upward
* close of 2/3 Bar M15 below upper band Bb(20,2) on M5 chart => avoid strong buy
4. Rule 4: Call Signal row 36-38
* Delay 10' after bar M15 open.
* Direction of 1/3 and 2/3 Bar M15 is downward
* close of 2/3 Bar M15 above lower band Bb(20,2) on M5 chart => avoid strong sell
C. Recommend Expiry time: Bar M15 close
* We try to catch the shadow of Bar M15 but dont trade when price run on the upper or lower band of BB(20,2,M5)
BO - Bar M15 Signal* This script show the signal base on volatility of previous bar M15 to trade Binary Option.
* Rule of Signal is below:
A. Rule 1: Wait for prices created temporary peak and bottom
Row 18: 10 minutes till close
B. Rule 2: Reversal previous bar's direction
1. Put Signal - Row 22 - 25:
- Delay 5' after bar M15 open
- previous bar's direction is upward
- price less than previous close
- temporary bottom greater than previous open
2. Call Signal - Row 29 - 32:
- Delay 5' after bar M15 open
- previous bar's direction is downward
- price greater than previous close
- temporary peak less than previous open
C. Rule 3: Follow previous bar's direction
1. Put Signal - Row 37 - 40:
- Delay 5' after bar M15 open
- previous bar's direction is downward
- price greater than previous open
- temporary peak less than previous peak
2. Call Signal - Row 43 - 46:
- Delay 5' after bar M15 open
- previous bar's direction is upward
- price less than previous open
- temporary bottom greater than previous bottom
Minkovski Distance Period DVOGThis script was created by building my Dependent Variable Odd Generator script on the Minkovski Distance Adaptive Period.
I have tried this on MACD before.
Script related to MACD :
I used an older version that does not use Dow Factor to suit multi timeframe analysis.
In this way, market situations provide the opportunity to see histograms in an adaptive period as a Multi Timeframe.
Minkowski Distance Function Original Script by RicardoSantos :
Regards.
Multi RSI + Signal OB/OSSignal of Overbought and Oversold based on 4x interval of RSI and Momentum. You can change interval and source
Simple Reversal PointThis indicator finds possible points of reversion, you can use it to stack positions and get a good average price for when the price changes direction, it is the trader responsibility to manage the position and make a profit.
-Added alerts
Crack XThis indicator looks for cracks (de-correlation of 2 indicators), what you have to do is simple, first look at the trend in a higher frame, there are many indicators for this, then look for cracks as wide as possible (you can configure the size in the configuration) and that they are not close to important supports / resistances. This indicator can be very useful for Swing, Coverages, to increase existing positions.The confirmation of the crack occurs when the black lines cross + bar closure.
- Added Alerts
Premium Stochastic OscillatorThe PSO is a rewired version of a short-period stochastic. Unlike a standard stochastic oscillator, this indicator is normalized to register neutral values at zero while providing greater sensitivity to short-term price moves. This indicator uses a central zero line as a reference point and will oscillate above and below this point as price fluctuates. In addition, the PSO is smoothed by using a double exponential moving average to provide a more even response to turns in the market.
(from TASC magazine, August 2008 issue).
The Premium Stochastic Oscillator was introduced by technical analyst Lee Leibfarth.
BO - KBSignalBO - KBSignal show Put or Call Signal inoder to trade Binary Option.
A. Indicators
1. Keltner Channel %K (indicator was published in my scripts)
2. OBV's %B (indicator was published in my scripts)
B. Rule of Signal
1. Rule 1: No Signal
- %K is the highest of 3 periods => Possible a Pivot High
- %K is the lowest of 3 periods => Possible a Pivot Low
- Previous %K is greater than or equal 0.8 => Touch Resistance Zone
- Previous %K is less than or equal 0.2 => Touch Support zone
2. Rule 2: Sell and Buy Zone depend on 2 Indicators mentioned in A
- Sell zone = %K<0.45 and Obv's %B <0.45
- Buy zone = %K>0.55 and Obv's %B >0.55
3. Rule 3: Put and Call Signal
- Put Signal = Sell zone and not No Signal
- Call Signal = Buy zone and not No Signal
C. Alert
1. Signal alert = Put Signal or Call Signal alert
2. Put alert = Put Signal alert
3. call alert = Call Signal alert
Moving Averages CrossThis Indicator helps you spot crosses between moving averages.
Thought to combine short term and long term strategies.
A complementary element for your trading tool belt.
The First study (short term):
Helps you visualise the relation between two simple moving averages (9,21) by default.
The Second study (long term):
Helps you identify the relation between three simple moving averages (50,100, 200) by default.
Spot Golden Crosses and Death Crosses from far.