Using moving average crossover for identifying the change in trend is very common. However, this method can give lots of false signals during the ranging markets. In this algorithm, we try to find the extreme trend by looking at fully aligned multi-level moving averages and only look at moving average crossover when market is in the extreme trend - either bullish...
Library "ahpuhelper" Helper Library for Auto Harmonic Patterns UltimateX. It is not meaningful for others. This is supposed to be private library. But, publishing it to make sure that I don't delete accidentally. Some functions may be useful for coders. insert_open_trades_table_column(showOpenTrades, table_id, column, colors, values, intStatus,...
Micro zigzag is created based on similar concepts as that of zigzag but by using lower timeframe intra-bar data. The lines join candle's high/low points but also depict how the price movement within the candle happened. That is, if the high of the candle is reached first, pivot from previous candle join the high first and then low and vice versa. The output can...
Further development on the sub-candle concept defined in the earlier script. SubCandle This time instead of concentrating only on the last part, we are dividing the main candle into three parts. First Sub-Candle - Covers the candle movement from open to first of highest/lowest point. First sub-candle tells how fast/slow the initial movement took place and...
I created this script as POC to handle specific cases where not having tick data on historical bars create repainting. Happy to share if this serves purpose for other coders. What is the function of this script? Script plots a sub-candle which is remainder of candle after forming the latest peak. Higher body of Sub-candle refers to strong retracement of...
This is a very simple script which can be used as measure to define your trading zones based on volatility. Concept This script tries to identify the area of low and high volatility based on comparison between Bandwidth of higher length and ATR of lower length. Relative Bandwidth = Bandwidth / ATR Bandwidth can be based on either Bollinger Band, Keltner...
Library "drawcandles" simple utility to draw different candles using box and lines. Quite useful for drawing candles such as zigzag candles or MTF candles draw(o, h, l, c, oBar, cBar) draws candles based on ohlc values Parameters: o : Open Price h : High Price l : Low Price c : Close Price oBar : Open Time cBar : Close...
DO NOT USE THIS FOR TRADING. I am just showing off my new found recipe for pattern recognition ;) This script generates recursive zigzags till there are only 2 pivots. So, the logic goes like this. Level1 - Standard zigzag calculated from user input of length and max pivots using OHLC values Level2 - Multi level zigzag calculated on the basis of level1...
Library "arrays" Library contains utility functions using arrays. delete( arr , index) remove an item from array at specific index. Also deletes the item Parameters: arr: - array from which the item needs to be deleted index: - index of item to be deleted Returns: void pop( arr ) remove the last item from array. Also deletes the...
Here is my first attempt on defining volume profile. In this script, I am using new feature of pine security_lower_tf Upon loading the script, it will ask users to select Time range to show the volume profile. Once you select the time range, confirmation input will popup. Upon confirming the inputs, you will be able to view the volume profile Settings are...
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...
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,...
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...
Nothing fancy. Just converted the new matrix library of zigzags ( mZigzag ) into indicator as I sensed it can be useful as indicator. On top of the standard zigzag, the indicator also tracks given oscillators, moving average and volume indicators on each pivots. More indicators can be added programmatically - but it will take up space in chart. Hence, so far I...
After getting good response on Wedge-and-Flag-Finder-Multi-zigzag , I thought I will build little bit further into the script. Main differences Uses deep search algorithm for patterns instead of just using last 5 pivots Flag pattern is removed so that we can concentrate mainly on trend line pairs More number of overall patterns. Trend Patterns...
Library "mZigzag" Matrix implementation of zigzag to allow further possibilities. Main advantage of this library over previous zigzag methods is that you can attach any number of indicator/oscillator information to zigzag calculate(length, ohlc, indicatorHigh, indicatorLow, numberOfPivots) calculates zigzag and related information Parameters: length...
Here is a small attempt to automatically identify wedges and flags. Tradingview standard wedge checks for only 4 pivots. In this version, I have considered 5 pivots instead - which can help reduce noise as 4 pivots forming wedge can be quite common. In future, will also try to add more pivots in pattern recognition to make the signal more accurate. If wedge...
I got this idea from @fikira's script Intrabar-Price-Volume-Change-experimental The indicator calculates OBV and PVT based on ticks. Since, the indicator relies on live ticks, it only starts execution after it is put on the charts. The script can be useful in analysing intraday buy and sell pressure. Details are color coded based on the values. Data is...