Input parameter allows to chose which to be included in pattern identification and set different length, line color, width and style for each combinations.
Pattern rules are as below:
- oxa = 0.618
- 1.27 <= xab <= 1.618
- abc = 0.618
- 1.27 <= bcd <= 1.618
- 1.13 <= xab <= 1.618
- 1.618 <= abc <= 2.24
- bcd = 0.5
Related scripts are present here:
- Removed not so important line width and line style parameters.
- Set all width to 1 and style to solid.
- Changed colors to suit dark theme :)
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.
Join tradingview: https://www.tradingview.com/gopro/?share_your_love=sudh