Category Trend  Published on 11/10/2022

E7 Harmonic Structures

Description

E7 Harmonic Structures are customised for:

- Over 20 different Structures,

- Point C Structures,

- Point D Structures,

- Automatic Fib retracements,

- Potential Completion Zones (PCZ),

- Potential Reversal Zones (PRZ),

- Alerts and much much more.

This is a custom indicator from E7 Academy Ideally to be used with the E7 system. This custom indicator was developed using the E7Qnet deep neural network learning system.

The pictures below are examples of charts with both "Point C" and "Point D" structures with automatic Fib retracements on and off respectively.

Download the Indicator

Watch a live stream here 

 

 

 


using System;
using cAlgo.API;
using cAlgo.Indicators;
using cAlgo.API.Internals;
using cAlgo.API.Indicators;
using System.Collections.Generic;

namespace cAlgo.Indicators
{

    [Indicator(TimeZone = TimeZones.UTC, IsOverlay = true, AccessRights = AccessRights.FullAccess)]
    public class E7HarmonicStructures : Indicator
    {

        private string url = "https://www.e7harmonics.com/e7qnet";

        private string title = "your E7 Indicator securely here";

        protected override void Initialize()
        {

            string buttonText = "Download " + title;

            var background = new Rectangle 
            {
                Height = Chart.Height,
                Width = Chart.Width
            };

            var button = new Button 
            {
                Text = buttonText,
                Padding = "16",

                Style = ButtonStyle(Color.FromHex("#009345"), Color.FromHex("#10A651"))
            };

            button.Click += e => System.Diagnostics.Process.Start(url);

            var container = new StackPanel 
            {
                HorizontalAlignment = HorizontalAlignment.Center,
                VerticalAlignment = VerticalAlignment.Center
            };

            container.AddChild(button);

            Chart.AddControl(container);

            Print(title);
            Print(url);

            string structuretext = string.Format("E7 Trading");
            ChartObjects.DrawText("", "\t" + structuretext, StaticPosition.TopLeft, Colors.Lime);

        }

        public override void Calculate(int index)
        {

        }

        private Style ButtonStyle(Color color, Color hoverColor)
        {
            var style = new Style(DefaultStyles.ButtonStyle);
            style.Set(ControlProperty.BackgroundColor, color, ControlState.DarkTheme);
            style.Set(ControlProperty.BackgroundColor, color, ControlState.LightTheme);
            style.Set(ControlProperty.BackgroundColor, hoverColor, ControlState.DarkTheme | ControlState.Hover);
            style.Set(ControlProperty.BackgroundColor, hoverColor, ControlState.LightTheme | ControlState.Hover);
            style.Set(ControlProperty.ForegroundColor, Color.FromHex("#FFFFFF"), ControlState.DarkTheme);
            style.Set(ControlProperty.ForegroundColor, Color.FromHex("#FFFFFF"), ControlState.LightTheme);
            return style;
        }

        private Color GetColorWithOpacity(Color baseColor, decimal opacity)
        {
            var alpha = (int)Math.Round(byte.MaxValue * opacity, MidpointRounding.AwayFromZero);
            return Color.FromArgb(alpha, baseColor);
        }
    }
}


Gwave's avatar
Gwave

Joined on 26.10.2014

  • Distribution: Paid
  • Language: C#
  • Trading platform: cTrader Automate
  • File name: E7 Harmonic Structures.algo
  • Rating: 0
  • Installs: 614
  • Modified: 04/10/2022 17:48
Comments
Log in to add a comment.
No comments found.