Category Other  Published on 03/03/2023

Event news on charts indicators

Description
Input parameters

 

 

 

 

 

 

 

 

 

 

 

Links 

contact us at goldclay@gmail.com

 


using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using cAlgo.API;
using cAlgo.API.Collections;
using cAlgo.API.Indicators;
using cAlgo.API.Internals;

namespace cAlgo
{
    [Indicator(IsOverlay = true, TimeZone = TimeZones.UTC, AccessRights = AccessRights.FullAccess)]
    public class NewsIndybyGoldclay : Indicator
    {
        [Parameter("USe UTC+0 timezone:",DefaultValue = true)]
        public bool DefaultUTC { get; set; }

        [Parameter("convert to yr GMT",DefaultValue = "+07:00")]
        public string Gmtint { get; set; }

        [Parameter("1-this sym/today,2-all sym/today,3-define date,4-this sym/everyday,5-all sym/everyday",DefaultValue = 1,MinValue =1,MaxValue =5)]
        public int Valuecase { get; set; }

        [Parameter("Medium show :",DefaultValue = false)]
        public bool ShowMedium { get; set; }
        [Parameter("High show :",DefaultValue = true)]
        public bool ShowHigh { get; set; }

        [Parameter("fill MM-DD-YYYY to check News at date",DefaultValue = "MM-DD-YYYY")]
        public String DefineDate { get; set; }

//Label parameter
        [Parameter("items to show on label",DefaultValue = 3,MaxValue =10)]
        public int Maxlineonlabel { get; set; }
        [Parameter("Vertical position",DefaultValue = VerticalAlignment.Bottom)]
        public VerticalAlignment Ver1 { get; set; }
        [Parameter("Horizontal position",DefaultValue = HorizontalAlignment.Left )]
        public HorizontalAlignment Hor1 { get; set; }
        [Parameter("Text color",DefaultValue = "Brown" )]
        public String Textcolor { get; set; }
//DB
        [Parameter("DB directory",DefaultValue = Environment.SpecialFolder.DesktopDirectory)]
        public Environment.SpecialFolder DBdir { get; set; }
        [Parameter("DB filname",DefaultValue = "newsRedYellow.txt")]
        public String DBfilenamepath { get; set; }

        protected override void Initialize()
        {
                
        }



        public override void Calculate(int index)
        {
        }

        
    }        
}

GO
goldclay

Joined on 27.05.2017

  • Distribution: Paid
  • Language: C#
  • Trading platform: cTrader Automate
  • File name: NewsIndybyGoldclay.algo
  • Rating: 0
  • Installs: 228
  • Modified: 03/03/2023 09:01
Comments
Log in to add a comment.
SH
shandi23 · 1 year ago

Hello ,i am Shandi Cabrera from united states of America and i am supportive,caring and also i have a passionate of true love in my heart. i just went through your profile today on this site then i pick interest in you and i will like us to know each other more to establish a good relationship and please try to write me at (shandiby@gmail.com) then i send you my pictures then introduce myself more better to you ok, thanks.

BU
BuiSaoqsuei901 · 1 year ago

How much time does it take to execute? 

using System;

using System.IO;

using System.Collections.Generic;

using System.Linq;

using System.Text;

using cAlgo.API;

using cAlgo.API.Collections;

using cAlgo.API.Indicators;

using cAlgo.API.Internals;

 

namespace cAlgo

{

    [Indicator(IsOverlay = true, TimeZone = TimeZones.UTC, AccessRights = AccessRights.FullAccess)]

    public class NewsIndybyGoldclay : Indicator

    {

        [Parameter("USe UTC+0 timezone:",DefaultValue = true)]

        public bool DefaultUTC { get; set; }

 

        [Parameter("convert to yr GMT",DefaultValue = "+07:00")]

        public string Gmtint { get; set; }

 

        [Parameter("1-this sym/today,2-all sym/today,3-define date,4-this sym/everyday,5-all sym/everyday",DefaultValue = 1,MinValue =1,MaxValue =5)]

        public int Valuecase { get; set; }

 

        [Parameter("Medium show :",DefaultValue = false)]

        public bool ShowMedium { get; set; }

        [Parameter("High show :",DefaultValue = true)]

        public bool ShowHigh { get; set; }

 

        [Parameter("fill MM-DD-YYYY to check News at date",DefaultValue = "MM-DD-YYYY")]

        public String DefineDate { get; set; }

 

//Label parameter

        [Parameter("items to show on label",DefaultValue = 3,MaxValue =10)]

        public int Maxlineonlabel { get; set; }

        [Parameter("Vertical position",DefaultValue = VerticalAlignment.Bottom)]

        public VerticalAlignment Ver1 { get; set; }

        [Parameter("Horizontal position",DefaultValue = HorizontalAlignment.Left )]

        public HorizontalAlignment Hor1 { get; set; }

        [Parameter("Text color",DefaultValue = "Brown" )]

        public String Textcolor { get; set; } geometry dash unblocked

//DB

        [Parameter("DB directory",DefaultValue = Environment.SpecialFolder.DesktopDirectory)]

        public Environment.SpecialFolder DBdir { get; set; }

        [Parameter("DB filname",DefaultValue = "newsRedYellow.txt")]

        public String DBfilenamepath { get; set; }

 

        protected override void Initialize()

        {

                 

        }

 

 

 

        public override void Calculate(int index)

        {

        }

 

         

    }       

}