[blackcat] L1 Stochastic J Price Action OscillatorLevel: 1
Background
The KDJ oscillator display consists of 3 lines (K, D and J - hence the name of the display) and 2 levels. K and D are the same lines you see when using the stochastic oscillator. The J line in turn represents the deviation of the D value from the K value. The convergence of these lines indicates new trading opportunities. Just like the Stochastic Oscillator, oversold and overbought levels correspond to the times when the trend is likely to reverse.
Function
L1 Stochastic J Price Action Oscillator with Long Strength Indicator use stochastic KDJ signal as input source and it combines with price action algorithm to form a brand-new oscillator which have less noise signal with a long signal strength indicator so as to alleviate inherent KDJ saturation issue.
Key Signal
cond --> buy signal condition from KDJ j value deduction
fastline --> fast line of new oscillator
slowline --> slow line of new oscillator
Pros and Cons
Pros:
1. it takes over KDJ's advantages
2. it can greatly reduce KDJ saturation issue
Cons:
1. no short entry signal is derived.
2. only long signal strength indicator is disclosed
Remarks
An improved version of KDJ with less satration observed.
Readme
In real life, I am a prolific inventor. I have successfully applied for more than 60 international and regional patents in the past 12 years. But in the past two years or so, I have tried to transfer my creativity to the development of trading strategies. Tradingview is the ideal platform for me. I am selecting and contributing some of the hundreds of scripts to publish in Tradingview community. Welcome everyone to interact with me to discuss these interesting pine scripts.
The scripts posted are categorized into 5 levels according to my efforts or manhours put into these works.
Level 1 : interesting script snippets or distinctive improvement from classic indicators or strategy. Level 1 scripts can usually appear in more complex indicators as a function module or element.
Level 2 : composite indicator/strategy. By selecting or combining several independent or dependent functions or sub indicators in proper way, the composite script exhibits a resonance phenomenon which can filter out noise or fake trading signal to enhance trading confidence level.
Level 3 : comprehensive indicator/strategy. They are simple trading systems based on my strategies. They are commonly containing several or all of entry signal, close signal, stop loss, take profit, re-entry, risk management, and position sizing techniques. Even some interesting fundamental and mass psychological aspects are incorporated.
Level 4 : script snippets or functions that do not disclose source code. Interesting element that can reveal market laws and work as raw material for indicators and strategies. If you find Level 1~2 scripts are helpful, Level 4 is a private version that took me far more efforts to develop.
Level 5 : indicator/strategy that do not disclose source code. private version of Level 3 script with my accumulated script processing skills or a large number of custom functions. I had a private function library built in past two years. Level 5 scripts use many of them to achieve private trading strategy.
Priceaction
DePriExchange weighted price for cryptocurrencies
DECENTRALIZED PRICE CHART FOR DECENTRALIZED WORLD
See non-manipulated , globally price action that comes from whole liquidity!
The main idea behind this script is that...
The value of each trading pair finally determined globally and the price displayed in exchanges is its own and not global! differences between exchanges, reduced to near zero gradually by market makers and arbitrages, so..
Every min tick price changes Must be backed by liquidity to be part of the global fluctuations
more liquidity gives it more credibility
more credibility give it more weight
..Against opposing movements.
This script can collect price of crypto pairs from 12 exchanges that listed on TV and have effective volume.
In the first step, summarizes the volume of all exchanges and creates the total volume
In the next step, divide each exchange volume to total volume to obtain relative weight of each exchange.
In the final step, multiply each exchange price to weight of itself and summarizes these numbers .. now, we have Exchange weighted price!
The results on high liquidity pairs like BTCUSDT, ETHUSDT, is not much differ then simple chart but when you apply it on lower liquidity, lower time frames of altcoins, you realize its benefits and usefulness. Altcoins chart in composite and simple mode is very differ, I hope you enjoy from TRUE CHART.
With this, also you can..
Filter and smooth candlestick chart with SMA or EMA
Plot a line chart of pair at your desired frame separate from the main chart for monitor important price levels
Get realtime report of whole volume of pair on included exchanges
Get realtime report of each exchange weight and share
Note.1:
some of pairs queted on more than one like BTCUSD, BTCUSDT, BTCUSDC and etc. In this pairs we choose the one that usually has more volume on that exchange.
Note.2:
At this time, supported queted currencies are BTC, ETH, USD, USDT, BUSD, USDC, USDK.
Note.3:
This script is relatively heavy! This is not cuz of bad coding.
Each bar compution contains at least one plot and some of security calls, so 10 to 15 seconds is normal load time.
Note.4:
You can combine this with your price action base scripts and use balanced OHLCV. The necessary explanations about this are available in the code.
Note.5:
You must only include exchanges that support your ticker, Otherwise you will receive an error.
I hope it comes useful to you.
Angle & Price FlowThis is a simple end of the day indicator based on open and close values.
Angles:
Identifying narrow angles helps to find breakouts
Maximum angle = High chance of reversal
Minimum angle = Chance of breakouts on the next day or upcoming days.
Price Flow:
I personally use price flow to simplify the flow of candlestick chart and to identify breakouts using rounding bottoms and rounding top patterns, sharp corners for reversals.
Features:
Multi time frame
Labels
Hide previous period
Combine it with other indicators for better result.
Angle & Price FlowThis is a simple end of the day indicator based on open and close values.
Angles:
Identifying narrow angles helps to find breakouts
Maximum angle = High chance of reversal
Minimum angle = Chance of breakouts on the next day or upcoming days.
Price Flow:
I personally use price flow to simplify the flow of candlestick chart and to identify breakouts using rounding bottoms and rounding top patterns, sharp corners for reversals.
Features:
Multi time frame
Labels
Hide previous period
Combine it with other indicators for better result.
Price breaksThis indicator displays the High/Low/Close of the previous day/week/month as horizontal lines. Of course, everything is configurable but to keep it simple and non-intrusive it only displays:
month's H/L/C levels on D time frame (drawn as circles)
week's levels on 4h (as crosses)
day's levels on 1h (as line)
These levels act as support / resistance over and over again, see current (08/24/2020) BTCUSD chart, the previous month's close (blue circles) did act as support and held on 08/11, also prev month's high (red circles) was not broken on 08/21. Once these levels break we might see lower prices but so far both of them act as good support to consider.
Two Fractals TrendlinesThis study draws a trend line for the last two Bill Williams up-fractals and down-fractals.
Trend line break signals and alerts can optionally be added.
ADL Price RatioThis script measures percentage of ADL movement relative and difference to Stock Price movement, in a core this measure reflects "how in-the-market (ADL) volume moves Stock Price".
The higher green line, the easier prices moves higher, the smaller black line (ADL - Price difference) the more price reflects volume movements (e.g. ADL up -> Stock Price up same amount)
DAYgives a colored Bar to each Day of the week - visible on daily and lower timeframes -> you can spot the price action of specific days easier
ApopheniaPays Crossing detector & 2-field date/time entryYou specify a horizontal line by value, start date/time, and end date/time, and choose a data source (bar close is the default) and it will label count how many times that source crosses that line between those dates/times.
Enter the start and end dates for your horizontal line as MMDDYY and HHMM (24 hour time).
: Jan 17, 2020 would be 11720 (properly it would be 011720, but Pine inputs delete leading 0s).
: November 17, 2020 would be 110720.
: 8:30 AM would be 0830.
: 8:30 PM would be 2030.
Remember to enter the right time zone.
I believe nobody else has published a 2-input date/time picker on TV, at least the last time I checked they hadn't, they all make you input M,D,Y,H,M as separate fields. Ugh!
If you use any parts of this code, please credit me. If somehow you happen to make a lot of money using this code, please think about what a fair share would be to pay me for my help, then give that amount to a worthwhile charity.
Price Change Rate by Pivot Points - DynamicHi Everyone
Usually I need Price Change info and I believe most of you need this info too. I want to see how it increased/decreased. I automate this by using Pivot Points.
it works dynamically and it uses Pivot Highs and Pivot Lows accordingly. That means it calculates which one to use.
Please watch following video:
Enjoy!
Base FinderIt will mark candle as base if body of the candle is less than or equal to 50% of the range.
Breakout Volume Can Help Confirm Other SignalsVolume can help confirm signals we might discover using other methods of technical analysis.
This indicator tracks volume intelligently. Its logic spots above-average turnover and then tests against the price change. BrkVol highlights sessions with heavy volume and directional moves. This can help take out the noise and help confirm the trend.
Tesla is a classic example of this, with the stock rallying after showing heavy-volume gains on October 24- 25, December 16 and January 8.
ConditionZeroThis study is a proof of concept analysis of situations that can lead to divide with zero or divide by zero conditions. Such situations can lead to mathematical errors, and can increase the potential for false alerts.
One common formula that is prone to this situation is:
pct=(high-close)/(high-low)
This is used to calculate percentage change of a candlestick.
Common outcomes are 0/0, 0/x, x/0, where x is a non zero value.
Visualizing this situation allows for more robust script development and deployment.
There are no user configurations.
Long Tail Candle by Oliver VelezThis script detects an event created by Oliver Velez, it is a wide-range candle with a small body and a long tail (hammer-type candle), its range is noticeably larger than previous candles, as a rule it can be taken that the body should be maximum of 30% of the total range of the candle with a long tail. The stop goes under the tail and the signal is given when the next candle followed by the long tail candle exceeds its body, do not program this condition so that the alert indicates that a long tail candle was generated and the trader has some Time to visualize the graph and wait for the signal.
The default configuration is very basic, each trader must adjust to their needs.
- Trend filters can be activated.
- Alerts available.
Thumbs up
Adaptive RSI by PuzzleAdaptive RSI
RSI with a twist. The values are calculated differently depending upon whether the RSI is above or below the centre point. I have found this gives:
More pronounced divergences which are easier to spot and more accurate at predicting local top and bottoms
More accurate indications of overbought/oversold conditions.
Candle Information Panel//This indicator shows Day's candle measurements with past averages. First column shows the candle details for the present day.
//"Open - Low", "High - Open", "Range(=High-low)", "Body(open-close)"
//Averages are calculated for occurences of Green and Red days. Up Averages are for Green days and Down Averages are for Red days.
//Average are not perfect calculations since occurences(of Red or Green) will vary within the timespan used for averages.
//This can used to guage general sense of probability of the price movement.
//e.g. if the Open to Low for a day exceeds UpAv value, then there is higher likelihood of day being Red.
//similarly, trade can be held in expectation of price reaching the DnAv and stop loss can be trailed accordingly.
//Not a perfect system. But something to work on further to increase price action understanding.
//Be careful on days where consecutive 3rd Highest High or Lowest Low day is made and also on the next day after such day. Prices may turn direction at least for a short while.
Complete Credit goes to @pinecoders who gave me the main script on tradingview chat room.
TimeFrame Slicer - JDThis script "slices up' the price action in hourly, daily, weekly,... slices
to give a view of the sentiment and price action or volume during the selected period.
Different time periods can be selected.
There is a choice to display the information in:
- normal candlesticks
- heikin ashi candles
- volume candles
JD.
#NotTradingAdvice #DYOR
Disclaimer.
I AM NOT A FINANCIAL ADVISOR.
THESE IDEAS ARE NOT ADVICE AND ARE FOR EDUCATION PURPOSES ONLY.
ALWAYS DO YOUR OWN RESEARCH!
Climatic Volume X- Climate volume detection
- Relative volume value in bar
- Automatic zone generation (possibility of configuration)
- Additional features
¡¡¡Thumbs up¡¡¡
Red and Green Ignored Bar by Oliver VelezOn this occasion I present a script that detects Ignored Red Candles and Ignored Green Candles, basically it is a Price Action event that indicates a possible continuation of the current trend and gives the opportunity to climb it with a Very tight risk, before delving into detail I would like to leave this note:
Note: the detection of this event does not guarantee that the signal will be good, the trader must have the ability to determine its quality based on aspects such as trend, maturity, support / resistance levels, expansion / contraction of the market, risk / benefit, etc, if you do not have knowledge about this you should not use this indicator since using it without a robust trading plan and experience could cause you to partially or totally lose your money, if this is your case you should train before If you try to extract money from the market, this script was created to be another tool in your trading plan in order to configure the rules at your discretion, execute them consistently and have AUTOMATIC ALERTS when the event occurs, which is where I find more value because you can have many instruments waiting for the event to be generated, in the time frame you want and without having to observe the mer When the alert is generated, the Trader should evaluate the quality of the alert and define whether or not to execute it (higher timeframes, they can give you more time to execute the operation correctly).
Let's continue….
This event was created by Oliver Velez recognized trader / mentor of price action, the event has a very interesting particularity since it allows to take a position with a very limited risk in trend movements, this achieves favorable operations of good ratio and small losses when taking An adjusted risk, if the trade works, a good ratio is quickly achieved and we agree with a key point in the “Keep small losses and big profits” trading, this makes it easier to have a positive mathematical hope when your level of Success is not very high, so leave you in the field of profitability.
THE EVENT:
The event has a bullish configuration (Ignored Red Candle) and a bearish configuration (Ignored Green Candle), below I detail the “Hard” rules (later I explain why “Hard”):
1- Last 3 bars have to be GREEN-RED-GREEN (possible bullish configuration) or RED-GREEN-RED (possible bearish configuration), the first bar is called Control Bar, the second is called Ignored Bar and the third Signal Bar as shown in the following image:
2- Be in a trend determined by simple moving averages (Slow of 20 periods and Fast of 8 periods), as a general rule you can take the direction of MA20 but the Trader has to determine if there is a trend movement or not.
3- Control bar of good range, little tail and with a body greater than 55%.
4- Ignored bar preferably narrow range, little tail and that is located in the upper 1/3 of the control bar.
5- Signal bar cannot override the minimum of the ignored bar.
6- Activation / Confirmation of event by means of signal bar in overcoming the body of the ignored bar.
Some examples of ignored bars (with “Hard” and “Flexible” rules):
Features and configuration of the indicator:
To access the indicator settings, press the wheel next to the indicator name VVI_VRI "Configuration options".
- Operation mode (Filtering Type):
• Filtering Complete: all filters activated according to the configuration below.
• Without Filtering: all filters deactivated, all VRI / VVI are displayed without any selection criteria.
• Trend Filter only: shows only VRI / VVI that are in accordance with what is set in “Trend Settings”
- Configuration Moving Averages:
• See Slow Media: slow moving average display with direction detection and color change.
• See Fast Media: display of fast moving average with direction detection and color change.
• Type: possibility to choose the type of media: DEMA, EMA, HullMA, SMA, SSMA, SSMA, TEMA, TMA, VWMA, WMA, ZEMA)
• Period: number of previous bars.
• Source: possibility to choose the type of source, open, close, high, low, hl2 hlc3, ohlc4.
• Reaction: this configuration affects the color change before a change of direction, 1 being an immediate reaction and higher values, a more delayed reaction obtaining les false "changes of direction", a value of 3 filters the direction quite well.
- Trend Configuration
• Uptrend Condition P / VRI: possibility to select any of these conditions:
o Bullish MA direction
o Quick bullish MA direction
o Slow and fast bullish MA direction
o Price higher than slow MA
o Price higher than fast MA
o Price higher than slow and fast MA
o Price higher than slow MA and bullish direction
o Price higher than fast MA and bullish direction
o Price higher than slow, fast MA and bullish direction
o No condition
• Condition P / VVI bear trend: possibility of selecting any of these conditions:
o Slow bearish MA direction
o Fast bearish MA direction
o Slow and fast bearish MA direction
o Price less than slow MA
o Price less than fast MA
o Price less than slow and fast MA
o Price lower than slow MA and bearish direction
o Price less than fast MA and bearish direction
o Price less than slow, fast MA and bearish direction
o No condition
- Control bar configuration
• Minimum body percentage%: possibility to select what body percentage the bar must have.
• Paint control bar: when selected, paint the control bar.
• See control bar label: when selected, a label with the legend BC is plotted.
- Configuration bar ignored
• Above X% of the control bar: possibility to select above what percentage of the control bar the ignored bar must be located.
• Paint ignored bar: when selected, paint the ignored bar.
- Signal bar configuration
• You cannot override the minimum of the ignored bar: when selected, the condition is added that the signal bar cannot override the minimum of the ignored bar.
• Paint signal bar: when selected, paint the signal bar.
• See arrow: when selected it shows the direction arrow of the possible movement.
• See bear and arrow: when selected it shows bear and arrow label
• See bull and arrow: when selected it shows bull and arrow label
The following image shows the ignored bar and painted signal:
- Take profit / loss
The profit / loss taking varies depending on the trader and its risk / monetary plan, the proposal is a recommendation based on the nature of the event that is to have a small risk unit (stop below the minimum of the ignored bar), look for objectives in ratios greater than 2: 1 and eliminate the risk in 1: 1 by taking the stop to BE, all parameters are configurable and are the following:
• See recommended stop loss and take profit: trace the levels of Stop, BE, TP1 and TP2, as well as their prices to know them quickly based on the assumed risk
• To: select which event you want to draw the SL and TP (VRI, VVI)
• Extend stop loss line x bars: allows extending the stop line by x number of bars
• Extend take profit line x bars: allows extending the stop line by x number of bars
• Ratio to move to break even: allows you to select the minimum ratio to move stop to break even (default 1: 1)
• Take profit 1 ratio: allows you to select the ratio for take profit 1 (default 2: 1)
• Take profit 2 ratio: allows you to select the ratio for take profit 2 (default 4: 1)
- Alerts
• It is possible to configure the following alerts:
-VRI DETECTED
-VVI DETECTED
-VRI / VVI DETECTED
Final Notes:
- The term hard rules refers to the fact that an event is sought with the rules detailed above to obtain a high quality event but this brings 2 situations to consider, less
number of events and events that are generated in a strong impulse may be leaked, a very large control bar followed by an ignored narrow body away from moving averages, despite having a good chance of continuing, taking a stop very tight in a strong impulse you can touch it by the simple fact of the own volatility at that time.
- The setting of the parameters “Minimum body percentage% (control bar)”, “Above x% of the control bar (bar ignored)” and “Cannot override the minimum of the ignored bar” can bring large Benefits in terms of number of events and that can also be of high quality, feel free to find the best configuration for your instrument to operate.
- It is recommended to look for trending events, near moving averages and at an early stage of it.
- The display of several nearby VRIs or VVIs in an advanced trend may indicate a depletion of it.
- The alerts can be worked in 2 ways: at the closing of the candle (confirms event but the risk unit may be larger or smaller) or immediately the body of the ignored bar is exceeded, in case you are operating from the mobile and miss many events because of the short time I recommend that you operate in a superior time frame to have more time.
- The indicator is configured with “flexible” rules to have more events, but without any important criteria, each trader has to look for the best configuration that suits his instrument.
- It is recommended to partially close the operation based on the ratio and always keep a part of the position to apply manual trailing stop and try to maximize profits.
The code is open feel free to use and modify it, a mention in credits is appreciated.
If you liked this SCRIPT THUMB UP!
Greetings to all, I wish you much green!
Elephant Bar by Oliver VelezThis script detects an event created by Oliver Velez, basically it is a wide-range candle, its range is noticeably larger than the previous candles, this event indicates a possible continuation of the movement, or the beginning of an extended movement. The candle has to be of good body, as a rule it can be taken that the body must be more than 70%. The stop goes below the minimum of the candle and the signal is given when the next candle followed by the elephant candle exceeds its body, this condition is not programmed so that the alert indicates that an elephant candle was generated and the trader has some time to visualize the graph and wait for the signal. Example below:
NOTE: IT IS VERY IMPORTANT THAT THE TRADER ANALYZE THE CONTEXT OF THE MARKET WHERE THE ELEPHANT BAR IS GENERATED AND DETERMINE ACCORDING TO ITS EXPERIENCE IF THE EVENT HAS A GOOD PROBABILITY OF PROJECTION, YOU MUST NOT TAKE AN ENTRY ONLY BY THIS EVENT, IF YOU DO YOU WILL LOSE ALL YOUR MONEY
.
One of the problems of the elephant bar is that it generates a fairly wide risk unit with respect to other narrow range events, so the risk / benefit ratio is not very large, but it is an event that deserves attention when it occurs in a good location since it generally generates continuation.
If you want to have a lower risk unit and improve the risk / benefit ratio, you can play the “Gift Zone”, when detecting an elephant bar you can wait for a step back inside the elephant bar area and take a position, this will give you a less distance to the stop, but this can lead to the event escaping if there is no recoil.
- The size of the candle is determined by comparing a range of previous candles (you can set the amount at your discretion)
- Search factor: by default 1.3, this means that all bars that have a range greater than the average range of previous candles + 30%, are considered elephant candles (can be configured at your discretion)
- Possibility to configure the percentage of the body that the elephant candle must have.
- Possibility of filtering up to 2 means with direction detection and color change (fully configurable)
- Possibility of filtering by mobile averages
- Alerts
- Additional features
Thumb up if you liked me ..
Mean Reversion Strategy by KrisWatersThis is a type of mean reversion strategy. It only generates long signals when the price is far away from the mean. It tries buy from the dip. Use it with BTC/USDT pair on 4 hour timeframe.
Bull Bear 180 by Oliver VelezThis script detects an event created by Oliver Velez is called Bull / Bear 180, in the following images the event is detailed:
- The size of the control bar can be set compared to a number of previous bars
- The minimum % of the control bar body can be set
- You can filter by trend
- Possibility of seeing fast and slow media with direction detection and color change
- Various graphic settings
- Event alerts
To enjoy!
A thumbs up if you like me!
The Fantastic Four of Oliver VelezThis script graphics the "fantastic 4" area, was created by oliver velez and is used in the opening of the american stock market, determined by:
1- ma200 at the closure of the previous day
2- ma20 at the closure of the previous day
3- price of previous day closure
4- activity of the last 30/60 min prior to the closure of the previous day (search the maximum and minimum)
Basically it is a very important support / resistance area the first hour from the opening, the trap area is an area in which it should be avoided to operate if the price opens within the same. In advance of being used as a support / resistance area if the price opens above the 4f is looking for longer opportunities (many more aspects should be evaluated) and if it is below.
Configuration:
- possibility to modify the amount of minutes of the activity of the previous day.
- possibility of hidding the "trap area" label.
- possibility of hidding the "change to temporary frame of 2 min" label.
Note: the temporary framework used is the 2 min, in the event of being in another temporary framework the indicator will not work and will be alerted with a label