ThirdPartyTicks - script for MetaTrader 5

ThirdPartyTicks - script for MetaTrader 5

Third-party applications for MetaTrader 4 allowing to obtain a tick history from various sources have always been popular. This history is typically used in the Strategy Tester for checking the operation of Expert Advisors as well as for conducting research (such as machine learning, etc.). Some sources of quotes discussed by users have become almost standard in the search for a "grail." Criterion The given MQL5 library does not have any
MathCeilRoundFloor - script for MetaTrader 5

MathCeilRoundFloor - script for MetaTrader 5

An example of mathematical functions: MathCeil returns the nearest upper integer; MathRound rounds a number to the nearest integer; MathFloor returns the nearest lower integer. The code: //+------------------------------------------------------------------+
IEEE Floating-Point Decoder - script for MetaTrader 5

IEEE Floating-Point Decoder - script for MetaTrader 5

Display the actual stored value of a floating-point number (float or double type), with very high precision up to 55 decimal digits. This helps to debug exact value of floating-point numbers for other MQL5 programs.
VR Orders History MT5 Lite - script for MetaTrader 5

VR Orders History MT5 Lite - script for MetaTrader 5

VR Orders History MT5 Lite - a script for downloading trading history in the CSV format. The Lite version demonstrates a small part of the source code of the VR Orders History MT5 script. This universal script can run both on hedging and netting accounts. The script divides the report into two stages: The first stage includes existing current positions and deals, which have opened these positions. The second stage includes historical positions
Current Next Futures - script for MetaTrader 5

Current Next Futures - script for MetaTrader 5

The script has three independent functions for determining the current (nearest) FORTS futures. The short name of the futures, such as br, is specified in the script parameters. The script outputs the full name of the previous, current and the next futures. Using these functions, it is easy to create an Expert Advisor that will select the current futures and trade it, both in the strategy tester and on a real account.
LeadLagRelationshipTester - script for MetaTrader 5

LeadLagRelationshipTester - script for MetaTrader 5

Script for checking the LeadLagRelationship indicator, it is intended for sending quotes with a delay. How to check: run the script and indicator with a common communication channel on the same instrument. Set the delay parameter in the script. After accumulating sufficient data, the indicator should show the delay specified in the script. Script Parameters inpTimerPeriod - period of the main timer in milliseconds. inpUseMode - channel mode; 0 -
Statistics of candles - script for MetaTrader 5

Statistics of candles - script for MetaTrader 5

Counting the number of series of bullish and bearish bars. Displaying the result as a chart. Saving the screenshot of the resulting chart. The script uses the CGraphic class. Input Parameters Count of bars - the number of bars (from the rightmost bar on the chart), for which the calculation will be preformed; Verification - the flag for printing the copied timeseries of this symbol and the resulting array of bar series. NOTE: should only be
Statistics of candles 2 - script for MetaTrader 5

Statistics of candles 2 - script for MetaTrader 5

A modification of the Statistics of candles script. Counting the number of series of bullish and bearish bars. Displaying the result as a chart. Saving the screenshot of the resulting chart. The CGraphic class is used. Whats new Now two types of statistics on bar series are available for the Y axis: The number of series (was available in version 1.xxx); Percent of series (new in version 2.xxx). Drawing a smoothed chart (new in 2.xxx). Input
HTML file converter for the economic calendar - script for MetaTrader 5

HTML file converter for the economic calendar - script for MetaTrader 5

The script converts the news page downloaded from http://www.investing.com/economic-calendar to a CSV text file. The source page should be located in C:Users<username>AppDataRoamingMetaQuotesTerminalCommonFiles. The format syntactic parsing of the source file is implemented in this script. The resulting file can be used in MQL4/5 Expert Advisors and indicators. This is a universal script (you can change the extension of the file
History Deals and Orders - script for MetaTrader 5

History Deals and Orders - script for MetaTrader 5

The History Deals and Orders script shows absolutely all properties of deals and orders from the trading history over a given time interval. Data can be displayed in the Experts tab of the terminal, as well as written to a text file (which is saved in [data folder]MQL5Files). If the data is to be written to a text file, the operation algorithm is as follows: At start, first the "InpFileName" file is deleted. Then the new "InpFileName" file is



Latest News

Exclusive: Italian government leaning towards third term for Eni CEO - sources
Today, 18:24
By Giuseppe Fonte, Stephen Jewkes and Giselda Vagnoni ROME/MILAN (Reuters) - The Italian government is leaning toward reappointing Claudio Descalzi as CEO of state-controlled oil firm Eni, provided he will work with a new board to speed up efforts to cut carbon emissions, four senior political sources told Reuters. The largest member of the ruling coalition, the anti-establishment 5-Star Movement, has been highly critical of the veteran oilman ..
Read more

