Анализ свечей
Bearish Engulfing Strategy This is a bearish candlestick reversal pattern formed by two candlesticks.
Following an uptrend, the first candlestick is a up candlestick which is
followed by a down candlestick which has a long real body that engulfs or
contains the real body of the prior bar. The Engulfing pattern is the reverse
of the Harami pattern.
WARNING:
- This script to change bars colors.
Doji strategyThis is a simple strategy based on Doji star candlestick.
It places two orders: buy stop at doji star high or previous candle high and sell stop at doji star low or previous candle low.
Exit rules are with take profit and fixed stop loss or take profit and stop loss at doji min or max.
This strategy works very well with high time frames like Daily and Weekly because those are without noise in doji formation.
Each currency pair has its own optimal setting for TP and SL: it's up to user find the best ones.
I could implement SL based on ATR, maybe in next revision.
Please use comment section for any feedback.
Next improvement (only to whom is interested to this script and follows me): study with alerts on multiple tickers all at one. Leave a comment if you want to have access to study.
Katana Gaps Bounty Hunter Pro (Show Gaps of All Types) by RRBKatana Gaps Bounty Hunter Pro (KGB Hunter Pro, Gap Exterminator) by RagingRocketBull 2018
Version 1.0
This indicator shows/counts/filters gaps on a chart.
There are several versions: Simple, Pro, Advanced and Zones. This is the Pro version. The Differences are listed below.
- Simple: shows/counts gaps, changes color based on gap dir (2 colors), filters out price gaps within session, large gaps, and high volume gaps
- Pro: +shows all types of gaps, multi color, pro filters (full/partial/overlapping time, price, large, candle, volume, doji, weekend gaps within delta ranges)
- Advanced: +session times mask, show/count gaps only for last N bars, +min/max/filled gaps stats, dark mode
- Zones: +shows gaps as dynamic horiz zones
KGB Hunter Pro Gap Exterminator focuses on showing you all possible types of gaps in multiple colors. Gap theory states that price tends to return and fill the gaps,
so you can use it to collect the bounty. You can apply any combination of complex filters to narrow down search results i.e., find only all:
- type 3 gaps up with allowed wick-candle overlapping of up to 10% and
- gap size larger than 200 and
- with at least one of the candles larger than 100 and
- volume change at least 40 and
- spanning less than 2 bar periods and
- excluding weekend gaps
Features:
- highlights gaps using barcolor and plotchar chars (8 colors x 2 dirs)
- supports all 3 types of gap overlapping: full gap (no overlapping), wick-wick and wick-body overlapping up to a specified % of candle body
- finds all types of gaps with pro filters for price, time, large, volume, timerange, candle size, doji gaps
- individual show/hide flags for each gap/char based on gap type
- can show/hide gaps/chars based on gap dir
- changes color of gaps/chars based on gap dir/type, multi color gap type combos
- displays chars above/below bar based on gap dir
- can show/hide weekend gaps
- counts all filtered gaps
Colors:
Basically There are 2 gap types (Price, Time) x 2 directions (Up, Down) x 2 modifiers (Large, Volume), Volume Gap is a separate class with its own modifiers, so more accurately:
- (Price, Time) x 2 directions (Up, Down) x Large modifier
- (Price Volume, Time Volume) x 2 directions (Up, Down) x Large modifier
using a total of 16+1 colors or 8+1 base colors + transparency modifier
depending on settings you can highlight gaps using any multi color combo from just 1 to all 16 colors (+1 gray color for weekends).
basic gap = 1 base color with normal transparency
price,time = 2 base colors (including basic gap) with normal transparency (+1 color)
* up,down dir = +2 new base colors with normal transparency (including 2 base colors), with a total of 2*2 = 4 price/time base colors (+2 colors)
* large = same 4 base colors with vivid transparency modifier (+4 colors)
* volume = +2 new base colors with normal transparency, a separate class (+2 colors)
* volume * up,down dir = +another 2 new base colors with normal transparency (including 2 volume base colors), with a total of 2*2 = 4 volume base colors (+2 colors)
* volume * large = 4 volume base colors with vivid transparency modifier (+4 colors)
weekend_gap = gray (+1 color)
doji gap, candle gap, timerange gap = no special color, inherits color from parent gap type
for more details, please see the Gap Color Hierarchy comments in code
_________________________________________________________________________
You can find the following gap related terminology in literature: full, partial, extreme, breakaway, runaway/continuation, common, exhaustion gaps.
There are no exact rules to distinguish between them, so this can't be implemented.
When defining a gap it all boils down to how do you plot a gap, which points between adjacent candles do you consider a gap. Different sources apply different methodology
but in practice only 3 types of gap overlapping can exist:
- full gap (no overlapping),
- partial (wick-wick overlapping) and
- extreme partial (wick-body overlapping up to a specified % of a candle body)
All these types are supported in this script. The only possible remaining option is candle-candle overlapping which is not a gap by definition.
Many other script specific subtypes are also supported. Please see description of each gap type below and comments in code.
General display modes
- gap has 3 possible overlapping modes: full gap (no overlapping), wick-wick overlapping, wick-candle overlapping up to a specified % of candle body size (for mode 3 only)
the remaining candle-candle overlapping implies not a gap by definition
full gap mode will find the least amount of gaps, wick-candle - the most
- gap can be either price or time, up or down, and shown above or below the candles (gap chars)
- by definition, a price gap is a smaller subset of a time gap, a gap within current session with a price gap and zero time lag between bars.
Therefore timerange filter is useless for price gaps, but can still be applied.
On the other hand, all price gap filters can be applied to time gaps without any distinction.
- gap can have multiple modifier subtypes: (price|time) * (up|down) * (large? + volume? + doji? + timerange? + weekend?)
i.e. price + large + volume + doji or time + large + volume + timerange + doji + weekend
- the gap is always counted only once no matter how many subtype modifiers it has
- if the gap does not satisfy any of the applied flags/filters it is not shown/counted (no gap bars/chars are shown)
- gap color can depend on a combo of gap type/dir and modifier subtypes or can be shown in a single base color
- char color can only depend on gap dir (not type/modifiers) or can be shown in a single base color
- char position can also depend on gap dir (above/below) the gap candle. Alternatively you can pin chars to the top/bottom of the screen in UI Styles.
- change_by_type = true - uses gap type base colors (2 colors + optional modifiers, up to 8 colors if volume and/or large filters are enabled)
- change_by_dir = true - uses gap dir base colors (2 colors + optional modifiers, up to 8 colors if volume and/or large filters are enabled)
- both change_by_type and change_by_dir = true - uses both gap type and dir base colors (4 colors + optional modifiers, up to 16 colors if volume and/or large filters are enabled)
- both change_by_type and change_by_dir = false - uses a single base gap color (1 color)
- don't need that much colors - disable filters
- highlight bars has priority over individual gap flags, when it is false all gaps are hidden regardless of their corresponding flag settings (does not affect dim weekend gaps)
- show chars has priority over individual gap char flags, when it is false all char flags are hidden regardless of their corresponding flag settings
- price gaps are only shown/counted when show_price_gaps flag is true. The large or volume filters can be used to narrow down results further.
- time gaps are only shown/counted when show_time_gaps flag is true. The large, volume, and timerange filters can be used to narrow down results further.
- doji gaps are only shown/counted when show_doji_gaps flag is true. The doji candle size and other filters can be used to narrow down results further.
- show weekend gaps = true and dim weekend gaps = false - shows/counts weekend gaps
- show weekend gaps = true and dim weekend gaps = true - dims weekend gaps, doesn't show/count weekwend gaps
- show/dim weekend gaps do just that - show the gap if it happens on a weekend, not all weekends
- large gaps are only shown/counted when the large filter is enabled != 0. positive values 5 (>= 5), negative -5 (<=5) are used to switch between <>
- volume gaps are only shown/counted when the volume filter is enabled != 0. positive values 5 (>= 5), negative -5 (<=5) are used to switch between <>
- timerange gaps are only shown/counted when the timerange filter is enabled != 0. positive values 5 (>= 5), negative -5 (<=5) are used to switch between <>
- candle size gaps are only shown/counted when the candle size filter is enabled != 0. positive values 5 (>= 5), negative -5 (<=5) are used to switch between <>
- candle size filter is the only filter with 2 arguments, use_and_for_delta to enable AND condition for the args (OR is the default)
Good Luck! Feel free to explore and learn from the code
HHHC LLLCBased on @JasonGraystone price action tips
This script will identify candles that close with a "Higher High and Higher Close" and "Lower Low Lower Close" than previous candle, making super easy to identify price action momentum.
I added to this fantastic price action concept a simple filter to follow the trend, by default it compares price to a 50 SMA. If above the SMA it shows only up signals, if below it shows only down signals.
SMA can be changed to any lenght and if you want to get all the HHHC / LLLC just set the SMA to 1
//Thinking I may add some alert capability in the future just to practice a little more using Pine Editor but it is useful as it is.
BTC South Korea_PricesSince BTC prices are diverging, this set of 4 indicators charts volume-weighted prices for different exchanges:
Spot, Tether, Futures and South Korea.
I tried doing EUR & JPY, but the divergence is minimal so its a little pointless.
Here is the 4 links:
BTC Futures_PricesSince BTC prices are diverging, this set of 4 indicators charts volume-weighted prices for different exchanges:
Spot, Tether, Futures and South Korea.
I tried doing EUR & JPY, but the divergence is minimal so its a little pointless.
Here is the 4 links:
BTC Spot_PricesSince BTC prices are diverging, this set of 4 indicators charts volume-weighted prices for different exchanges:
Spot, Tether, Futures and South Korea.
I tried doing EUR & JPY, but the divergence is minimal so its a little pointless.
Here is the 4 links:
BTC Tether_PricesSince BTC prices are diverging, this set of 4 indicators charts volume-weighted prices for different exchanges:
Spot, Tether, Futures and South Korea.
I tried doing EUR & JPY, but the divergence is minimal so its a little pointless.
Here is the 4 links:
Indecisive candlesIndecisive candles are candles with <20% of the candle being the candle body and 80% of the candle being wicks.
IO_CWL IndexCandlestick body and Wick Length Index (CWL)
Shows a trend chart of candle body length and wick length.
Green -> Candle body
Red -> Candle Wick
-- Invsto
Katana Gaps Bounty Hunter (Show Gaps Counter) by RRBKatana Gaps Bounty Hunter (KGB_Hunter) by RagingRocketBull 2018
Version 1.0
This indicator shows/counts/filters gaps on a chart
There are several versions: Simple, Pro and Zones. This is the Simple version. The Differences are listed below.
- Simple: shows/counts gaps, changes color based on gap dir (2 colors), filters out price gaps within session, large gaps, and high volume gaps
- Pro: +shows all types of gaps, multi color, more filters (time gaps, doji, etc)
- Zones: +shows gaps as dynamic horiz zones
Features:
- highlights gaps using barcolor and plotchar chars (2 colors x 2 dirs)
- can show/hide gaps/chars based on gap dir
- changes color of gaps/chars based on gap dir
- displays chars above/below bar based on gap dir
- can filter out price gaps, large gaps, and high volume gaps
- counts all filtered gaps
Good Luck! Feel free to reuse the code and make it your own
U&Dif price has moved up since 1 to 3 candles ago = buy
if price has moved down since 1 to 3 candles ago = sell
has internal SL & TP
tested on
BITFINEX:ETHUSD
BITFINEX:BTCUSD
BITFINEX:LTCUSD
BITFINEX:ETHBTC
4 hour charts
breakout and swingA Price Action system that use swing point and breakout
above the black line (breakout) is long, below short
swing/support/resistance points (blue circles) are displayed after a top or botton, breaking it means an inversion
red circles try to guest a target after a top/bottom or after a swing break.
the main trend is made by the black line that is set on Day period suitable for 1h to 15m time frame , for small TF you can set a smaller period from setting command
By default a set a 40 period channel high/low (the highest and lowest 40 bar back) that is ok for 1 h or smaller tf , but look to long for daily tf, adjust it yourself
Candle Range CompareThis one compares the total candle height (Low to High), body size, also top and bottom wick sizes. I really don't know when it would be best to use this, but it gives a 0 baseline to compare candles side-by-side also to compare body size to wick size.
*Notes*
- The tallest of course is high minus low
- whether or not the close is above the open, the body size is the column in front of the total size of course
- wicks are from 0 up for the top wick and 0 down for the bottom wick.
Real Price for Heikin Ashi ChartsThe indicator is in the top left of the screen! That's all there is, by design.
This is a super simple indicator that allows you to see what the real price of a candle was when using Heikin Ashi charts, while not cluttering up your screen.
HA charts are a great way to help those who can be spooked by the chaos of the markets (I'm one!), but they have a big drawback in that the price you see on a HA candle is often significantly different from the real price that you would trade on. This brings issues of unrealistic expectations of profits/losses, and also makes back testing a strategy very difficult. I still wouldn't recommend ever using TradingView's "strategy" tool when using HA charts, but using this indicator you can do accurate manual back tests.
There's nothing plotted on the screen given that there's no real point in it, but you can make the lines appear if you wish - just go into settings and change the transparency.
The order of the numbers on the indicator match the OHLC (Open, High, Low, Close) format.
There's also settings to turn off one or more of the OHLC values, simply open the settings and go to Inputs. This could be useful for some people, as the High and Low values of HA candles are the same as regular candles. Only the Open and Close are different.
Any queries let me know.
DreamsDefined
Range ColumnsQuite simple, this plots the range of each candle (high - low). My main intention for this study is for weekly or monthly NG1! .
High Time Frame Open Close High Low LevelsGives you the OHLC levels of the weekly and daily candles as levels in whatever timeframe you're on so you can have a macro view in lower timeframes without having to switch timeframes constantly.
You may toggle the visibility of all the daily or weekly levels as well as each individual open/close/high/low.
The line styles and colors are customizable.
HDW open_close上位時間軸のロウソク足を表示したくて、それに代わるものが見つからなかったので作ってみました。
1時間足、日足、週足の 始値 と 終値 をラインで表示するものです。
ヒゲの部分は作っていません。実体を見て判断します。
【Google translate】
I wanted to display the candlestick on the upper time axis, so I could not find an alternative to it, so I made it.
It displays the start value and closing price of 1 hour foot, daily stick, weekly leg with a line.