Double Inside Bar & Trend Strategy - KaspricciDouble Inside Bar & Trend Strategy - Kaspricci
This strategy combines the Double Inside Bar candlestick pattern with a trend filter. Once the second inside bar closes and price is above trend moving average, a buy stop order is placed at high of the candle. If price is below trend moving average, a sell stop order is placed at the low of the candle.
This strategy is for educational purposes only! It is not meant to be a financial advice.
Settings
Trend source, type of moving average and length for calculating trend
Stop Loss Type - default: ATR. You can switch between stop loss calculation based on Average True Range value or fixed value.
ATR Length / Factor / TP Ratio - default: 14 / 2.0 / 2.0. Used to calculate the Stop Loss as ATR * Factor and Take Profit as Stop Loss * TP Ratio.
FIX Stop Loss / Take Profit - default: 10 pips / 20 pips. In case you select Stop Loss Type = FIX, these value swill be used.
Risk in % - default: 1%, option to adjust the quantity of a trade based on a defined risk percentage. If enabled, it will overwrite the quantity parameter of the strategy settings.
On top you can filter trades by start and end date as well as time of the day.
Cerca negli script per "Candlestick"
[blackcat] L1 Beauty ShoulderLevel 1
Background
A classic candle pattern : beauty shoulder.
Function
Beauty shoulder, as the name suggests, is that the trend of the candle chart is like a beauty shoulder. The most important feature of the beauty shoulder pattern is that after it reaches the shoulder, it does not wash the market through the downward trend of the stock price, but only by slowing down the rising speed to achieve washing out float chips.Therefore, the shape of the beauty shoulder is not rising from beginning to end, but the acceleration of the rise has changed.
Morphological characteristics:
1. Beauty shoulder is a candlestick pattern. It is usually the trace left by the main force opening up positions. This pattern is encountered by dozens every year, and you will always find it if you look for it carefully.
2. The technical characteristics of the beauty shoulder, the 5-day moving average and the 10-day moving average must continue to form a golden fork.
3. The trend in the first half of the candle chart must present an arch, and only in this way can it be called a beauty shoulder.
4. The candle chart must be above the 60-day moving average. It is best to hang it in the air, or a stronger shoulder of the beauty. The candle chart is above the 30-day moving average, so the magnitude of the pull up will become larger.
5. The bottom of the shoulder of the beauty is the part of the consolidation, and the volume must be increased, because the shoulder of the beauty is the result of the main force building a strong position in a short time, so the volume must be increased.
6. The rise of the shoulders of the beauty is very scary, and the increase is usually more than 30%.
Remarks
Feedbacks are appreciated.
Breakout Probability (Expo)█ Overview
Breakout Probability is a valuable indicator that calculates the probability of a new high or low and displays it as a level with its percentage. The probability of a new high and low is backtested, and the results are shown in a table— a simple way to understand the next candle's likelihood of a new high or low. In addition, the indicator displays an additional four levels above and under the candle with the probability of hitting these levels.
The indicator helps traders to understand the likelihood of the next candle's direction, which can be used to set your trading bias.
█ Calculations
The algorithm calculates all the green and red candles separately depending on whether the previous candle was red or green and assigns scores if one or more lines were reached. The algorithm then calculates how many candles reached those levels in history and displays it as a percentage value on each line.
█ Example
In this example, the previous candlestick was green; we can see that a new high has been hit 72.82% of the time and the low only 28.29%. In this case, a new high was made.
█ Settings
Percentage Step
The space between the levels can be adjusted with a percentage step. 1% means that each level is located 1% above/under the previous one.
Disable 0.00% values
If a level got a 0% likelihood of being hit, the level is not displayed as default. Enable the option if you want to see all levels regardless of their values.
Number of Lines
Set the number of levels you want to display.
Show Statistic Panel
Enable this option if you want to display the backtest statistics for that a new high or low is made. (Only if the first levels have been reached or not)
█ Any Alert function call
An alert is sent on candle open, and you can select what should be included in the alert. You can enable the following options:
Ticker ID
Bias
Probability percentage
The first level high and low price
█ How to use
This indicator is a perfect tool for anyone that wants to understand the probability of a breakout and the likelihood that set levels are hit.
The indicator can be used for setting a stop loss based on where the price is most likely not to reach.
The indicator can help traders to set their bias based on probability. For example, look at the daily or a higher timeframe to get your trading bias, then go to a lower timeframe and look for setups in that direction.
-----------------
Disclaimer
The information contained in my Scripts/Indicators/Ideas/Algos/Systems does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My Scripts/Indicators/Ideas/Algos/Systems are only for educational purposes!
3 Line Strike [TTF]This indicator is a spin-off of the popular TMA Overlay indicator made by request of the original author that narrows down the scope to simply identifying a couple of key candlestick patterns - Engulfing candles and 3 Line Strikes.
In addition to being a far more tailored and purpose-specific indicator, we have also update the indicator code to the latest version of Pinescript and added some enhanced alerts.
No Active BarThis is probably the only script on TradingView that's clinically proven to lower your blood pressure!***
This script in conjunction with some chart settings changes can completely hide the active candle, only showing historic candles, thus, reducing risk of cardiac arrest and or panic attack.
What to do:
0. Make sure you are using a candlestick chart or this script won't work properly
1. Right click the chart and select "Settings..."
2. Select "Symbol" under the "Chart Settings" menu
3. Disable every item EXCEPT for the "Body"
4. Click on the boxes next to "Body" to access the color picker then change both box's transparency settings down to 0
(the script only colors closed bars, so the active bar will be present just transparent)
5. Right click on the price scale on the far left or far right side of the screen and hover the mouse over "Labels". If any selections have a check mark next to them click them to disable them (especially the "Ask & Bid" price setting since it tracks current price)
That's it! Instead of wicks the High & Low prices are plotted above and below the candles using a step line. It looks a bit strange at first but you'll get used to it. Check out the indicator settings to change the color and style of the High & Low lines.
***The statement could prove true for some but is mostly complete bullshit
MarginRockets 5 Mins Ultimate Scalp v15 Mins Scalp on any Pair:
-Model Components:
a.EMA 200
b.VWMA 20
c. ADX
d.DI+/DI-
e.Volume ansd Average Volume
- The Model will give you the Buy/Sell signal but you have to consider:
a.The Candlestick patterns
b.How far the candle from the ema200(Blue line)
c.The vwma can be used as supporting indicator
-Trading Rules:
a.Leverage 10x
b.Take profit always: 2% (20% with leverage)
b.Stop loss is last swing high or low
Hoe all teh best for all of you!!!!!
Heikin_Ashi_HommaThis is a indicator based on the well known Heikin Ashi candle.
There is one diference, it uses the "Close" from the original candle and a spot price wich can be adjusted to calculate the moving averages. As default I set it as spot = close*0.8 + open*0.2.
The periods of the moving averages can be adjusted too.
The intention is to extract the smoothness of the Heikin Ashi candle with a more fast perception to the closing price and the MAs.
The name is in consideration to the inventor of the candle tick.
Observation : Be sure to use the normal candlestick in the normal window, if the candle type is HA the indicator will repeat the values.
Makuchaku's Trade Tools - Pivots/Fractals & CrossoversPivots/Fractals are at minimum a 3 candlestick pattern.
Bearish pivot/fractal is formed when a candle is flanked by 2 lower candles on either side
Bullish pivot/fractal is formed when a candle is flanked by 2 higher candles on either side
They are great to determine market structure.
This indicator also prints boxes when those pivots/fractals are crossed over, printing bearish & bullish boxes.
Makuchaku's Trade Tools - Order BlocksOrder blocks are a 2 candlestick pattern
Bullish order block : down candle getting engulfed by an up candle
Bearish order block : up candle getting engulfed by a down candle
ICT Single Candle Order Block (SCOB) [UAlgo]The "ICT Single Candle Order Block (SCOB) " designed for traders who utilize the concept of Order Blocks in their trading strategy. Order Blocks are significant price levels where institutions or smart money have placed their trades, leading to potential future price reactions when these levels are revisited. This indicator focuses on identifying and highlighting Single Candle Order Blocks (SCOBs), allowing traders to visually analyze key price levels on their charts.
🔶 What is Single Candle Order Block (SCOB) ?
A Single Candle Order Block (SCOB) is a specific type of Order Block that is identified based on a single candlestick pattern. These patterns indicate potential areas where significant buying or selling interest has occurred, often leading to a notable price reaction when revisited. In the context of this indicator, a bullish SCOB is identified when a specific bullish candlestick pattern is met, and a bearish SCOB is identified based on a bearish candlestick pattern.
Bullish SCOB: Detected when the open price of two bars ago is higher than its close, the close price of the previous bar is higher than its open, the current close price is higher than the open, the low of the previous bar is lower than the low of two bars ago, and the current close is higher than the high of the previous bar.
Bearish SCOB: Detected when the open price of two bars ago is lower than its close, the close price of the previous bar is lower than its open, the current close price is lower than the open, the high of the previous bar is higher than the high of two bars ago, and the current close is lower than the low of the previous bar.
🔶 Key Features
Show Single Candle Order Block (SCOB): Toggle the visibility of the Single Candle Order Blocks on the chart.
Mitigation Method: Choose between "Close" and "Wick" methods for determining whether a SCOB has been mitigated (price has interacted with the block).
Show Last X SCOBs: Control the number of most recent SCOBs displayed on the chart, allowing you to focus on the most relevant price levels.
Volatility Filter: Enable or disable the volatility filter, which uses the Average True Range (ATR) to filter out less significant SCOBs. When enabled, only SCOBs with an ATR above the mean value of the ATR are displayed.
Customizable Colors: Configure the colors for bullish and bearish SCOBs to enhance visual clarity. The indicator uses cooler RGB values to ensure the blocks are distinct and easily noticeable.
🔶 Disclaimer
The "ICT Single Candle Order Block (SCOB) " indicator is provided for educational and informational purposes only. Trading involves significant risk and may not be suitable for all investors.
Past performance is not indicative of future results. Users should use this indicator in conjunction with their own research and trading strategy.
3. [Pufferman] - HA Candle Color OverlayThis indicator is designed for traders who utilize Heikin-Ashi (HA) candles to determine market trend direction and strength but prefer not to clutter their charts with multiple candlestick overlays or constantly switch between chart types. It aims to enhance chart readability by marking significant HA candles directly on the price chart, leveraging the unique characteristics of HA candles to signal trend direction and momentum.
Key Features:
1. Trend Identification through HA Candles: Automatically calculates Heikin-Ashi candles based on standard price data, highlighting significant HA candles that exhibit flat tops or bottoms. These characteristics are indicators of strong trend presence and direction. Highlights are in darker or lighter shade (darker - bearish or light - bullish colors) than the standard candles for easy read.
2. Cleaner Chart Presentation: Offers a streamlined alternative to overlaying HA candles on traditional candlestick charts or toggling between different chart views, keeping the user's interface uncluttered.
3. Selective Highlighting Based on Agreement: Marks traditional candles only when there's a concurrence between the HA candle's trend (bullish or bearish) and the traditional candle's trend. This feature ensures that only the most relevant signals are highlighted for the trader's attention.
Operational Mechanism: The script identifies HA candles with open equal to high (for flat tops) and open equal to low (for flat bottoms), which typically indicate strong trend movements. By marking these on the regular price chart, it provides immediate visual cues about trend strength and direction without needing to switch between HA and traditional candlestick views.
This tool is particularly useful for traders looking for a clean and efficient way to incorporate the insights of Heikin-Ashi candles into their technical analysis without the visual complexity of full HA candlestick overlays.
Better Heiken-Ashi Candles w/ Expanded Source Types [Loxx]Better Heiken-Ashi Candles w/ Expanded Source Types is an indicator to compare regular candles to traditional Heiken-Ashi candles to "better" Heiken Ashi candles. This indicator and comparison study appears an oscillator. The purpose of this indicator is to demonstrate a better way to calculate HA candles and also to demonstrate expanded source types. This indicator is meant to be used by advanced Pine Coders who wish to add fine-tuning to their indicators and strategies.
What are Heiken Ashi "better" candles?
The "better formula" was proposed in an article/memo by BNP-Paribas (In Warrants & Zertifikate, No. 8, August 2004 (a monthly German magazine published by BNP Paribas, Frankfurt), there is an article by Sebastian Schmidt about further development (smoothing) of Heikin-Ashi chart.)
They proposed to use the following :
(Open+Close)/2+(((Close-Open)/(High-Low))*ABS((Close-Open)/2))
instead of using :
haClose = (O+H+L+C)/4
According to that document the HA representation using their proposed formula is better than the traditional formula.
What are traditional Heiken-Ashi candles?
The Heikin-Ashi technique averages price data to create a Japanese candlestick chart that filters out market noise.
Heikin-Ashi charts, developed by Munehisa Homma in the 1700s, share some characteristics with standard candlestick charts but differ based on the values used to create each candle. Instead of using the open, high, low, and close like standard candlestick charts, the Heikin-Ashi technique uses a modified formula based on two-period averages. This gives the chart a smoother appearance, making it easier to spots trends and reversals, but also obscures gaps and some price data.
What's going on with this indicator?
- First, we have the options to select the candlestick type: Regular, HA, HA Better
- Next, and to demonstrate the expanded source types, I've added a simple moving average. In the drop down for the SMA source you'll notice something very different from the typical TradingView source selector. Here's how to decode the new names for the sources:
Close = close
Open = open
High = high
Low = low
Median = hl2
Typical = hlc3
Weighted = hlcc4
Average = ohlc4
Average Median Body = (open+close)/2
Trend Biased = (see code, too complex to explain here)
Trend Biased (extreme) = (see code, too complex to explain here)
... for HA and HA better, see the same set up as above but with different open and close values to calcualate the other source types
- For the HA better calculations, we run the close value through either an Adaptive, Kaufman, or T3 smoothing filter. The length for these smoothing filters, either 2 or 3, can be found in the code and is a constant value that shouldn't be changed. This smoothing is in inline with what is described in the article mentioned above
- Lastly, I've placed an SMA over the oscillator so that the user can test out the various sources explained above
Included:
- Toggle on/off bar coloring
Candlestick RSThis is a candlestick charted Relative Strength indicator. It compares the chosen stock's progress compared to that of the SPY ETF ... ( SPY is used so it should hopefully update intraday). I use this indicator to see which stocks are outperforming the market.
Input Variable Descriptions:
Ratio: this variable is a float (0 to 1) that is basically how close the Candlestick RS is to the actual price action of the chart. (1.0 being right on top of it, 0.0 being as far away as possible from it)
Ballpark SPY price: this variable has to be constant, and due to the way pinescript works, you have to manually put in a ballpark of what SPY is at.
Neither of these variables influences the actual data of the indicator, but rather how it is shown on screen. It's difficult to describe, so I recommend you messing around with the variables and see what changes.
Hope this helps, I find this useful, so I figured I'd publish this... This is my first pine script so forgive me for any errors, just want to help :)
Fake-Out IndicatorThe signal comes from the "RailRoad" candlestick pattern breaking a support/resistance level, which typically indicates price will respect that level.
How consistent is the pattern? Hard to say considering candlestick patterns vary wildly by % change between different securities.
I didn't implement any kind of "fuzzy logic" for this strategy, though it would benefit greatly from it.
There are many instances where a fixed% simply doesn't catch a winning trade from a "bounce" off a S/R level.
Volume Based Price ActionThis indicator is uses volume and common candlestick patterns to suggest potential trend reversals. It is not quite meant to be used as a buy/sell signal. Instead, it should be used to evaluate market psychology based on when the buyers or sellers fully dominated the price action.
In the current version, the indicators looks for engulfing and pin-bar patterns. Optionally, it also considers rising volume as further confirmation to the signal. In future, I plan on allowing it to track more candlestick patterns.
Please let me know if you have any suggestions, concerns, or comments!
Heikinashi Candles Biggest problem that when we use normal heikin-ashi candlestick pattern then all applied indicator values also changes
Like Pivot Point with CPR ,,, EMA,,, SMA including VWAP indicator value
So , this indicator help us plot Heikinashi candles on Normal candles
Please follow below steps:
Add this indicator to chart
Go to setting >> un-tick Body, Border and Wick color
That will hide candles on chart and Plot heikinashi candles on Normal candles without changing any indicator value
Remember use normal candle stick pattern that
Trigrams based on Candle PatternThis script matches a Trigram for the current candle from its pattern Bullish/Bearish: Marubozu, Hammer, Inverted Hammer, Spinning Top.
The source for Trigram to candlestick pattern can be found online. I'm missing the reputation to add the link here.
Heaven = Bearish Marubozu
Earth = Bullish Marubozu
Thunder = Bearish Spinning Top
Water = Bullish Inverted Hammer
Mountain = Bullish Hammer
Wind = Bullish Spinning Top
Flame = Bearish Hammer
Lake = Bearish Inverted Hammer
The idea is simple. It takes the current candles pattern to match the Trigram.
Inspired by the Trigram Script from ByzantineSC
Anyways, not sure what use it is yet, but if there is anyone else out there interested in I Ching, Yin/Yang theory and trading, this is for you.
LebahFX AccDist_CandlesLebahFX Indicator that showing Accumulation and Distribution Signal in HTF Candlestick
Pivot Point CandlesIndicator that highlights Hammer, Inverted Hammer, Engulfing, and Harami candlestick patterns. Great for those looking for a quick way to show the most popular reversal patterns on the charts.
Options will allow you to select to show Hammers, Engulfing or Harami patterns only. You choose the combinations that you want. Great tool to learn and training your eyes to the patterns.
You also have an option to select "Super" versions of the Engulfing and the Harami patterns, the Supers only shows if the pattern engulfs the body and the wick of the smaller candle in the pattern.
The indicator will show Bullish opportunities and Bearish opportunities on the chart for each of the patterns. The inverted hammer will show at the top indicating a Bear move, and the Hammer will show below price indicating a Bullish move.
Use this indicator in conjunction with other Support & Resistance such as the simple moving averages, trend lines, flat lines, or even Bollinger bands. When these patterns show at or around these points on the chart they will indicate a reversal is pending. Wait for the next candle as confirmation that the move will actually take place in the direction indicated and you will have your pivot point on the chart and create a higher probability of success. Leverage Stochastic, RSI, or CCI indicators to help confirm the reversal as well. Look out for resistance above or support below to determine your targets for the reversal.
Happy trading!
Soldiers Pattern ModifiedThis can be perceived as modified 3 soldiers, relaxed NR4 or even extended harami candlestick pattern.
Works for any instrument and any timeframe.
The idea is to find out any number of candles having their individual highs and lows, all within high and low range of base candle.
The count of soldiers and if they must be of same color, both can be configured.
Additional configurable settings is to add further check of having body of soldiers as well within body of base candle.
Trading strategy: Trade high or low breakout of base candle, having other as stop loss, for a risk reward ratio of 1:2.
Tweezer Scanner v1Some code for detecting tweezer candles, which are reversal patterns. You'll need to tweak the settings to be either less strict (more detections) or more strict (less detections). I found that if you follow the documentation for tweezers exactly, you will get very few detections. It is possible that this candlestick has become overused, so the original pattern itself has been lost to the noise of the market.
Settings:
1. Tweezer Max Body Height (Pips) - How tall can the body of the tweezer be, in pips (increase this pips to increase detections)
2. Tweezer Body Similarity (>%) - How similar should the body heights be, higher percentage is more similar (reduce this % to increase detections)
3. Tweezer Tail Similarity (>%) - How similar should the tail heights be, higher percentage is more similar (reduce this % to increase detections)
4. Tweezer Tail Proportion (<%) - How short should the opposite tail heights be, lower percentage is shorter and more similar to the documentation (increase this % to increase detections)