Denmark stocks higher at close of trade; OMX Copenhagen 20 up 0.10%
Today, 18:21
Investing.com – Denmark stocks were higher after the close on Monday, as gains in the Personal & Household Goods, Real Estate and Healthcare sectors led shares higher. At the close in Copenhagen, the OMX Copenhagen 20 added 0.10% to hit a new all time high. The best performers of the session on the OMX Copenhagen 20 were Pandora A/S (CSE:PNDORA), which rose 1.17% or 4.0 points to trade at 345.0 at the close. Meanwhile, Royal Unibrew A/S ..
Read more

Russia's Lavrov, after Pompeo meeting, says felt more constructive U.S. approach
Today, 18:18
MOSCOW (Reuters) - Russian Foreign Minister Sergei Lavrov said on Monday after meeting U.S. Secretary of State Mike Pompeo last week that he had felt a more constructive approach from Washington when it came to the U.S.-Russia strategic dialogue. The two top diplomats met on the sidelines of the Munich Security Conference on Friday in an encounter that neither side has so far spoken about in detail. "I felt certain small moves toward a more ..
Read more

Israel stocks lower at close of trade; TA 35 down 0.16%
Today, 18:15
Investing.com – Israel stocks were lower after the close on Monday, as losses in the Biomed, Oil & Gas and Technology sectors led shares lower. At the close in Tel Aviv, the TA 35 fell 0.16%. The best performers of the session on the TA 35 were Harel (TASE:HARL), which rose 3.36% or 80 points to trade at 2460 at the close. Meanwhile, Airport City Ltd (TASE:ARPT) added 2.45% or 165 points to end at 6890 and Bezeq Israeli Telecommunication Corp ..
Read more

ICC trial in The Hague one option for Sudan's Bashir: minister
Today, 18:12
KHARTOUM (Reuters) - Sudan could send former leader Omar al-Bashir and other suspects to The Hague for trial before the International Criminal Court, but any decision would need approval from military and civilian rulers, the information minister said on Monday. "One possibility is that the ICC will come here so they will be appearing before the ICC in Khartoum, or there will be a hybrid court maybe, or maybe they are going to transfer them ..
Read more

Jackets, Flyers to battle in first game of home-and-home
Today, 18:09
The tables have turned on the formerly white-hot Columbus Blue Jackets, who answered a scintillating 18-2-3 run by dropping five in a row (0-2-3). The Blue Jackets look to avert a season-worst losing streak on Tuesday in the opener of a home-and-home series against the host Philadelphia Flyers. Columbus' latest loss was not for a lack of trying, however. The Blue Jackets unleashed 55 shots on goal in their 4-3 shootout setback to New Jersey ..
Read more

Angels' Trout says he 'lost respect' for Astros
Today, 18:06
Los Angeles Angels star Mike Trout said he "lost respect" for players involved in the Houston Astros' sign-stealing scandal. "They cheated. ... I don't agree with the punishment," Trout told reporters Monday at the Angels' spring training facility in Tempe, Ariz. "I lost respect for some of those guys." A Major League Baseball investigation concluded that the Astros stole signs throughout the 2017 season and continued to do so for ..
Read more

UK PM Johnson's office silent as rivals call for adviser to be sacked
Today, 18:03
LONDON (Reuters) - British Prime Minister Boris Johnson's spokesman refused to comment on Monday when asked about the hiring of an adviser who has discussed the benefits of forced contraception and said data showed the U.S. black population had lower IQ than white people. British media reported that Andrew Sabisky had been hired by Johnson's office to an unspecified role. His appointment drew criticism from rival parties after the Mail ..
Read more

Armed men in military fatigues kill 22 in Cameroon village
Today, 17:27
DOUALA, Cameroon (Reuters) - Gunmen in military fatigues and masks have killed 22 people in a village at the heart of a separatist insurgency in western Cameroon, shooting women and children and burning others in their homes, the United Nations said on Monday. Cameroon's army has since 2017 been fighting English-speaking militias seeking to form a breakaway state called Ambazonia amid the cocoa farms and forests of west Cameroon. As ..
Read more

Snubbed by Gulf, Lebanon's PM Diab hosts Iranian official
Today, 17:24
BEIRUT (Reuters) - Lebanon's Prime Minister Hassan Diab, who is getting the cold shoulder from Gulf Arab states, on Monday met Iran's parliament speaker, the first senior foreign official to visit since Diab's government took office. The heavily armed Hezbollah, an ally of Iran, is a main backer of Diab's cabinet, which took office last month after efforts failed to strike a deal with Saad al-Hariri, a traditional Western ..
Read more
" template="news2" category="16" available="global" from="0" limit="5" order="date" sort="desc" cache="no"}