Trading ABC

Published on MillionChart by AlphaHunter.

Trading ABC looks for ABC patterns that agree with the trend and then marks bounces from them. It was built after repeated requests from followers for an ABC pattern tool.

How it works:
- A trend cloud is built from simple and exponential moving averages, with default lengths 50, 100, 150, 200, 20 and 40, and used to check the trend. The lengths can be changed.
- A ZigZag is created using the ZigZag Period in the options.
- Using the last two ZigZag waves, the script checks for a suitable ABC pattern according to the trend, the minimum and maximum Fibonacci levels, and an error rate.
- It then checks whether price bounces after the pattern.
- When all conditions are met a triangle is plotted, and multiple bounces show multiple triangles.

You can set:
- ZigZag Period.
- Fibonacci max and min levels.
- Error Rate.
- The moving average lengths.
- Whether to keep old ABC lines and labels.
- Whether to show the ZigZag, the Fibonacci levels and the trend cloud.
- Colors.