Library "eHarmonicpatterns" Library provides an alternative method to scan harmonic patterns. This is helpful in reducing iterations scan_xab(bcdRatio, err_min, err_max, patternArray) Checks if bcd ratio is in range of any harmonic pattern Parameters: bcdRatio : AB/XA ratio err_min : minimum error threshold err_max : maximum error...
Have been working on this script from sometime. Thought it would be right time to publish this now :) This is enhanced and combined version of two open source scripts. Auto-TrendLines-HeWhoMustNotBeNamed Divergence-Support-Resistence ⬜ Major Enhancements to open source ▶ Concept of drawing trendlines remains same. But, logic has been altered to allow...
Let's play a game!! Find your Christmas Tree and post it in the comments. How to use the script? Open any instrument which best describes the Christmas Tree (Preferably on hourly timeframe). Apply X-Mas Tree script on the chart. Enjoy the snowfall, changes in lightings and other animations. Animations only happen if the instrument is in trading session....
This is a supertrend with slight twisted concept which can be very benefecial in strong trending markets to reduce stop loss distance and exit slightly quicker. ⬜ Concept ▶ When the instrument is trending up, regular ATR shows high values if there are big green candles. This affect the stoploss distance in regular supertrend which leads to wide stops or delayed...
⬜ Note: This is not the strength of currency pairs. But, in this script we are trying to derive strength of individual currencies by matching against single base currency. ⬜ Process This is based on similar concept as that of Magic Numbers for stocks. Idea is simple. ▶ Calculate strength of each currency against USD. Derive the strength for both price movement...
Hello Traders, Here is an attempt to perform comparative analysis between top cryptos based on strength (oscillator) and volume. Methodology used here is similar to Magic Number formula described in the post : Enhanced Magic Formula for fundamental analysis . But, instead of using fundamentals, we are making use of few technicals to derive similar outcome. Usage...
Library "_arrayutils" 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...
Library "harmonicpatterns" harmonicpatterns: methods required for calculation of harmonic patterns. These are customised to be used in my scripts. But, also simple enough for others to make use of :) isGartleyPattern(xabRatio, abcRatio, bcdRatio, xadRatio, err_min, err_max) isGartleyPattern: Checks for harmonic pattern Gartley Parameters: xabRatio :...
Unique live widget which provides information about support and resistance along with distance to immediate levels. ⬜ Custom Candle Source Three options of candles available ▶ Regular OHLC candles ▶ Heikin-Ashi candles ( Taken leaf out of @Bjorgum's book - but, still could not do it as good as him :) ) ▶ Moving average candles ⬜ Multiple zigzags and...
Experimental. In regular scenario divergence calculation follows these procedure Pivots on price are considered as primary source They are compared with pivots on oscillators Trend bias of price is used This is an experimental version where Pivots on oscillators are considered as primary source They are compared with pivots on price Trend...
I started off with the intention of creating script to identify Wolfe wave projection. But, soon ran into problem with loops. Realized drawing wedge is more difficult than drawing converging triangle. Hence, took a step back and started working on wedges and triangle identification. Ended up with a messy output which looked like this. Had to take another step...
This table is intended to give you snapshot of how price and oscillators are moving along with zigzag pivots. This is done in the same lines of Zigzag-Trend-Divergence-Detector But, here are the differences Table shows multiple oscillator movements at a same time instead of one selected oscillator Divergence is not calculated and also supertrend based...
Here it is, as promised, supertrend based on Zigzag candles. Earlier scripts on the Zigzag Candles expedition are here: Zigzag-Candles Zigzag-Candles-MA Zigzag candles parameters Length and CandleSize remain as is. Along with this, we also add MALength and AtrMult to calculate ATR based on the new candles and to use it to derive supertrend. ...
We have the candles here: Zigzag-Candles Lets create moving average!! Just simple moving average at the moment. Since, items are in array. Not so easy to use standard functions of pine. Hence, will take that for future enhancements. ATR and Supertrend next!!
Can't deny that I am obsessed with zigzags. Been doing some crazy experiments with it and have many more in pipeline. I believe zigzag can be used to derive better trend following methods. Here is an attempt to visualize zigzag as candlesticks. Next steps probably to derive moving average, atr (although there was an attempt of AZR made earlier) and probably...
Hello traders. After getting good response to my earlier Harmonic patterns scripts, decided to deep dive a bit and make it bit more interesting and detailed. Before I explain further on the script, few important things to note: The script is very intensive and may often timeout or give memory error. If that happens, just reload the script. It may not work on...
Lets make things bit complicated. Main difference between this script and the earlier Multi Zigzag Harmonic Pattern is the calculation logic of Zigzag 2, 3 and 4 In the earlier script, all zigzags were plain and were calculated on the basis of different lengths. (Such as 5, 10, 15, 20). These were derived on the basis of Multi Zigzag indicator In this...
Combining Multizigzag with harmonic patterns - this script generates harmonic patterns based on multiple deapth zigzags. Input parameter allows to chose which Zigzag to be included in pattern identification and set different length, line color, width and style for each Zigzag combinations. Pattern rules are as below: Gartley xab = 0.618 0.382 <= abc...