Astro | Angular Distance | θAstro | Angular Distance | θ
Also known as Angular Separation , Apparent Distance , or Apparent Separation is the angle between the two sightlines, or between two point objects as viewed from an observer, in our case we can use it as Geocentric/Heliocentric prospective calculated from a combination of some trigonometry functions
We can use it to calculate the Angular Distance between two planets.
How to use it:
- 1st Ascension : The Right Ascension of the first object expressed in degrees.
- 1st Declination : The Declination of the first object expressed in degrees.
- 2nd Ascension : The Right Ascension of the second object expressed in degrees.
- 2nd Declination : The Declination of the second object expressed in degrees.
The result ll'be returned near the table "Angulare Distance" and all the values entered will be plotted on the table in top-right position of the screen.
Corak Harmonic
FxCanli Harmonic SniperEN - TradingView FxCanli HARMONIC SNIPER indicator can draw 9 different patterns on your charts and also give alerts when any pattern triggered, hit Stop and TP levels.
TR - TradingView FxCanlı HARMONIC SNIPER İndikatörü , grafiklerinizde 9 ayrı formasyonu çizer ve Formasyon aktif olduğunda ve Hedef / Stop seviyelerine ulaştığında alarm verir.
PATTERNS / FORMASYONLAR
* Gartley
* Bat
* Butterfly
* Crab
* Cypher
* AB=CD
* Libra
* PRJ
* 2618
FEATURES & EXAMPLES / ÖZELLİKLER & ÖRNEKLER
**************************************************************
Multi Language / Çok Dil
EN - You can get alerts in English or Turkish language
TR - Alarmları İngilizce veya Türkçe olarak alabilirsiniz.
Wave Type / Dalga Tipi
EN - You can choose the wave types, Small or Medium or Small+Medium
TR- Dalga tipini seçebilirsiniz. Small veya Medium veya Small+Medium
Pattern Number / Formasyon Sayısı
EN - As a default it shows one Bullish and one Bearish pattern, you can set it 2 or more and also you may just want it to show just Bullish or Bearish Patterns
TR - Varsayılan olarak bir Boğa ve bir Ayı formasyonu gösterir, 2 veya daha fazla olarak da ayarlayabilirsiniz ve ayrıca sadece Boğa veya Ayı Formasyonu göstermesini isteyebilirsiniz.
Pattern and Trade Levels Settings / Formasyon ve İşlem Seviyeleri Ayarları
EN - You can set size, color, line type of any trade levels. Also you can choose to show the name and price of the patterns and trade levels.
TR - Herhangi bir işlem seviyesinin boyutunu, rengini, çizgi türünü belirleyebilirsiniz. Ayrıca Formasyonların ve işlem seviyelerinin adını ve fiyatını göstermeyi seçebilirsiniz.
Backtest / Geriye Dönük Test
EN - You can make backtest of any pattern
TR - Herhangi bir formasyonun geriye dönük testini yapabilirsiniz
mess JBI have made an all in one powerful script. It contains all meme lines(Moving average, Ema, Dema, Vwma, Hma)
In general, orange color means negative and white means positive. But you can very easily customize the colors according to your need and enable and disable any meme line.
Dots represent change of price action, although it works on every time frame but I have got best results on 15minute and 4hour Time Frame.
Cross represent change in volume. Now that's the most powerful thing, I have picked time segmented oscillator and changed the cod to represent Volume change. To take a better note of market, Start from Bigger Time frames. This indicator predicted every move Perfectly.
Enjoy
Cup & HandleHi, here is my take on 'Cup & Handle'
Pivot Points - ph (highest points in a certain period) are stored in an array
When there is a new ph , previous ph's are compared to the latest one.
A temporary test line is drawn between these 2 points.
The script checks if a close (between these 2 points) doesn't break above this test line.
(test line is deleted afterwards)
If it doesn't, and the '% max breaks' are not breached, 2 circle shaped lines are drawn
(Top & Bottom line of the cup) which forms the Cup, together with the Handle.
The red box (Handle) is the maximum 33-50% retracement (% of cup height)
-> Only the latest pattern is shown, enabling 'Show Cup labels' shows the position of cup patterns in history.
They can be visualised by using 'Bar Replay'
'% max breaks' -> 'maximum highs/lows breaking through the Top/Bottom line
(% of bars between left & right extreme points of the Cup)
Settings:
- 'Left', 'Right' -> regulates Pivot Point values
- 'PP back' -> max lookback for Pivot High
More explanation can be found in following print screens,
or by checking the tooltips in the settings
Cheers!
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
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