LTB Zigzag CirclesHello All,
Today I am here with a new idea and script, " LTB Zigzag Circles ". The idea is to create Circles using last 2 zigzag waves and to catch the breakouts earlier than horizontal lines. if a circle is broken then the script shows entry for Long/Short positions. and if broken circle reappears again then the position is closed. You can change Zigzag period as you wish and see the different results.
Here you can see how the script calculates and draws the Circles:
Below you can see how the script draws part of the circle on each bar:
Optionally the script can show levels:
P.S. I haven't tested it as a strategy, Result and Performance may change by Zigzag period, you need to find best Zigzag period according to your strategy. By the way, my Zigzag Circles idea can be improved, if you have any recommendation let me know please ;)
Enjoy!
Doji
Tweezers and Kangaroo TailHello Traders,
Here Tweezers and Kangaroo Tail script is in your service. The script searches for Tweezer / Kangaroo Tail candlestick patterns and shows them as T (Tweezer) and K (Kangaroo Tail). Thanks to RorschachT who game me the idea and some details while working on this script.
What are these candlestick patterns?
Tweezers :
- A tweezers pattern occurs when the highs/Lows of two candlesticks occur at almost exactly the same level
- Both candles must have wicks
- Bigger Wick / Smaller Wick rate should not be greater than 150% ( 150% by default and you have option to change it)
- First Candle must be highest/lowest for last 5 candles (5 by default and you have option to change it)
- The level of High for Top, Low for Bottom must be almost lower than 20% of the bigger wick of tweezer candles (20% by default and you have option to change it)
- The Candles can be right next to each other or apart but not more than 12 candles apart (12 by default and you have option to change it)
- You will see that Tweezers pattern occurs frequently
Kangaroo Tail:
- Looks almost like a Hammer or Inverted Hammer candle
- They have both its open and close in the top or bottom third of the candle
- There must be some space/room on the left of the kangaroo tail
- The open and close of the Kangaroo Tail candle must be inside the range of the previous candlestick
- The next candle should create a new high or new low
- You have several options to set details about the "Room" that should be on the left and also options for Wick/Body rates
- You can see example below
You have option to enable/disable any of these patterns.
as far as I have tested they are strong reversal patterns but none of the indicators or patterns may not be enough alone. so you should confirm the signals using other indicators or tools
If you need more information you can find a lot of info on the net ;)
Example: Tweezers - Aparted
Example: Kangaroo Tail - Bullish
Enjoy!
Divergence for Many Indicators v4Hello Traders,
Here is my new year gift for the community, Digergence for Many Indicators v4 . I tried to make it modular and readable as much as I can. Thanks to Pine Team for improving Pine Platform all the time!
How it works?
- On each candle it checks divergences between current and any of last 16 Pivot Points for the indicators.
- it search divergence on choisen indicators => RSI , MACD , MACD Histogram, Stochastic , CCI , Momentum, OBV, VWMACD, CMF and any External Indicator !
- it checks following divergences for 16 pivot points that is in last 100 bars for each Indicator.
--> Regular Positive Digergences
--> Regular Negative Digergences
--> Hidden Positive Digergences
--> Hidden Negative Digergences
- for positive divergences first it checks if closing price is higher than last closing price and indicator value is higher than perious value, then start searching divergence
- for negative divergences first it checks if closing price is lower than last closing price and indicator value is lower than perious value, then start searching divergence
Some Options:
Pivot Period: you set Pivot Period as you wish. you can see Pivot Points using "Show Pivot Points" option
Source for Pivot Points: you can use Close or High/Low as source
Divergence Type: you can choose Divergence type to be shown => "Regular", "Hidden", "Regular/Hidden"
Show Indicator Names: you have different options to show indicator names => "Full", "First Letter", "Don't Show"
Show Divergence Number: option to see number of indicators which has Divergence
Show Only Last Divergence : if you enable this option then it shows only last Positive and Negative Divergences
you can include any External Indicator to see if there is divergence
- enable "Check External Indicator"
- and then choose External indicator name in the list, "External Indicator"
- External indicator name is shown as Extrn
- related external indicator must be added before enabling this option
Coloring, line width and line style options for different type of divergences.
Following Alerts added:
- Positive Regular Divergence Detected
- Negative Regular Divergence Detected
- Positive Hidden Divergence Detected
- Negative Hidden Divergence Detected
Now lets see some examples:
Hidden Divergences:
Regular and Hidden Divergences together:
Showing first letters of indicators:
You can see only the number of indicators which has divergence:
You can see only divergence lines without indicators names and numbers:
option to used different label/line/text colors:
You have option to see only last divergences:
You can change Pivot Period, in following example Pivot Period = 15:
You can use Close or High/Low as Source for Divergence
You can include external indicators and get divergences on it:
Wish you all a happy new year!
Enjoy!
Doji swing strategyThis is a simple strategy based on Doji star candlestick
This strategy is suited for big time frames, like 4h -1Day and so on.
It places two orders: long at doji star high or previous candle high and short at doji star low or previous candle low.
It can also be applied volume average, in order to filter between trades .
This strategy works very well with high time frames like Weekly TF because it eliminates the noise in doji formation.
It also has inside a risk management made of SL/TP , or if not prefered it can exit based on a exit condition.
If you have any questions, please let me know !
Doji Scanner v1A scanner for detecting Doji Candles.
Adjust the maximum allowable height of a Doji Candle's body, depending on the currency pair or asset.
Divergence for many indicator v3Hello Everyone. Almost one year later, with Pine version 4, I developed new version of the Divergence for many Indicator.
It analyses divergences for 10 predefined indicators and then draws line on the graph. Red for negatif divergence (means prices may go down or trend reversal), Lime for positive divergences (means prices may go up or trend reversal)
Divergences version 2 has latency because it waits higher time frame completion. in this new version the script uses Pivot Points and on every bar it checks divergence between last Pivot point and current bar and if it finds any then immediately draws line and removes old one. so there is no latency with this version.
There are predefined 10 indicators in the script, you have option to choose which indicators the script would analyse for divergence. (RSI , MACD , MACD Histogram, Stochastic , CCI , Momentum, OBV, Diosc, VWMACD and CMF)
In replay mode you can see how the script puts new divergence line and removes old one. you better see it for yourself by using replay mode.
Hope you Enjoy!
Higher High Lower Low Strategy (With Source Code)This script finds pivot highs and pivot lows then calculates higher highs & lower lows. And also it calculates support/resistance by using HH-HL-LL-LH points.
Generally HH and HL shows up-trend, LL and LH shows down-trend.
If price breaks resistance levels it means the trend is up or if price breaks support level it means the trend is down, so the script changes bar color blue or black. if there is up-trend then bar color is blue, or if down-trend then bar color is black. also as you can see support and resistance levels change dynamically.
If you use smaller numbers for left/right bars then it will be more sensitive.
source code of :
PivotBoss TriggersI have collected the four PivotBoss indicators into one big indicator. Eventually I will delete the individual ones, since you can just turn off the ones you don't need in the style controller. Cheers.
Wick Reversal
When the market has been trending lower then suddenly forms a reversal wick candlestick , the likelihood of
a reversal increases since buyers have finally begun to overwhelm the sellers. Selling pressure rules the decline,
but responsive buyers entered the market due to perceived undervaluation. For the reversal wick to open near the
high of the candle, sell off sharply intra-bar, and then rally back toward the open of the candle is bullish , as it
signifies that the bears no longer have control since they were not able to extend the decline of the candle, or the
trend. Instead, the bulls were able to rally price from the lows of the candle and close the bar near the top of its
range, which is bullish - at least for one bar, which hadn't been the case during the bearish trend.
Essentially, when a reversal wick forms at the extreme of a trend, the market is telling you that the trend
either has stalled or is on the verge of a reversal. Remember, the market auctions higher in search of sellers, and
lower in search of buyers. When the market over-extends itself in search of market participants, it will find itself
out of value, which means responsive market participants will look to enter the market to push price back toward
an area of perceived value. This will help price find a value area for two-sided trade to take place. When the
market finds itself too far out of value, responsive market participants will sometimes enter the market with
force, which aggressively pushes price in the opposite direction, essentially forming reversal wick candlesticks .
This pattern is perhaps the most telling and common reversal setup, but requires steadfast confirmation in order
to capitalize on its power. Understanding the psychology behind these formations and learning to identify them
quickly will allow you to enter positions well ahead of the crowd, especially if you've spotted these patterns at
potentially overvalued or undervalued areas.
Fade (Extreme) Reversal
The extreme reversal setup is a clever pattern that capitalizes on the ongoing psychological patterns of
investors, traders, and institutions. Basically, the setup looks for an extreme pattern of selling pressure and then
looks to fade this behavior to capture a bullish move higher (reverse for shorts). In essence, this setup is visually
pointing out oversold and overbought scenarios that forces responsive buyers and sellers to come out of the dark
and put their money to work-price has been over-extended and must be pushed back toward a fair area of value
so two-sided trade can take place.
This setup works because many normal investors, or casual traders, head for the exits once their trade
begins to move sharply against them. When this happens, price becomes extremely overbought or oversold,
creating value for responsive buyers and sellers. Therefore, savvy professionals will see that price is above or
below value and will seize the opportunity. When the scared money is selling, the smart money begins to buy, and
Vice versa.
Look at it this way, when the market sells off sharply in one giant candlestick , traders that were short
during the drop begin to cover their profitable positions by buying. Likewise, the traders that were on the
sidelines during the sell-off now see value in lower prices and begin to buy, thus doubling up on the buying
pressure. This helps to spark a sharp v-bottom reversal that pushes price in the opposite direction back toward
fair value.
Engulfing (Outside) Reversal
The power behind this pattern lies in the psychology behind the traders involved in this setup. If you have
ever participated in a breakout at support or resistance only to have the market reverse sharply against you, then
you are familiar with the market dynamics of this setup. What exactly is going on at these levels? To understand
this concept is to understand the outside reversal pattern. Basically, market participants are testing the waters
above resistance or below support to make sure there is no new business to be done at these levels. When no
initiative buyers or sellers participate in range extension, responsive participants have all the information they
need to reverse price back toward a new area of perceived value.
As you look at a bullish outside reversal pattern, you will notice that the current bar's low is lower than the
prior bar's low. Essentially, the market is testing the waters below recently established lows to see if a downside
follow-through will occur. When no additional selling pressure enters the market, the result is a flood of buying
pressure that causes a springboard effect, thereby shooting price above the prior bar's highs and creating the
beginning of a bullish advance.
If you recall the child on the trampoline for a moment, you'll realize that the child had to force the bounce
mat down before he could spring into the air. Also, remember Jennifer the cake baker? She initially pushed price
to $20 per cake, which sent a flood of orders into her shop. The flood of buying pressure eventually sent the price
of her cakes to $35 apiece. Basically, price had to test the $20 level before it could rise to $35.
Let's analyze the outside reversal setup in a different light for a moment. One of the reasons I like this setup
is because the two-bar pattern reduces into the wick reversal setup, which we covered earlier in the chapter. If
you are not familiar with candlestick reduction, the idea is simple. You are taking the price data over two or more
candlesticks and combining them to create a single candlestick . Therefore, you will be taking the open, high, low,
and close prices of the bars in question to create a single composite candlestick .
Doji Reversal
The doji candlestick is the epitome of indecision. The pattern illustrates a virtual stalemate between buyers
and sellers, which means the existing trend may be on the verge of a reversal. If buyers have been controlling a
bullish advance over a period of time, you will typically see full-bodied candlesticks that personify the bullish
nature of the move. However, if a doji candlestick suddenly appears, the indication is that buyers are suddenly
not as confident in upside price potential as they once were. This is clearly a point of indecision, as buyers are no
longer pushing price to higher valuation, and have allowed sellers to battle them to a draw-at least for this one
candlestick . This leads to profit taking, as buyers begin to sell their profitable long positions, which is heightened
by responsive sellers entering the market due to perceived overvaluation. This "double whammy" of selling
pressure essentially pushes price lower, as responsive sellers take control of the market and push price back
toward fair value.
Basic candle patternsBasic candle patterns marker marks:
- Doji stars
- Doji graves
- Doji dragonflies
- Hammers
- Reversed hammers
- Hanging mans
- Falling stars
- Absorption up/down
- Tweezers up/down
- Three inside ups/downs
Doji & hammers markerDoji & hammers marker marks:
- long/ short doji star ( marks as doji star )
- doji grave
- doji dragonfly
- hammer
- falling star
- hanging man
- reversed hammer
Doji detectorDoji detector marks doji candles.
Can find:
- short / long Doji star ( marks as Doji star )
- Doji grave
- Doji dragonfly
Volume/$ - Color Trend BarsThis is the volume script I use on all my charts. The idea is to emphasize trend bars with green and red.
Highish volume doji bars are colored yellow to point out range compression churn areas which can often be the turning point of a trend.
Doji Backtest This is a candlestick where the open and close are the same.
WARNING:
- For purpose educate only
- This script to change bars colors.
Doji Strategy This is a candlestick where the open and close are the same.
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.
All indicators in one!All indicators in one!
Hull MA (2 colors) + Bollinger Bands + 6 EMA + 50 SMA + 200 SMA + Parabolic SAR + SUPER TREND (2 colors) + Doji signals (yellow)
Candlestick Patterns [DW]This is a simple study designed to track multiple candlestick patterns. Custom alerts included.
Price Action Doji Harami v0.2 by JustUncleLThis is an updated and final version of this indicator. This version distinguishes between the true Harami and the other Doji candlestick patterns as used with the Heikin Ashi candle charts. These candle patterns indicate a potential trend reversal or pullback.
The patterns identified are:
- Bearish Harami (Red Highlight above Bar):
One to three (default 3) large body Bull (green) candles followed by a small (red)
or no body candle (less than 0.5pip) with wicks top and bottom that are at least 60% of candle.
- Bullish Harami (Green Highlight below Bar):
One to three (default 3) large body Bear (red) candles followed by a small (green)
or no body candle (less than 0.5pip) with wicks top and bottom that are at least 60% of candle.
- Bearish Doji (Fuchsia Highlight above Bar):
One to three (default 3) large body Bull (green) candles followed by a small (green)
with wicks top and bottom that are at least 60% of candle.
- Bullish Doji (Aqua Highlight below Bar):
One to three (default 3) large body Bear (red) candles followed by a small (red)
with wicks top and bottom that are at least 60% of candle.
You can optionally specify how large the candles prior to Harami/Doji are in pips, default is 0 pip.
If you set this to zero then it will have no candle size consideration. You can also specify how many look back candles (1-3) are used in Harami/Doji calculations (default 3).
Included option to perform Calculations purely on Heikin Ashi candles, this helps when you want to see the HA Doji/Harami bars with the normal candle stick chart.
Also can optionally set an alert condition for when Harami/Doji found, this also displays a circle on the bottom of the screen when alert is triggered.
Doji signalsYou can create an alert based on this signal :)
Works on standard and Heikin-ashi candles
You can also adjust the sensitivity (how big you want the body of the doji)
:)
Spinning TopsThis is my script for a spinning top. It is just another form of a doji. It is an indecision bar. Enjoy.