Re: Something interesting please post here (Metatrader)

3632
Jedidiah wrote: Sun Dec 18, 2022 9:43 am eurusd-m30-alpari-international-limited.png

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.
Hi,

This looks great. Does anyone have an MT5 news indicator that will automatically stop EA trading within a time bracket around announcements and close open trades at that time horizon? Thanks


Re: Something interesting please post here (Metatrader)

3640
Trade Assistant MT4 version, working on last MT4 update.

Line function - shows on the chart the Opening line, Stop Loss, Take Profit.
With this function it is easy to set a new order and see its additional characteristics before opening.
Risk management - The risk calculation function calculates the volume for a new order taking into account the set risk and the size of the Stop Loss order.
It allows you to set any size of Stop Loss and at the same time to observe the set risk.
Lot calc button - enables/disables risk calculation.
In the Risk field set the necessary value of risk in percent from 0 to 100 or in the deposit currency.
On the Settings tab select the variant of risk calculation: $ Currency, % Balance, % Equity, % Free Margin, % Custom, % AB prev Day, % AB prev Week, % AB prev Month.

R/TP and R/SL - sets the relation of Take Profit to Stop Loss.
This allows you to set the size of the profit relative to the loss.
For example 1: 1 - this means the size of TP = SL,
2 : 1 - this means that the TP is twice as big as the SL.
RR - on/off the ratio.

Orders management
The panel supports market and pending orders.
Trade time manager - opening or closing by time.
Close position by parts - closes a part of the order as a percentage of the set volume.
Trailing Stop - 7 options for managing Stop Loss orders (in pips, Fractals, MA, Parabolic SAR, ATR, Partial Close, High Low Bar).
Breakeven - moving the Stop Loss to a level without a loss.
Limit Order Trailing - moves the Limit Order following the market price at a distance.
OCO Order - function of cancellation of several pending orders, if one of them is activated.
Virtual pending orders.
Virtual Stop Loss and Take Profit - Hide SL TP.
Closing of positions by order type.
Closing of positions when a specified profit is reached.

Additional functions

Symbol switch - changes the symbol of the current chart (or it is enabled separately for all charts).
Hotkeys - trade functions and chart control are available.
Notification when support and resistance lines are broken.
Screenshot of the chart - when clicking the button on the toolbar or automatically.
These users thanked the author SijjiN for the post (total 8):
Woodyz, charli, amirvaighan1362, rudiarius, ParallelNative, moey_dw, dmnik, Boobligoom


Who is online

Users browsing this forum: Applebot [Crawler], BeatlemaniaSA, talaate, URS and 41 guests