Based on my "Renko Reversal Alert".
Will open a long trade and close all short trades, if there is a bullish renko reversal.
Will open a short trade and close all long trades, if there is a bearish renko reversal.
Back to my favourite supertrend. But, this time on the basis of zigzag pivots.
This is similar to forming supertrend based on pivot high lows - but instead of using pivot poitns, we are using zigzag pivots here.
Zigzag is derived using the same method as this script:
But, have removed labels...
THIS CODE IS BASED FROM THE MT4 ZIGZAG INDICATOR
THE ZIGZAG SETTINGS FOR THE MAIN ONE ON TRADINGVIEW DO NOT WORK THE SAME AS MT4
I HOPE U LOVE IT
I have had tons of experience on the ZIGZAG indicator and thought this might help someone.
Enjoy this code. Zigzag is a good indicator in many ways and people underestimate it because of its repainting
This is just experimenal zigzag
The zigzag % is adaptation of Ricardo santos old Zigzag %
the pivot are from pine script manual
So it try to cross them together
I think it need much work
but as i idea i put it for anypne who is interested
Renko based zigzag:
mode: can be Traditional or ATR .
modeValue: can be whole number if you use ATR mode, or floating point number in case of Traditional mode.
showOverlay: displays basis Renko overlay.
As requested a TEST script when possible future
Harmonic Patterns may occur, in this case the ABCD pattern.
When A, B, C are valid, the script will plot 2 lines between A-B and B-C, together with
2 white arrows,,where D MUST be in the future to become a valid ABCD pattern.
First of all, D MUST be a Pivot point, after which D must lay between D- and D+
- Best to have it in dark mode
- It would be great with Volume, StochRSI and MACD
1. MA/EMA Cross
2. Dual Bollinger Band
5. Swing High/Low
- Please let me know if you found a better way of implementing ZigZag.
This is standard zigzag indicator. I just coded them using lines array feature of pine - so that it can be done in least number of lines of code.
Few possible improvements:
Use label array to mark HH, HL, LH and LL
Add standard deviation check
Making lines is great in technical analysis since it can highlights principal movements and make the analysis of the price easier when using certain methodologies (Elliott Waves, patterns).
However most of the indicators making lines (Zig-Zag, simple linear regression) are non causal (repaint), this is the challenge i tried to overcome, making an...
Multiple Statistics from zigzag:
• Price range between swings.
• Bar range between swings.
returns maximum value, avg value and mean deviation.
if you find something missing, please leave a message bellow.
This script uses the Average Direction Index, On Balance Volume, and Exponential Moving Average, Moving Average Cross, MACD, Donchian Channels and two Parabolic SARs for stop loss, a normal one and a line one.
I tried to make the script as straightforward as possible, Buy when there is a buy signal and sell when there is a sell signal. I like using it on the...