Three Stars In The South ScannerAn extremely rare candlestick pattern, that's supposed to be bullish when occurring at the end of a downtrend. Personally, I've only managed to detect partial patterns with candles three and two. After adding the first candle, which is basically a Marubozu, the pattern is impossible to find. This was a request from one of my followers however, so you guys are free to examine the code and go treasure hunting!
I followed the rules from investopedia the best I could, whilst being as lenient as possible - and yet, still no detection. Super rare pattern guys.
Analisis Candlestick
8020 Momentum and Pin CandleWe know the 80-20 Rule works very well in real life. It works well in technical analysis and price action as well.
This script identifies strong or momentum candles applying the rule body should be 80% or more of the range This is 80% body and 20% shadow.
Then there are pin candles where there is a 80% shadow and open and close is in one extreme and body is 20% or less.
If we can trade these 8020 candles effectively our trading will improve dramatically.
Use Momentum Candles for entry, stop loss, watching follow through etc
Use Pin Candles to look for reversals.
Works best in direction of trend.
In bullish market, green momentum candles are more powerful and pin candles after retracement is more powerful and vice versa.
Bitcoin Block Height (Total Blocks)Bitcoin Block Height by RagingRocketBull 2020
Version 1.0
Differences between versions are listed below:
ver 1.0: compare QUANDL Difficulty vs Blockchain Difficulty sources, get total error estimate
ver 2.0: compare QUANDL Hash Rate vs Blockchain Hash Rate sources, get total error estimate
ver 3.0: Total Blocks estimate using different methods
--------------------------------
This indicator estimates Bitcoin Block Height (Total Blocks) using Difficulty and Hash Rate in the most accurate way possible, since
QUANDL doesn't provide a direct source for Bitcoin Block Height (neither QUANDL:BCHAIN, nor QUANDL:BITCOINWATCH/MINING).
Bitcoin Block Height can be used in other calculations, for instance, to estimate the next date of Bitcoin Halving.
Using this indicator I demonstrate:
- that QUANDL data is not accurate and differ from Blockchain source data (industry standard), but still can be used in calculations
- how to plot a series of data points from an external csv source and compare it with another source
- how to accurately estimate Bitcoin Block Height
Features:
- compare QUANDL Difficulty source (EOD, D1) with external Blockchain Difficulty csv source (EOD, D1, embedded)
- show/hide Quandl/Blockchain Difficulty curves
- show/hide Blockchain Difficulty candles
- show/hide differences (aqua vertical lines)
- show/hide time gaps (green vertical lines)
- count source differences within data range only or for the whole history
- multiply both sources by alpha to match before comparing
- floor/round both matched sources when comparing
- Blockchain Difficulty offset to align sequences, bars > 0
- count time gaps and missing bars (as result of time gaps)
WARNING:
- This indicator hits the max 1000 vars limit, adding more plots/vars/data points is not possible
- Both QUANDL/Blockchain provide daily EOD data and must be plotted on a daily D1 chart otherwise results will be incorrect
- current chart must not have any time gaps inside the range (time gaps outside the range don't affect the calculation). Time gaps check is provided.
Otherwise hardcoded Blockchain series will be shifted forward on gaps and the whole sequence become truncated at the end => data comparison/total blocks estimate will be incorrect
Examples of valid charts that can run this indicator: COINBASE:BTCUSD,D1 (has 8 time gaps, 34 missing bars outside the range), QUANDL:BCHAIN/DIFF,D1 (has no gaps)
Usage:
- Description of output plot values from left to right:
- c_shifted - 4x blockchain plotcandles ohlc, green/black (default na)
- diff - QUANDL Difficulty
- c_shifted - Blockchain Difficulty with offset
- QUANDL Difficulty multiplied by alpha and rounded
- Blockchain Difficulty multiplied by alpha and rounded
- is_different, bool - cur bar's source values are different (1) or not (0)
- count, number of differences
- bars, total number of bars/data points in the range
- QUANDL daily blocks
- Blockchain daily blocks
- QUANDL total blocks
- Blockchain total blocks
- total_error - difference between total_blocks estimated using both sources as of cur bar, blocks
- number_of_gaps - number of time gaps on a chart
- missing_bars - number of missing bars as result of time gaps on a chart
- Color coding:
- Blue - QUANDL data
- Red - Blockchain data
- Black - Is Different
- Aqua - number of differences
- Green - number of time gaps
- by default the indicator will show lots of vertical aqua lines, 138 differences, 928 bars, total error -370 blocks
- to compare the best match of the 2 sources shift Blockchain source 1 bar into the future by setting Blockchain Difficulty offset = 1, leave alpha = 0.01 =>
this results in no vertical aqua lines, 0 differences, total_error = 0 blocks
if you move the mouse inside the range some bars will show total_error = 1 blocks => total_error <= 1 blocks
- now uncheck Round Difficulty Values flag => some filled aqua areas, 218 differences.
- now set alpha = 1 (use raw source values) instead of 0.01 => lots of filled aqua areas, 871 differences.
although there are many differences this still doesn't affect the total_blocks estimate provided Difficulty offset = 1
Methodology:
To estimate Bitcoin Block Height we need 3 steps, each step has its own version:
- Step 1: Compare QUANDL Difficulty vs Blockchain Difficulty sources and estimate error based on differences
- Step 2: Compare QUANDL Hash Rate vs Blockchain Hash Rate sources and estimate error based on differences
- Step 3: Estimate Bitcoin Block Height (Total Blocks) using different methods in the most accurate way possible
QUANDL doesn't provide block time data, but we can calculate it using the Hash Rate approximation formula:
estimated Hash rate/sec H = 2^32 * D / T, where D - Difficulty, T - block time, sec
1. block time (T) can be derived from the formula, since we already know Difficulty (D) and Hash Rate (H) from QUANDL
2. using block time (T) we can estimate daily blocks as daily time / block time
3. block height (total blocks) = cumulative sum of daily blocks of all bars on the chart (that's why having no gaps is important)
Notes:
- This code uses Pinescript v3 compatibility framework
- hash rate is in THash/s, although QUANDL falsely states in description GHash/s! THash = 1000 GHash
- you can't read files, can only embed/hardcode raw data in script
- both QUANDL and Blockchain sources have no gaps
- QUANDL and Blockchain series are different in the following ways:
- all QUANDL data is already shifted 1 bar into the future, i.e. prev day's value is shown as cur day's value => Blockchain data must be shifted 1 bar forward to match
- all QUANDL diff data > 1 bn (10^12) are truncated and have last 1-2 digits as zeros, unlike Blockchain data => must multiply both values by 0.01 and floor/round the results
- QUANDL sometimes rounds, other times truncates those 1-2 last zero digits to get the 3rd last digit => must use both floor/round
- you can only shift sequences forward into the future (right), not back into the past (left) using positive offset => only Blockchain source can be shifted
- since total_blocks is already a cumulative sum of all prev values on each bar, total_error must be simple delta, can't be also int(cum()) or incremental
- all Blockchain values and total_error are na outside the range - move you mouse cursor on the last bar/inside the range to see them
TLDR, ver 1.0 Conclusion:
QUANDL/Blockchain Difficulty source differences don't affect total blocks estimate, total error <= 1 block with avg 150 blocks/day is negligible
Both QUANDL/Blockchain Difficulty sources are equally valid and can be used in calculations. QUANDL is a relatively good stand in for Blockchain industry standard data.
Links:
QUANDL difficulty source: www.quandl.com
QUANDL hash rate source: www.quandl.com
Blockchain difficulty source (export data as csv): www.blockchain.com
HCD/LCDRecognizong and alerting of HCD and LCD formations.
HCD is candle with close higher and high of preceding Doji . LCD vice versa.
Most reliable around pivot zones.
RK's 03 - Candlestick PatternThis code is just a combination of all TradingView's Candlestick Pattern.
I mix all the TV Candlestick Patterns Indicator from the TradingView in Indicator.
Candlestick Patterns by Dipak V2I am really excited to publish my work, I know its at the beginning but there is a lot to come in the future. I am writing a script to identify the candlestick patterns. In this version, I have added Hammer and Hanging Man Pattern in the first version, I know its less but its a beginning, I will keep adding the new information in my script in upcoming versions.
This script is for only learning purpose and not for treading realtime. In this script, it only identifies the pattern and does not check for its confirmation or does not provide any stop-loss, Also it does not check the prior trend before the pattern. These things really matter in the live trade. But in future, I am planning to add these things.
If you like my work, please like or comment your ideas I will try to include those in upcoming versions.
Hanging Man:
Hanging man is a bearish reversal candlestick pattern that signals about the uptrend or advancing phase are over and bulls have lost their control. Color of the candle is not important.
Identity:
1) Comes after a significant up rally or uptrend or advancing phase.
2) Small real body at the top.
3) Long lower shadow at least twice the real body.
4) Very small or no upper shadow.
Confirmation:
Immediate next candle’s close should be below the hanging man’s real body.
StopLoss:
There is a potential resistance level above the top of the hanging man. Stoploss should be above the resistance area or at the high of the hanging man.
Hammer:
Hammer is a bullish reversal candlestick pattern that signals about the downtrend or declining phase are over and bears have lost their control. Color of the candle is not important.
Identity:
1) Comes after significant down rally or downtrend or declining phase.
2) Small real body at the top.
3) Long lower shadow at least twice the real body.
4) Very small or no upper shadow.
Confirmation:
Immediate next candle’s close should be above the hammer’s low.
StopLoss:
There is a potential support level below the low of the hammer. Stoploss should be below the support area or at the low of the hammer.
Note: The candle is the same for Hanging Man and Hammer , Difference is where they appear in the uptrend or in the downtrend that makes the real difference.
Jackrabbit.modulus.AnalyzerThis is the module Analyzer for the Jackrabbit suite and modulus framework.
As the modulus framework has grown both in size and complexity, it has become ever increasingly difficult to evaluate the profitability a very complex multi-layered modules combined.
The Jackrabbit Analyzer module allows you to do just that. Connect this module to the end of your IoI chain and it will tell you the profitability of your current combination, using TradingView's strategy backtesting capabilities.
With this module connected to your IoI chain, you can literally watch in real time as the analyzer evaluates your current settings and updates each time you make a change in those settings, giving you a better and more realistic approach to what is possible with your current strategy.
While this module is not a substitute for paper trading, it significantly increases the construction and analysis of a multi-layered trading paradigm that can then be taken to a paper trader with a high level of confidence of success.
Only the signal line is displayed.
The Jackrabbit modulus framework is a plug in play paradigm built to operate through TradingView's indicator on indicatior (IoI) functionality. As such, this script receives a signal line from the previous script in the IoI chain, and evaluates the buy/sell signals appropriate to the current analysis.
This script is by invitation only. To learn more about accessing this script, please see my signature or send me a PM. Thank you.
NRD Sessions Basic FunctionsThis script is an extension and modification of a popular BackGround color script.
Added
1. Style and programming standards to make is easier to read and modify
2. broke out Asia to Sydney and Tokyo Sessions
3. added override to show ICT Kill zones for London and New York
4. Made all this configurable via settings Menu
Enjoy
watch this space as I intend to do more complex session scripts to allow for High and Lows and Mondays too :-)
Candlestick Pattern IdentifierMy script builds upon another user-submitted script by rebuilding the logic used to identify candlestick patterns. The logic in my script is a mix of strict and lax guidelines to mitigate false flags and present valid buy and sell signals.
-To use this indicator, simply add it to any chart. It will identify trends on any time frame although the lower you go, the more signals you'll see and the higher probability of those signals being false flags. You can also disable any candlestick patterns that you feel are not as useful.
- This indicator works best with Stocks and also with Forex markets to a lesser extent.
- This indicator works the best on the Daily chart and also works (with varying degrees of success) on any timeframe at or above 1 hour. I've found that this indicator works the best when used in tandem with the Daily and Hourly charts with the Hourly chart being used to determine an entry point while the Daily chart is used for long term trend analysis.
MinichartsA further improvement of the Sparklines indicator, which shows the last 6 candles of 4 different instruments (can be customized on the user's choice).
Use cases are remain the same as for the Sparklines :
Merge of two instances
A screener
* on the preview
If you have any questions you can contact me either via private messages here or via Telegram
Forex Market OpenThis script is to highlight the first candle of weekly forex market open. Only works at UTC-4 Exchange.
Crypto Trader X Candelstick PatternsCrypto Trader X Candelstick Patterns
this andicator contain all candelstick patterns
Bullish & Berash Engulf Candel, Doji & Dragonfly Doji Candel, Hammer Candel, Hanging Man Candel
inverted Hammer Candel, Shooting Star Candel, Marabuzo black & White Candel, Spinning top black & White candel
Abandoned Baby Bearish, Abandoned Baby Bullish, Gravestone Doji Candel, Harami Bearish Candel, Harami Bullish Candel
Kicking Bearish Candel, Kicking Bullish Candel, Long Lower Shadow Bullish Candel, Long Lower Shadow Bearish Candel
Morning Star, Three White Soldiers, Three Black Crows, Tri-Star Bearish & Bullish, Engulf bar color, Reversal bar , bar color
Hammer pattern with filtered alerts and close conditionA hammer is a price pattern in candlestick charting that occurs when a security trades significantly lower than its opening, but rallies within the period to close near opening price. This pattern forms a hammer-shaped candlestick, in which the lower shadow is at least twice the size of the real body. The body of the candlestick represents the difference between the open and closing prices, while the shadow shows the high and low prices for the period.
KEY TAKEAWAYS
Hammers have a small real body and a long lower shadow.
Hammers occur after a price decline.
The hammer candlestick shows sellers came into the market during the period but by the close the selling had been absorbed and buyers had pushed the price back to near the open.
The close can be above or below the open, although the close should be near the open in order for the real body to remain small.
The lower shadow should be at least two times the height of the real body.
Hammer candlesticks indicate a potential price reversal to the upside. The price must start moving up following the hammer; this is called confirmation.
The study enhances standard Hammer pattern accuracy by clearing out market noises and manipulations from the indicator's triggers. Combination of Volume oscillator filter and Directional Movement Index (DMI) components values adjustments allows to detect only strong signals while RSI bands indicator is used to find the safiest signals' closure moments.
The indicator can be applied to trading pairs with USD, USDT, ETH and BTC quote currencies. It is better to check the recent performance on each particular trading pair before apply it. The Indicator supports spot, futures and marginal trading exchanges. The best performance is obtained while using at 30m timeframe and for scalping signals
Advantages of this indicator:
1. Weak signals and market noises are filtered. This allows to receive only strong and confirmed alerts
2. The indicator includes both
Study with built-in custom alerts to use with your own software through web hook connection.
Strategy with configurable risk management settings (order size, commission, take profit, stop loss and trailing). This provides you opportunity of direct broker connection and allows to conduct backtests before applying the strategy to real account
How to use?
Long signals:
1. Apply indicator to the trading pair your are interested in at 30m timeframe chart
2. Once conditions are met price action candle will be colored yellow and H label will be drawn. Place a long position and wait. The
3. Once price action breaks RSI resistance band, retraces and closes below the band the signal is finished and the position should be closed
Automatic strategy:
When conditions of long or short position from the strategy are met the script opens position.
Strategy.exit closes the position once risk management settings are met.
Strategy.close closes the position once RSI band rejection is confirmed
If you want to obtain access to the indicator please send us a personal message
Feel free to favorite the script, apply it to a chart. If you want to obtain access to the indicator please send us a personal message or leave a comment
* Pivot Levels Detector (for H4, D2) [aleeert]Pivot Levels Detector is the script based on idea about breakouts of pivot levels which based on certain numbers of bars used for reaching the target and breakout the level. Working timeframes are H4 and 2D . The script works better with BTCUSD, ETHUSD, EOSBTC, AAPL, TSLA.
No repainting!
The script doesn't use any moving averages or other relative methods which cancel or change data on previous bars. Once the signal is showed it will stay forever.
NOTE: The results from Strategy Tester could slight vary from results you see on the chart. It's because of calculation method used on Strategy Tester, which uses a data from closed bars only, not by target reaching. So the results you see on the chart are more correct.
Follow me for receiving more scripts and indicators.
Regards,
aleeert
Dragonfly Doji with DMI and Volume FiltersA Dragonfly Doji is a type of candlestick pattern that can signal a potential reversal in price to the downside or upside, depending on past price action. It's formed when the asset's high, open, and close prices are the same. The long lower shadow suggests that there was aggressive selling during the period of the candle, but since the price closed near the open it shows that buyers were able to absorb the selling and push the price back up.
The study enhances standard Dragonfly Doji accuracy by clearing out market noises and manipulations from the indicator's triggers. Specially selected values of Directional Movement Index (DMI) components detect only strong signals while RSI bands indicator is used to find the safiest signals' closure moments.
The indicator can be applied to trading pairs with USD, USDT, ETH and BTC quote currencies. It is better to check the recent performance on each particular trading pair before apply it. The Indicator supports spot, futures and marginal trading exchanges. The best performance is obtained while using at 15m timeframe and for scalping signals
Advantages of this indicator:
1. Weak signals and market noises are filtered. This allows to receive only strong and confirmed alerts
2. The indicator includes both
Study with built-in custom alerts to use with your own software through web hook connection.
Strategy with configurable risk management settings (order size, commission, take profit, stop loss and trailing). This provides you opportunity of direct broker connection and allows to conduct backtests before applying the strategy to real account
How to use?
Long signals:
1. Apply indicator to the trading pair your are interested in at 15m timeframe chart
2. Once conditions are met price action candle will be colored yellow and DD label will be drawn. Place a long position and wait. The
3. Once price action breaks RSI resistance band, retraces and closes below the band the signal is finished and the position should be closed
Automatic strategy:
When conditions of long or short position from the strategy are met the script opens position.
Strategy.exit closes the position once risk management settings are met.
Strategy.close closes the position once RSI band rejection is confirmed
If you want to obtain access to the indicator please send us a personal message
If you want to obtain access to the indicator please send us a personal message or leave a comment
Bollinger Band Reversal StudyThis strategy was inspired by ParallaxFX.
This strategy attempts to predict when a price reversal will happen. It uses bollinger bands, stochastics and candle formations.
The idea is that when an indecision candle, such as a doji, crosses outside the bollinger bands, then is followed by another candle that pushed sharply back inside the bands, you have a setup.
These setups are marked with green arrows to go long and red arrows to go short. Wait until the next candle begins before acting. The arrow may come and go as the price fluctuates, so wait until the candle closes.
Another play is when the same setup occurs, but on the middle bollinger band instead of the outer band.
These setups are marked with blue arrows to go long and yellow arrows to go short. Wait until the next candle begins before acting. The arrow may come and go as the price fluctuates, so wait until the candle closes.
Closing can happen a number of ways. You can use a predetermined risk-reward or look to sell when the price reaches another band.
In summary.
Go long when a green or blue arrow appears.
Go Short when a red or yellow arrow appears.
Green arrows show signs of reversal from lower BB.
Blue arrows show signs of reversal from middle BB.
Red arrows show signs of reversal from upper BB.
Yellow arrows show signs of reversal from middle BB.
Wait for candle with arrow to close before taking trade.
Steady Swift by Hashtag_binarySteady Swift is an indicator that shows the forex sessions and the highest and lowest points of each session of the day.
The sessions that appear on the indicator are Tokyo, London and New York.
The calculation of each session is per hour and goes from 0 to 24 hours, where point 0 begins in the Tokyo session.
In the settings part sessions can be selected or removed, just as you can choose if you want the high and low points to be measured from the wick or the body of the candle, and you can also place the colored background or remove it if you wish (as a preference it is better to leave the background color).
The lines (either current or past) of the high points and the low points of each session can be modified in thickness.
There is a variety to choose the color of the sessions. Even modify the term of each session.
00,25,50,75,00 - RND/LVL00,25,50,75,00 - RND/LVL
This concept is very simple..
Use round numbers as support and resistance, target the (.25 - .50 - .75) levels for take profit..
Basically, the rounds numbers are high liquidity zone (psychological and banks levels)
You can clearly see the price moving between those zones.
Recommanded timeframe : M30-H1-H4 (M15-M30) for entry..
I usually look at rejection at those levels for short or buy depend of the context.
You can place SL on the next .25 pips over the hard round numbers resistance-support.
Good Luck and if you have any comments, write bellow.
Thanks!
Here some example :
SOT INDICATOR for VSARussian language
SOT бар для VSA (Volume spread analysis)
Индикатор обозначает бары указывающие на остановку цены и возможный разворот.
Индикатор в первую очередь написан для таймфреймов от одного часа. На таймфреймах менее 1 часа сигнал будет приводить к неверным результатам, поскольку вечерние объемы существенно ниже дневных.
условие 1: закрытие текущего бара близко к закрытию предыдущего (достигается путём сравнения среднего диапазона последних 5 баров)
sma(high-close,5) - это средний диапазон за 5 баров
итого получается разница между закрытиями меньше 1/2 среднего диапазона за последние 5 баров.
Условие 2: должен быть хвост продаж или покупок (критерий - составляет не менее 2/3 от всего диапазона бара)
Условие 3: объемы должны быть увеличивающиеся (я взял, что текущей объем должен быть больше среднего за последние 5 баров)
Индикатор следует использовать совместно с теорией VSA.
English language (Google Translate)
SOT bar for VSA
The indicator indicates bars indicating a stop of the price and a possible reversal.
The indicator is primarily written for time frames from one hour. On time frames of less than 1 hour, the signal will lead to incorrect results, since evening volumes are significantly lower than daily volumes.
Condition 1: closing the current bar is close to closing the previous one (achieved by comparing the average range of the last 5 bars)
sma (high-close, 5) is the average range for 5 bars
total, the difference between closures is less than 1/2 of the average range for the last 5 bars.
Condition 2: there must be a tail of sales or purchases (the criterion is at least 2/3 of the entire range of the bar)
Condition 3: volumes must be increasing (I took that the current volume should be more than the average for the last 5 bars)
The indicator should be used in conjunction with VSA theory.
3 bar play partial1 1:1, take all 2:1 By ChenycoThis script is trying to find 3 Bar Play pattern and take profit of 2:1 with option to partial at 1:1.
The pattern has a weighted first bar and then a smaller bar with relative equally high. The first entry should be by the next bar only.
Parameters:
* Default strategy parameters, including initial capital and commissions.
* Risk Unit $ - The risk unit per trade in currency.
* Weighted Bar ATR Ratio - the ratio between the weighted bar true range to the ATR.
* Small Bar Ratio - The ratio between the smaller bar true range to weighted bar.
* Equal Price Ratio - The ratio of acceptable price change in compare to the stock price.
* Partial Qty Ratio - The ratio of the first partial equity.
Good luck!
Chen.
|AG| Master Detector|AG| Master Detector
This Script search the nearest pivot in the base of the price movement "Close"
Only the nearest Support and Resistance will be plotted.
An informative label is included in the indicator with the option of a turn on/off.
Pivot Level, Time, Pivot Calculation, and Price Is included in the label.
There are 3 Options for the pivot calculation (Detection):
=>Camarilla
Only detect the pivots > than R3 and lower than < S3
Is going to detect even until S6 and R6
=>Traditional
In this case, Detect all pivots levels
And maintain as a constant the Main Pivot without
=>Fibonacci
Same as camarilla
Only detect the pivots > than R3 and lower than < S3
Exception detecting until R5 and S5
////The LockBack Option////
This Script also includes an option to only plot a certain amount of days back.
Mainly for have a more clear chart.
/////Color Options/////
Includes different colors that can be selected changing the pivot levels, labels, and candles.
////Candles Color///// (Optional)
The color change of candles can be activated or deactivated in the base of the trader preferences
Is going to plot color when the price is higher than Main Pivot in "720" Time Frame
The color is linked with the //Color Option// Changing all at the same time to preserve a minimalistic design.
Color Options Examples:
Please PM me on Trading View For Access