All Indicators in one ( RSI - SMA - STOCH - MACD - ADX - MFI )This Indicator will improve your Chart reading as it display most of the common used Indicators in a table with colored Background changes depend on the status of the indicator .
What indicators does this script have ?
RSI Multi timeframes (Chart RSI - 15m - 1h - 4h )
SMA ( 5 - 10 - 20 - 50 )
Stochastic
MACD
ADX
MFI
all of the above indicators will show in a table , table cell will change in color ( green or red ) depend on the status of the indicators
Green and red table status :
For the RSI
If RSI is above RSI MA = Green which indicate - up trend
if not then its RED which indicate down trend
-----------
For SMA
if Price above SMA = Green which indicate - up trend
if not then its RED which indicate down trend
also SMA 50 when price is above it , it changes its color to green
if price is under SMA 50 , it will be red
-----------------------
For Stochastic :
if K > D and ks < 90 = Green which indicate - up trend
if not then its RED which indicate down trend
-----------------------
For MACD
if MACD is above signal and MACD is bigger than 0.000 = Green which indicate - up trend
if not then its RED which indicate down trend
-----------------------
For ADX
if ADX> 20 and plus > minus = Green which indicate - up trend
if not then its RED which indicate down trend
-----------------------
For MFi
if MFi > 75 = Overbought which indicate - a dump could happen
if MFi < 20= Oversold which indicate - a pump could happen
if MFI < 50 and > 20 = Bearish Range which indicate - price is going down
if MFI > 50 and < 75 = Bullish Range which indicate - price is going UP
also added a feature
whenever the price cross the 50 SMA
it will show you the lowest price from the 10 Previous candles , could be used as a stoploss
**
All settings can be adjusted to your needs
Patterns Harmoniques
Impactful pattern and candles pattern AlertThe Alertion indicator!
impactful pattern:
pattern that happen near the zone or in the zone at lower timeframe and give us entry and stop limit price.
It is helpful for price action traders and those who want to decrease their risk.
There are 3 IP patterns:
Quasimodo
Head and shoulder
whipsaw engulfing
These patterns may occur near the zone or may not occur but by them, you can decrease your trading risk for example you can
trade with half lot before IP pattern and enter with other half after pattern.
how to use?
for example:
you find zone at 1h timeframe for short position
when price enter to your zone
you run this indicator and choose your lower timeframe, for example 15m and click on short position.
Then make the alert by right-click on your chart and choose the add alert and at condition box choose the impactful pattern and then click on create
now wait for message :)
Candles pattern:
like reversal bar, key reversal bar, exhaustion bar, pin bar, two-bar reversal, tree-bar reversal, inside bar, outside bar
these occur when the trend turn, so it is usable when the price enter to your zone or near your zone.
This pattern can decrease your risk.
Inside bar and outside bar:
if this pattern engulf up, it is bullish pattern and if engulf down, it is bearish pattern.
what does this indicator do?
this indicator is for making alert
it helps you to decrease your risk and failure.
You optimize it to alert you when IP pattern happen or candle pattern happen or inside bar or outside bar engulfing or all of them.
For IP pattern, it will message you entry and stop limit price.
It works at 2 different timeframes, so you can make alert for example in 1h TF for candles pattern and 15m TF for IP pattern.
Indicator will alert you for candles pattern at your chart timeframe and for IP pattern at timeframe you've chosen when you run the indicator, and it is changeable
in setting.
setting options
TIMEFRAME
IP: select the timeframe for IP patterns it means when IP pattern happen at that timeframe the indicator will alert you
example = your TF is 1h, you found the supply zone and want to trade, note that IP pattern happen in lower TF, so you select 15m TF or TF lower than 1h.
Short position: select it if you want to make short position.
BUFFERING
indicator send you entry and stop limit price
you can change it by amount of percent
it is your strategy to change your entry and stop loss or not
example= in head and shoulder pattern at short position, the stop limit is high price of head in pattern
so the indicator will message you the exact price but if you want to put
your stop limit 5 percent upper than exact price you can enter 5 in front of stop loss
or you want to enter 5 percent lower than exact high price of shoulder, you can optimize it.
ALERTION
you choose what alert you want
IP alert or candle alert or inside and outside bar alert
type your text for alert
you can write additional text for your message
ADVANCE
IP alert frequency option:
1. Once per bar : indicator will alert you for IP pattern once at your chat timeframe bar, and you should wait til next bar for next alert.
2. Once per bar close : alert you when your chart timeframe bar closed and next alert will happen when next bar is closed.
3. All: alert you all the times IP pattern happen
pivot left and right bars: lower will find smaller pattern
at the END:
this indicator is not strategy
it is part of your strategy that help you to increase your winning rate.
It is helpful for scalping and candle patterns finding.
After you make an alert, you can delete the indicator or change your timeframe or make another alert, your previous alert won’t change.
Thank you all.
Fourier Extrapolator of Price w/ Projection Forecast [Loxx]Due to popular demand, I'm pusblishing Fourier Extrapolator of Price w/ Projection Forecast.. As stated in it's twin indicator, this one is also multi-harmonic (or multi-tone) trigonometric model of a price series xi, i=1..n, is given by:
xi = m + Sum( a*Cos(w*i) + b*Sin(w*i), h=1..H )
Where:
xi - past price at i-th bar, total n past prices;
m - bias;
a and b - scaling coefficients of harmonics;
w - frequency of a harmonic ;
h - harmonic number;
H - total number of fitted harmonics.
Fitting this model means finding m, a, b, and w that make the modeled values to be close to real values. Finding the harmonic frequencies w is the most difficult part of fitting a trigonometric model. In the case of a Fourier series, these frequencies are set at 2*pi*h/n. But, the Fourier series extrapolation means simply repeating the n past prices into the future.
This indicator uses the Quinn-Fernandes algorithm to find the harmonic frequencies. It fits harmonics of the trigonometric series one by one until the specified total number of harmonics H is reached. After fitting a new harmonic , the coded algorithm computes the residue between the updated model and the real values and fits a new harmonic to the residue.
see here: A Fast Efficient Technique for the Estimation of Frequency , B. G. Quinn and J. M. Fernandes, Biometrika, Vol. 78, No. 3 (Sep., 1991), pp . 489-497 (9 pages) Published By: Oxford University Press
The indicator has the following input parameters:
src - input source
npast - number of past bars, to which trigonometric series is fitted;
Nfut - number of predicted future bars;
nharm - total number of harmonics in model;
frqtol - tolerance of frequency calculations.
The indicator plots two curves: the green/red curve indicates modeled past values and the yellow/fuchsia curve indicates the modeled future values.
The purpose of this indicator is to showcase the Fourier Extrapolator method to be used in future indicators.
Fourier Extrapolator of Price [Loxx]Fourier Extrapolator of Price is a multi-harmonic (or multi-tone) trigonometric model of a price series xi, i=1..n, is given by:
xi = m + Sum( a *Cos(w *i) + b *Sin(w *i), h=1..H )
Where:
xi - past price at i-th bar, total n past prices;
m - bias;
a and b - scaling coefficients of harmonics;
w - frequency of a harmonic;
h - harmonic number;
H - total number of fitted harmonics.
Fitting this model means finding m, a , b , and w that make the modeled values to be close to real values. Finding the harmonic frequencies w is the most difficult part of fitting a trigonometric model. In the case of a Fourier series, these frequencies are set at 2*pi*h/n. But, the Fourier series extrapolation means simply repeating the n past prices into the future.
This indicator uses the Quinn-Fernandes algorithm to find the harmonic frequencies. It fits harmonics of the trigonometric series one by one until the specified total number of harmonics H is reached. After fitting a new harmonic, the coded algorithm computes the residue between the updated model and the real values and fits a new harmonic to the residue.
see here: A Fast Efficient Technique for the Estimation of Frequency , B. G. Quinn and J. M. Fernandes, Biometrika, Vol. 78, No. 3 (Sep., 1991), pp. 489-497 (9 pages) Published By: Oxford University Press
The indicator has the following input parameters:
src - input source
npast - number of past bars, to which trigonometric series is fitted;
nharm - total number of harmonics in model;
frqtol - tolerance of frequency calculations.
The indicator plots the modeled past values
The purpose of this indicator is to showcase the Fourier Extrapolator method to be used in future indicators. While this method can also prediction future price movements, for our purpose here we will avoid doing.
Regression Channel Alternative MTF█ OVERVIEW
This indicator displays 3 timeframes of parallel channel using linear regression calculation to assist manual drawing of chart patterns.
This indicator is not true Multi Timeframe (MTF) but considered as Alternative MTF which calculate 100 bars for Primary MTF, can be refer from provided line helper.
The timeframe scenarios are defined based on Position, Swing and Intraday Trader.
█ INSPIRATIONS
These timeframe scenarios are defined based on Harmonic Trading : Volume Three written by Scott M Carney.
By applying channel on each timeframe, MW or ABCD patterns can be easily identified manually.
This can also be applied on other chart patterns.
█ CREDITS
Scott M Carney, Harmonic Trading : Volume Three (Reaction vs. Reversal)
█ TIMEFRAME EXPLAINED
Higher / Distal : The (next) longer or larger comparative timeframe after primary pattern has been identified.
Primary / Clear : Timeframe that possess the clearest pattern structure.
Lower / Proximate : The (next) shorter timeframe after primary pattern has been identified.
Lowest : Check primary timeframe as main reference.
█ EXAMPLE OF USAGE / EXPLAINATION
Deep FinderThis indicator shows you the most convenient buying times. It helps you lower your average and earn high profits by purchasing incrementally.
PurpleAndBlue by GurkyTuncer Sengoz’s theory of ‘isolated peak and bottom’.
Short1: Isolated Peak conditions occured 1 bar after the peak
Short2: Isolated Peak conditions occured 2 bars after the peak
Long1: Isolated Bottom conditions occured 1 bar after the bottom
Long2: Isolated Bottom conditions occured 2 bars after the bottom
It will help you find the highest and lowest points.
You can try in different time zones.
HarmonicCalculation█ OVERVIEW
This library is complementary for XABCD Harmonic Pattern Custom Range Interactive
PriceDiff()
: Price Difference
Parameters:
: : price_1, price_2
Returns: : PriceDiff
TimeDiff()
: Time Difference
Parameters:
: : time_1, time_2
Returns: : TimeDiff
ReturnIndexOf3Arrays()
: Return Index Of 3 Arrays
Parameters:
: : id1, id2, id3, _int
Returns: : ReturnIndexOf3Arrays
AbsoluteRange()
: Price Difference
Parameters:
: : price, y, point
Returns: : AbsoluteRange
PriceAverage()
: To calculate average of 2 prices
Parameters:
: : price_1, price_2
Returns: : PriceAverage
TimeAverage()
: To calculate average of 2 times
Parameters:
: : time_1, time_2
Returns: : TimeAverage
StringBool()
: To show ratio in 3 decimals format
Parameters:
: : _value, _bool, _text
Returns: : StringBool
PricePercent()
: To show Price in percent format
Parameters:
: : _price, PriceRef, str_dir
Returns: : PricePercent
BoolCurrency()
: To show syminfo.currency
Parameters:
: : _bool
Returns: : BoolCurrency
RatioText()
: To show RatioText in 3 decimals format
Parameters:
: : _value, _text
Returns: : RatioText
RangeText()
: To display RangeText in Harmonic Range Format
Parameters:
: : _id1, _id2, _int, _text
Returns: : RangeText
PriceCurrency()
: To show Currency in Price Format
Parameters:
: : _bool, _value
Returns: : PriceCurrency
HarmonicDB█ OVERVIEW
This library was to showcase database for specifications of Harmonic Patterns using arrays.
█ CREDITS
Scott M Carney, author of Harmonic Trading : Volume Three
animal_db(x)
TODO: export animal_db
Parameters:
x : TODO: float value is set to default if not necessary
Returns: TODO:
Harmonic Table Combo Point B█ OVERVIEW
This indicator was intended as educational purpose only and alternative way to show value in table as shown in Harmonic Pattern Possibility Table .
█ CREDITS
Credit to Scott M Carney, Harmonic Trading Volume 3: Reaction vs. Reversal.
█ USAGE EXAMPLE
Hyper Bot | Self Optimizing Buy & SellThis strategy primarily uses Bollinger Bands with custom improvements and alterations in entry exit signals which i have learned over the past years.
How to use?
Visit strategy settings. You will see checkboxes before all options, meaning they can be turned ON and OFF.
For "Long SL %" to work, the "LONG" should be enabled aswell. If Long is not enabled, changing numbers in "Long SL%" won't make any difference.
Likewise if you want to test take profit, then either long or short or both should be enabled with "TP Long%" or "TP Short%"
This wide customization is being provided for you to be able to test all possible variations and choose whichever best is working for you. Play around with the numbers of SL% and TP% and find best ones that work for you in terms of drawdown, risk to profit etc.
Commission 0.1% by default is included, if however your commissions are lower, please change them to get better results.
This strategy is mainly optimized for Cryptocurrencies, however if you wish to use for indices and commodities please DM me, i will provide customization services.
Enjoy!
© Copyright 2022 "M Tahreem Alam"
Wolfe Scanner (Multi - zigzag) [HeWhoMustNotBeNamed]Before getting into the script, I would like to explain bit of history around this project. Wolfe was in the back of my mind for some time and I had several attempts so far.
🎯Initial Attempt
When I first developed harmonic patterns, I got many requests from users to develop script to automatically detect Wolfe formation. I thought it would be easy and started boasting everywhere that I am going to attempt this next. However I miserably failed that time and started realising it is not as simple as I thought it would be. I started with Wolfe in mind. But, ran into issues with loops. Soon figured out that finding and drawing wedge is more trickier. I decided will explore trendline first so that it can help find wedge better. Soon, the project turned into something else and resulted in Auto-TrendLines-HeWhoMustNotBeNamed and Wolfe left forgotten.
🎯Using predefined ratios
Wolfe also has predefined fib ratios which we can use to calculate the formation. But, upon initial development, it did not convince me that it matches visual inspection of Wolfe all the time. Hence, I decided to fall back on finding wedge first.
🎯 Further exploration in finding wedge
This attempt was not too bad. I did not try to jump into Wolfe and nor I bragged anywhere about attempting anything of this sort. My target this time was to find how to derive wedge. I knew then that if I manage to calculate wedge in efficient way, it can help further in finding Wolfe. While doing that, ended up deriving Wedge-and-Flag-Finder-Multi-zigzag - which is not a bad outcome. I got few reminders on Wolfe after this both in comments and in PM.
🎯You never fail until you stop trying!!
After 2 back to back hectic 50hr work weeks + other commitments, I thought I will spend some time on this. Took less than half weekend and here we are. I was surprised how much little time it took in this attempt. But, the plan was running in my subconscious for several weeks or even months. Last two days were just putting these plans into an action.
Now, let's discuss about the script.
🎲 Wolfe Concept
Wolfe concept is simple. Whenever a wedge is formed, draw a line joining pivot 1 and 4 as shown in the chart below:
Converging trendline forms the stop loss whereas line joining pivots 1 and 4 form the profit taking points.
🎲 Settings
Settings are pretty straightforward. Explained in the chart below.
Harmonic Pattern Possibility Table█ OVERVIEW
This indicator was intended as educational purpose only based on Harmonic Pattern Table (Source Code) and Ratio For Harmonic Points to show Harmonic Pattern Possibility.
█ INSPIRATION
This indicator was build upon realizing there are some overlap for B = XA among Alternate Bat, Bat, Crab and Gartley.
Hence, the values split up to showcase the possibility of non overlap ratio.
█ USAGE
Possible pattern, priority pattern and selected pattern may differs based value input.
Therefore C = AB, D = BC, D = XA and Stop Loss will change based value input and also selected pattern.
█ CREDITS
Credit to Scott M Carney, Harmonic Trading Volume 3: Reaction vs. Reversal.
Fractal Basic Chart Patterns [MyTradingCoder]This script is something that I made a long time ago in my early days of learning Pine. It is not in development anymore but has some unique and impressive utility that will help the community. This script will fractally identify chart patterns(iH&S,H&S,W,M) on any chart and timeframe. Most scripts have limitations that make the user have to adjust various parameters to get the desired result to show up on the chart. Lower input values may show smaller patterns, whereas vise versa, higher input values may show larger patterns, but you never seem to get the best of both worlds with these types of scripts. Some users may appreciate the vast majority of input parameters that most scripts provide, but others like myself may find it restrictive and annoying, as you wont get large patterns AND small patterns simultaneously.
All details needed to understand how to use the script are listed below. I will be creating new and well written scripts in the near future moving forward to help the community as best as I can, and just wanted to make it clear that this particular script is just something that I had on the backburner from a very long time ago, before I was a "Pinescript Maven" :) Enjoy!
Available Patterns:
- W Pattern
- M Pattern
- Head and Shoulders Pattern
- Inverse Head and Shoulder Pattern
Customizable inputs:
- Option to specify minimum bars required to consider a pattern.(Can be helpful if you don't want to see lower timeframe patterns, as some may not look like patterns, but if you drop the timeframe and go to the same time, there will be a pattern there on a lower scale)
- Boolean Inputs to Enable/Disable Certain Patterns
Available Alert Options:
- W Pattern Alert
- M Pattern Alert
- H&S Pattern Alert
- iH&S Pattern Alert
User Manual:
- Patterns will be drawn/detected/finalized on the bar close when the neckline is broken
- Green/Red lines represent the historical structure used to identify each pattern
- Blue dashed lines represent the projected price action based on the pattern completing
- Alerts/Indicator will not repaint(Can use 'once per bar' or 'once per bar close' and behavior will be identical. Code is optimized.)
- May have trouble on assets with daily/weekend time gaps with the projected price action dashed line due to time being used as the xloc. If this becomes a problem, leave a comment below and I will consider bringing this back into development and convert to bar_index as xloc to fix the issue.
- Patterns can be all shapes and sizes, hence the beauty of this indicator
- Leave a comment below for any questions or requests and give the indicator a like if you find it useful
FxCanli ZigZagEN - You can spot current trend and lots of patterns with FxCanli ZigZag indicator EASLY
TR - FxCanli ZigZag indikatörü mevcut trendi ve birçok formasyonu KOLAYCA bulmanızda size yardımcı olacaktır.
Harmonic Patterns / Harmonik Formasyonları
Elliott Wave / Elliott Dalgaları
AB=CD Pattern / AB=CD Formasyonu
EN - By activating the lower timeframe from the settings, you can see the lower timeframe waves.
TR - Ayarlardan alt zaman dilimini aktif ederek, alt zaman dilimi dalgalarını görebilirsiniz.
EN - By activating the higher timeframe from the settings, you can see the higher timeframe waves.
TR - Ayarlardan üst zaman dilimini aktif ederek, üst zaman dilimi dalgalarını görebilirsiniz.
Crab Range FinderFinds the "crab range" of current price action.
///////
The lines corresponds are follows:
Green line represents the average high price
Orange line represents the median price
Yellow line represents the average low price
///////
By default, the last 5 bars are used when calculating the price lines, this value can be changed in settings as needed to tune for accuracy.
Ratio For Harmonic Points█ OVERVIEW
This indicator was intended as educational purpose only based on Harmonic Pattern Table (Source Code) to show indication of ratio for each Harmonic points from Point B until Stop Loss.
█ CREDITS
Credit to Scott M Carney, Harmonic Trading Volume 3: Reaction vs. Reversal.
█ USAGE EXAMPLE
Auto Harmonic Patterns Indicator [Premium]
This indicator automatically detects and draws harmonic patterns.
For each Fibonacci ratio in Scott Carney's basic harmonic pattern, you can easily find it by Googling.
Here, we have added a certain allowable range to point b of the xabcd type patterns as shown below.
- Deep Crab : 0.886 + 5% (no minus range)
- Alternate Bat : 0.382 - 3% (no plus range)
- Gartley, Butterfly : +- 3%
- rest patterns : +- 5%
You can set up to 8 ranges per period. Depending on your strategy, you can set the period from short-term to medium-term and long-term as desired.
When an expected harmonic pattern is detected, a model is drawn up to point c, and the predicted position of the potential reversal zone (PRZ) with the possibility of point d in the future is marked.
Investors can see price movements to prz in advance and prepare to react.
If a completed pattern is detected up to point d, it draws a pattern and additionally draws the Fibonacci retracement ratio at point d.
Investors can look at the Fibonacci ratio to determine stop-loss and profit-loss points.
Other fixes
Reinforcement of PRZ(d) zone marking
Real-time position adjustment of the PRZ(d) zone according to the current trend
Fibonacci retracement displayed when zone PRZ(d) is achieved
Change settings panel UI
Error rate scoping
Keep past patterns setting
Added Fibonacci line length setting function
Set the error rate separately for each point : 1~10%
Total 18 Patterns
- Gartley
- Deep Gartley
- Crab
- Deep Crab
- Bat
- Alternate Bat
- Butterfly
- Shark
- Cypher
- Three Drives
- 5 - 0
- Nen Star
- Dragon
- White Swan
- Black Swan
- ABCD classic
- AB=CD
- ABCD extension
Auto Harmonic Pattern - UltimateX [Trendoscope]IMPORTANT NOTE: (Read this before looking at any other thing on this indicator)
This indicator is created to supersede existing Auto-Harmonic-Pattern-Ultimate-Trendoscope invite only script. The script deviates a lot from the original Auto Harmonic Patterns Ultimate script in terms of number of available patterns, trading type and few other things. Hence, instead of updating the existing script, we have just decided to release as new script. Few FAQs in this regard are as below
What it means for users of AHPU and new users?
▶ Subscription of this script is not sold separately, but will be offered along with existing AHPU script. Meaning, there will be single subscription for both scripts together.
▶ All existing subscribers of AHPU will also get access to this script for the duration of their subscription term. Will start adding access to users starting from lifetime subscribers first.
▶ Any new subscriptions to AHPU will also get access to both the scripts together. We will eventually look to phase out existing AHPU once users are accustomed to new script and any possible bugs are resolved.
▶ Any trial requests will also get access to both scripts. You can request trial even if you have recently requested trial for AHPU.
Why did we create new script instead of updating the existing one?
▶ As mentioned before, this script deviates a lot from the original AHPU. Hence, it is released as new version to make sure smoother transition of users. If anyone is not comfortable using the new version, they can continue using the existing AHPU script until things settle down.
▶ Since the script is new implementation, it may also have initial bugs. It will help us resolve it in more streamlined way.
What are the main differences between these scripts?
▶ Uses single zigzag instead of multi as algorithm is further improved to detect almost everything using single zigzag.
▶ More number of patterns added. But, new patterns are disabled by default as some of them have very wide PRZ. Users can enable it via settings.
▶ Trading type with trailing entry - With wide PRZs, we also had to implement different method for calculating entry/stop. This is explained later in the script.
▶ Matrix implementation and enhanced stats - Entire implementation is redesigned to use matrix data structure instead of arrays. This allows lots of possibilities including enhanced closed trade stats.
▶ Support/Resistance widget is removed as it is proving to be bit of overhead. Users can make use of Support Resistance widget script which is a free to use script instead.
Let's get to the details of indicator now.
🎲 Indicator Components
🎯 Patterns Covered
● Classic Patterns
Gartley
Bat
Butterfly
Crab
Deep Crab
Cypher
Shark
Nenstar
● Anti/Alternate Patterns
Anti Nenstar
Anti Shark
Anti Cypher
Anti Crab
Anti Butterfly
Anti Bat
Anti Gartley
Navarro200
● Non-Standard Patterns (Disabled by default)
Five Zero
Three Drives
White Swan
Black Swan
Sea Pony
Leonardo
121
Snorm
Total
Below is a quick snapshot of indicator components.
Now, lets look at some of the individual components:
🎯 Open trade stats helps recognise trades in motion.
Apart from regular stats, it also contain different types of risk reward ratios.
Regular RR : RR calculated from entry to reach target with initial stop for risk consideration
Trailing RR : This is RR calculated for price to reach from one target to next target considering trailing stop for calculating risk
Live RR : This is calculated based on current price as entry and with given targets and stop levels. Live RR will be blank for targets which are already reached.
Targets are calculated only when entry is made. Hence, target details are not shown for patterns where it is still awaiting entry.
🎯 Closed trade stats helps understand historical performance of patterns.
By default closed stats are displayed in Compact mode. Which means, only total stats are shown. But, users can change this to show detailed stats via settings. Detailed stats take up entire screen most of the time. So, keep them only if it is required.
Closed stats present average Risk Reward, Trailing Risk Reward, Average Win Rate, and Average Trailing Win Rate for all the possible levels. As discussed before.
Regular RR : RR calculated from entry to reach target with initial stop for risk consideration
Trailing RR : This is RR calculated for price to reach from one target to next target considering trailing stop for calculating risk
Win Rate : Simple win rate calculation based on number of patterns reached target and number of valid patterns.
Trailing Win Rate : This is win rate calculated based on previous target to current target.
For example, if there are 48 valid patterns and out of which 24 patterns reach target1 and 12 patterns out of 24 reach target 2
Target1 WR : 50% (24/48)
Target1 TWR : Not applicable as there is no target before Target1
Target2 WR : 25% (12/48)
Target2 TWR : 50% (12/24)
🎲 Settings
Tooltips are provided to help with each and every settings. And they are as below.
🎲 Fully Customisable Alerts - Placeholders
Alerts are created via alert() method of pine. Hence, users will not see message box for alert template on alert widget.
Instead alerts widget look something like this:
To overcome this issue, script provides alert template placeholders as part of settings. In settings, you can already see Alert section where you can enable/disable alerts for different events.
▶ New Pattern Detection
▶ Entry Reached
▶ Target1-4 Reached
▶ Stop price reached
▶ Trade Complete - either by stop or reaching target 4
You can use following placeholders in the given text boxes to create your own alert template.
🎯 Common placeholders which are applicable for all alerts
{type} - Alert Type
- New Harmonic Pattern
- Harmonic Pattern Status Update
- Harmonic Pattern Trade Closure
{id} - Pattern Id. This is not fully unique id. But, this will be unique for all open trades. Once trade is closed, Ids are reused whenever feasible.
{ticker} - Ticker information
{timeframe} - Timeframe information
{price} - Current close price
{patterns} - Possible patterns for the projections or PRZ.
{direction} - Trade direction - Bullish or bearish
{entry} - Calculated entry for pattern
{stop} - Calculated stop for pattern
{tstop} - Trailing stop for the pattern in trade
{target1} - Target1 for pattern in trade
{target2} - Target2 for pattern in trade
{target3} - Target3 for pattern in trade
{target4} - Target4 for pattern in trade
🎯 There are few specific placeholders, which are applicable for some alert types.
Harmonic Pattern Status Update
{status} - Status of the Pattern in trade
{laststatus} - Previous status of the Pattern in trade
Harmonic Pattern Trade Closure
{result} - Trade result upon closure
Auto Harmonic Pattern Projections (MTF)Hello traders, I am excited to introduce to you the Auto Harmonic Pattern Projections indicator!
How does it work?
This indicator identifies harmonic patterns by analyzing Zigzag pivot points on the chart and checking if the XABC points form the required Fibonacci retracements/extensions for each particular pattern type.
If the values are within their acceptable ranges after the C point is formed, then the indicator automatically projects the D point which is based on the required XA retracement/extension of that pattern and verifies it is also within the acceptable BC projection range.
Features:
Automatically identifies and draws potential harmonic patterns in real time as soon as price breaks the B point of the pattern.
- This early projection of a harmonic pattern gives you more time to analyze the chart before the price reaches the pattern’s completion point (D), to help you determine the probability of that pattern succeeding or failing.
Multi-time frame (MTF) functionality lets you modify the Zigzag time frame to display patterns across multiple time frames without needing to change the chart time frame.
Alerts can be added for each type of pattern which will trigger upon price breaking the B point.
Individually select which types of harmonic patterns you would like displayed on the chart.
Customizable options for each pattern (see below)
List of supported harmonic patterns:
Bat Pattern
Alt Bat Pattern
Crab Pattern
Deep Crab Pattern
Butterfly Pattern
Gartley Pattern
Shark Pattern
More will be added in the future! Check for updates below
Pattern options:
Manually change the allowable ranges for each leg of the pattern, with tooltips for each pattern that provides users with the rules and criteria.
Adjust stop loss level for each pattern.
Change the color of the pattern’s lines, fills, and labels.
Display the BC Projection level which is automatically determined based on the Fibonacci extension closest to the projected D point.
Display the AB=CD level, 1.272AB=CD Extension, and/or 1.618 AB=CD Extension.
Display the Stop Loss Level and Take Profit Levels
Example of a Butterfly Harmonic found, with the 1.272AB=CD level enabled
Preview of the indicator’s settings:
How to Set Up Alerts
Select which patterns you would like to receive alerts on, by checking them off in indicator settings.
Once you have made selections, click OK then save your chart.
Right click on a harmonic pattern on the chart or click the ellipsis (3 dots) next to indicator name at top of chart then click “Add alert on MTF Auto Harmonic Pattern Projection”
You may remove the default Alert Name if you’d like, as the alert message is already built in which informs user of the type of pattern found on a particular symbol.
If you change any settings after alert has been created, you will have to remove the existing alert then re-add it following the steps above.
To gain access to this indicator, please send me a direct message for details
Auto Chart Patterns - Ultimate [Trendoscope]Here is an attempt to gather and present stats and probabilities of different chart patterns. Here, we challenge few traditional biases such as rising wedge is bearish, falling wedge is bullish etc. All the chart patterns identified in this script are bi-directional. Meaning they offer opportunities to trade in either direction.
This indicator is built on the base of two free scripts
🎯 Wedge-and-Flag-Finder-Multi-zigzag
🎯 Trendline-Pairs-Deep-Search
🎲 Following are the major highlights/updates in the present script
▶ Uses the similar deep search algorithm for finding patterns. Pattern identification logic has been optimised to provide more accurate patterns.
▶ Provides suggestion on how to trade these patterns - along with entry, stop and target suggestions.
▶ Advanced options available in setting such as 'Safe Repaint' - which enables repaint only when trade has not started.
▶ Option to run algorithm within specified time window
▶ Comprehensive stats on historical patterns which include win ratio, risk reward, trailing win ratio and trailing risk reward.
▶ Open Trades Stats widget which can help tracking trades easily.
▶ Fully customisable alerts - which can be used to plugin into bots.
🎲 Chart Patterns Included
▶ Channel - Uptrend, Downtrend, Ranging
▶ Triangle - Expanding, Contracting
▶ Rising Wedge - Expanding, Contracting
▶ Falling Wedge - Expanding, Contracting
If unable to determine the type and yet pivots are inline to form two trend lines, then it goes to category - Indeterminate
🎲 Indicator Components
Below is a quick snapshot of indicator components.
Now, lets look at some of the individual components:
▶Open trade stats helps recognise trades in motion.
▶ Closed trade stats can either be shown with minimal stats or fully detailed stats.
🎲 Settings
▶ Generic Settings
▶ Zigzag and pattern selection
▶ Channel Settings
▶ Risk/Reward and Stats/Display Settings
🎲 Key Features
⬤ Safe Repaint :
This option allows redrawing pattern only if trade has not been taken. This increases accuracy of pattern detection. Example of impact of safe repaint is shows as below:
⬤ Trade Reversal or Breakout of Channels :
This option is useful to handle channels of different size. If the distance between channel trendlines are huge, then it is more advantageous to trade reversals. If the distance between trendlines of channel is small, it is more rewarding to trade the breakouts.
Here is an example of how this setting impacts the trade suggestions.
⬤ Detailed Closed Trade Stats :
Closed Stats settings give users option to see in depth details such as risk reward and win ratios for past patterns along with numbers.
⬤ Fully Customisable Alerts :
Alerts are implemented using alert method. Hence, users will not see text box in alert window where they can set alert format. To overcome this challenge, the indicator offers customisation of alerts through settings.
In the settings window, you notice below options for alerts
These settings allow users to enable/disable alerts for different status of patterns. The text box in the settings allows users to set customisable alert formats using specific placeholders.
Valid placeholders are:
{type} - Alert Type
{id} - Pattern id for which alert is generated
{ticker} - Ticker for which alert is generated
{timeframe} - Chart timeframe
{price} - Current close price
{pattern} - Name of the pattern
{longTrade} - Array containing stop, entry, target1 and target2 for long side of the trade for given pattern
{shortTrade} - Array containing stop, entry, target1 and target2 for short side of the trade for given pattern
{status} - Contains status of both long and short side of the trades as text
Default alert template set for all type of alerts is as below
{
"alert" : "{type}",
"id" : {id},
"ticker" : "{ticker}",
"timeframe" : "{timeframe}",
"price" : {price},
"pattern" : "{pattern}",
"long " : {longTrade},
"short " : {shortTrade},
"status" : "{status}"
}
An example alert looks like this:
If you just want to display pattern name and alert type, your alert message in the box should be something like this:
Type - {type}, Pattern - {pattern}
Will make a video on settings and usage when I get time :)
Auto Harmonic Patterns Indicator
Reinforcement of PRZ(d) zone marking
Current trend line
Real-time position adjustment of the PRZ(d) zone according to the current trend
Fibonacci retracement displayed when zone PRZ(d) is achieved
Code refactorings
Correction of previous highs and previous lows of the trend line finding PRZ
Separation of completed harmonic model and expected harmonic model logic
Add XAD ratio label
Error rate default of 1% applied
Carney Existing Formations v.1.5A harmonic formation pattern scanner based on the Harmonic Trading book series by Scott Carney.
Supported harmonic traiding formations:
Gartley
ButterFly
Bat
alt. Bat
Crab
Greate Crab
Shark
AB=CD
5-0
Cypher
Precise description and knowledge you can get from the Harmonic Trading book series by Scott Carney.
It's the oldest and not optimized version of harmonic formation scanner. Consider checking extensions more advanced versions:
Carney Potencial Formations - Predicting potencial harmonic formation patterns with projection of the target points (Extension to this one with the same old scanner code).
Extreme + XABCD - More advanced harmonic formation scanner that can detect both existing and potencial patterns. It provides also set of performence statistics for current stock.
Waves + XABCD - Move advanced harmonic formation scanner optimized for the Wave theory. Provides performace statistics and short feature waves estimations to notify you about formations as soon as possible.
Script settings:
| SCANNER |
Formation checkbox - Activate/deactive formation detection
Last bars to search - How far in the fast we should look to check formations.
max points distance - How big patterns we are looking for.
Inaccuracy - How large deviations from the "ideal pattern" we accept
Filter duplicates - Limit to one instance of formation type per final bar
Confirmation: precision - Defines how high/low should be the extreme X points in compare to XA value, to be valid.
Confirmation: 3 bars - X should be the extreme in a 3 bar wide neighborhood.
| SHOW |
Line color and width - To customize chart for your preferences
Labels:
H - Hidden
S - Short
F - Full
Show result dialog - You can pick format of formations labels.
| EXTENSIONS |
Carney Potencial Formations - Showing base information about Carney Potencial Formations script
Extreme + XABCD - Showing base information about Extreme + XABCD script
Waves + XABCD - Showing base information about Waves + XABCD script
Troubleshooting:
Result dialog error "Abandoned at ...." - Change "max points distance" to smaller value.
TraidingView (! character):
Loop takes too long to execute (>500ms) - Change "max points distance" to smaller value.
In case of any problems, please contact the author of the script.