Fractal BreakoutFirst of all, huge credit to synapticEx , whose brilliant use of the security function inspired me to figure out a way to get quasi-shape boundaries automatically drawn on a chart.
This study draws upper and lower trend lines, based on configurable fractal*** reversal detection, calculates slope from the last two upper or lower reversal points, and then extends a dotted line along the same slope...until the next upper (or lower) reversal occurs. If the high (or low) breaks this extension, the dotted line becomes solid to aid visibility. Reversal detection is configurable to use any number of ticks, but probably four to eight will work best.
I made the inclusion of volume in the reversal logic optional (off by default) and left the existing SMA input found in synapticEx's code intact, albeit with a lower default. With the addition of trend lines, I found volume hindered identification of reversals, although I could try various other filters than the SMA included originally.
I have also left intact the very nice ability to change the period and use the requested period identify reversals, courtesy of synapticEx.
This could be used in a strategy, as the values plotted are actual values that are available to include in logic and do not include knowledge of the future. However , information is not available until the floor of half the number of ticks used in reversal detection (I then offset by that number to line things up visually). Having never heard of it until now, I just Googled the Bill Williams Alligator strategy, which looks interesting, so maybe I could see how this could be ported to that.
***As I typed this, I remembered that while making reversal detection configurable, I changed the detection logic simply to look for highest (or lowest) of the desired length of ticks. I don't know whether this is not strictly fractal anymore, but if desired, with a little work, I could make it require consecutive, consistent changes before and after each reversal again.
Here are a few screenshots from hourly ticks, using the "current" (hourly) period, with and without volume, and playing with the number of points used to identify reversals.
Not using volume
Using volume
تحليل الشموع اليابانية
Price Action Candles R2.0 by JustUncleLThis is an updated version of my previous script, I have added a few extra Patterns and some patterns specs have chnaged over those specified by "Price Action Battle Station by theforexguy".
Because this script has diverted from the original specification of "theforexguy", I have decided to release it as a new version. Improvements have been made to some of the pattern finding calculations, for example Hammer and Shooting Stars are now special Pin Bars, they now must have preceding and succeeding confirm bars, so they do not occur very often.
NOTE: All the identification of PA candles is disabled by default.
Changes made in Version 2.0 :
Added Forex Morning and Evening Stars (the centre small candle is not a specific color).
Abbreviated text names for less cluttered look.
Change minimum/maximum bar sizes to be a % of current ATR, rather than pips, this makes relative sizing independent on Time Frame, and make the script work better with non-currency assets like stocks and commodities.
Change definition of Hammer and shooting Star so the the previous candle is part of a trend and is followed by a confirm candle.
Added some precendence test to reduce multiple action labels.
Not closed yet scriptI made this to serve as a reminder if a candle is not closed yet. This is to avoid entering a trade based on a candle that is not closed because this candle could look alot different by the time it closes. Good luck.
Mapping 9.1 / 9.2 / 9.3 (v2.1)Hi, This is my first pine script
It helps to map the first reference candles for the setups 9.1 9.2 and 9.1 from Larry Williams
Many thanks to Mr. Alexandre Fernandes Palex for the many public tutorials and videos about this setups.
You can find his very rich reference in his blog
Now, lets go to the mapping strategy.
1) At first, we test if the ema 9 is up or down
if it is Up the background is painted yellow and you can find the reference candles for the setups
if it is down the background is Gray and you can find the reference candles for the setups
2) Then we compare the close, highs and lows if the candle match some of the setup rules, and if match we plot a sign in the reference candle with the name of respective setup, now you can decide in the next candle if it is eligible for an entry SHORT/LONG position.
Please, few free to comment and tell me any inconsistency and possible upgrades...
Later as soon I’m get used withe pine script I will improve this script with more and more features
Best regards,
Alberto van Drunen
Alberto van Drunen
AutoCandlesHi everyone!, this Script is the first in my series of candlesticks indicators. Currently it supports only a few, but it´s quite strict about them, contrary to most scripts I do thorough calculations to avoid false signals, if you would like to soften the indicators so it generates more signals feel free to ask.
It uses the same interface for showing as the Candlestick Scanner by Nicolas, but use different formulas.
I encourage everyone to comment what indicators they would like to add (with proper reference so I can actually add them) or to correct improper behavior in the indicator. This way I will be able to perfect the indicator and make it more useful to everyone.
If anyone reads the pine code and wonders why I compare to the average true range frequently the answer is quite simple, it's done to make the algorithm work in ANY symbol, so concepts like long bars or "visible" gaps can actually be coded.
If anyone needs to hide the 0.0000 values of the script it needs to go to the properties of the chart, then background and then uncheck indicator values.
HighLowPricePercentage of ProfitTrailer Feeder offset criteriaThis is to check the distance/difference of the current price from the norm and is over the MinutesToMeasureTrend time window or LongTermMinutesToMeasureTrend.
You need to put the values in your appsetting and time interval of candle chart.
Default is 120 minute of MinutesToMeasureTrend value and 720 minute of LongTermMinutesToMeasureTrend value on 5 minute candle chart.
This script is to help myself understand the criteria of Feeder.
Any comments and suggestions are welcome.
Spotting HammersThis script can be used to spot hammers on the charts, I try to avoid false positives by ignoring candles which have less than 0.25% price difference between open and close.
SD_Bull_Bear_Engulfing_Rsi_SdThis strategy combines the idea of a bullish or bearish candle engulfing coupled with standard deviation (a 100% increase or a 50% decrease). The exit condition is placed if the percentage increase is achieved or 35<rsi<65.
The strategy requires refinement so please test the script and let know what can be incorporated to improve the efficiency.
Reversal Candlestick Pattern With Trend IndentifierThis script help to identified popular candlestick pattern combined with trend identifier.
Most script only focus on criteria of the pattern. Such as how much the length of the body compared to previous candle etc.
Besides criteria of the candle, this script also considered the trend into the logic.
For example bullish engulfing is a bullish reversal signal, which is only valid in a down trend.
To identified trend, I'm using RSI. Normally, RSI less than 50 is considered a down trend, and RSI greater than 50 is considered up trend. In this script, you can customize the criteria of how much RSI is up trend and down trend.
Default value RSI >= 55 is up trend, RSI <= 45 is down trend.
Your feedback and suggestion is welcome.
Supported pattern:
White Marubozu (wm)
Black Marubozu (bm)
Hammer (h)
Hanging Man (hm)
Inverted Hammer (ih)
Shooting Star (ss)
Bullish Engulfing (e)
Bearish Engulfing (e)
Tweezer Bottom (tb)
Tweezer Top (tt)
Three White Soldiers (tws)
Three Black Crows (tbc)
Morning Star (ms)
Evening Star (es)
Three Inside Up (tiu)
Three Inside Down (tid)
Reference:
babypips.com
Bearish Engulfing StrictMost of the engulfing indicators i tried seemed to only look at the candle bodies which i didnt like. This one takes into account the highs and lows as well. You get less signals but each one seem to be more reliable.
Bollinger BarsA partial implementation of Bollinger Bars, as developed by John Bollinger.
This seems to be as close as one can get to true Bollinger Bars with TradingView's current implementation of the Pine language.
It may be possible to complete one day.
Hammers, Bollinger Bands & Moving Average ExponentialShows indicators above/below hammer-like candles.
Also adds BB & EMA in order to reduce active indicator count.
Closing bars arrowsSimple script which adds arrows above or below bars.
Triangles will appear if close prices is in a above 80% or below 20% of tick price bar.
Default values can be changed from settings.
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)
Inside Bars - Rob Dee editCatch Inside Bars with ease with this tool.
Adjust the colour and intensity of the indication candle.
Candlestick Patterns [DW]This is a simple study designed to track multiple candlestick patterns. Custom alerts included.
PIN BAR INDICATOR real pin bar The indicator identify real pin bar candle (the shadow must be 2x the body)