Attachments forums

List of attachments posted on this forum.


All files on forums: 135975

Re: Something interesting please post here (Metatrader)

Jedidiah, Sun Dec 18, 2022 9:42 am

Please check out the Investing.com Economic Calendar indicator with the following usefull options:

TimeZone Selection
Box Alert before event
Country Filter (8 contries and EU)
News Importance Filter(L,M,H)
advanced display settings(flags, background, fonts, subwindow etc)



Code:
input string CalendarDirectory = "Investing.com News"; // Calendar Directory
input string CalendarName = "Investing.com "; // Calendar Name
input int DownloadPause = 120; // Pause Between Downloads(sec)
input ENUM_TIMEZONE TimeMode = 0; // Time Mode
input int TimeZone = 3; // Time Zone
input bool AlertOn = false; // AlertOn
input double AlertTimeGap = 1; // News & Alert Time Gap(min)
input bool PrintInLog = false; // Print in Log
input bool DisplayPanel = true; // Display Information Panel
input bool DisplayFlags = true; // Display Flags Option
input bool DisplayLines = true; // Display Lines Option
input bool DisplayText = false; // Display Text Option
input bool DisplayEvents = true; // Display Events Option
input int LineStyle = 3; // Line Style
input int MaxEventLength = 27; // News Max Length(in symbols)
input bool SaveHTMFormat = false; // Save HTM Format

input string countryFilter = " Currency Filter(None-Off, Color-On): ";

input color EUR = clrPink; // Euro Zone(EUR)
input color USD = clrDodgerBlue; // US(USD)
input color JPY = clrOrange; // Japan(JPY)
input color GBP = clrRed; // UK(GBP)
input color CHF = clrMagenta; // Switzerland(CHF)
input color AUD = clrGreen; // Australia(AUD)
input color CAD = clrTomato; // Canada(CAD)
input color NZD = clrGray; // New Zealand(NZD)
input color CNY = clrOrange; // China(CNY)

input string impFilter = " Importance Filter: ";
input string NewsImportance = "L,M,H"; // News Importance Filter ("" - all)

input string graphSets = " Graph Settings: ";
input int window = 0; // Window: 0-chart window,1-1st subwindow,2-2nd subwindow and so on
input int step_X = 20;
input int step_Y = 20;
input int offset_X = 30;
input int offset_Y = 30;
input string textFontName = "Arial";
input string headFontName = "Arial Black";
input int fontSize = 8;
input color textColor = clrSilver;
input color timeColor = clrSilver;
input color lowImportanceColor = clrLightBlue;
input color medImportanceColor = clrOrange;
input color highImportanceColor = clrRed;
input bool useImportanceColor = false;
input color betterNewsColor = clrGreenYellow; // Better News Color
input color worseNewsColor = clrTomato; // Worse News Color
input uchar upcomNewsArrowCode = 108;
input color upcomNewsArrowColor = clrMediumSeaGreen;
input color backgroundColor = C'0,50,70'; // Background Color: None-off, color-on
input int backgroundBorder = -1; // Background Border: -1-off,0...2-on

Attachment 27504


UPDATES:

2017.09.14 - fixed versions v1.2 600+ uploaded.
2019.02.21 - updated versions v1.3 for MT4 and MT5 uploaded.
All files in topic