Event news on charts indicators paid
Description
Notification Publishing copyrighted material is strictly prohibited. If you believe there is copyrighted material in this section you may use the Copyright Infringement Notification form to submit a claim.
Formula / Source Code
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) { } } }
Comments